Skip to content

Commit

Permalink
Merge pull request #84 from okgreece/develop/1
Browse files Browse the repository at this point in the history
Develop/1
  • Loading branch information
skarampatakis authored Apr 18, 2018
2 parents 7535503 + 4ec2924 commit 43577a3
Show file tree
Hide file tree
Showing 164 changed files with 142,958 additions and 7,288 deletions.
10 changes: 10 additions & 0 deletions .env.travis
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
APP_ENV=testing
APP_KEY=SomeRandomStringSomeRandomString

DB_CONNECTION=testing
DB_TEST_USERNAME=root
DB_TEST_PASSWORD=

CACHE_DRIVER=array
SESSION_DRIVER=array
QUEUE_DRIVER=sync
25 changes: 25 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
$excluded_folders = [
'node_modules',
'storage',
'vendor'
];
$finder = PhpCsFixer\Finder::create()
->exclude($excluded_folders)
->notName('AcceptanceTester.php')
->notName('FunctionalTester.php')
->notName('UnitTester.php')
->in(__DIR__);
;
return PhpCsFixer\Config::create()
->setRules(array(
'@Symfony' => true,
'binary_operator_spaces' => ['align_double_arrow' => true],
'array_syntax' => ['syntax' => 'short'],
'linebreak_after_opening_tag' => true,
'not_operator_with_successor_space' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
))
->setFinder($finder)
;
18 changes: 18 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
preset: laravel

enabled:
- alpha_ordered_imports

disabled:
- length_ordered_imports

finder:
exclude:
- "tests"
- "node_modules"
- "storage"
- "vendor"
not-name:
- "AcceptanceTester.php"
- "FunctionalTester.php"
- "UnitTester.php"
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: php

php:
- 7.2

before_script:
- cp .env.travis .env
- composer self-update
- composer install --prefer-source --no-interaction --dev
- php artisan key:generate
- php artisan migrate

before_install:
- mysql -e 'CREATE DATABASE homestead;'

services:
- mysql

addons:
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server

dist: trusty

sudo: required
Loading

0 comments on commit 43577a3

Please sign in to comment.