Skip to content

[WIP] Symfony 4.0 & Flex demo #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $finder = PhpCsFixer\Finder::create()
->exclude('var')
->exclude('public/bundles')
->exclude('public/build')
->exclude('tests') // Codeception & Symfony coding standards are different
;

return PhpCsFixer\Config::create()
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ before_install:
install:
- composer install
- ./vendor/bin/simple-phpunit install
- ./vendor/bin/codecept build

script:
- ./vendor/bin/simple-phpunit
- ./vendor/bin/codecept run
# this checks that the source code follows the Symfony Code Syntax rules
- '[[ "$TRAVIS_PHP_VERSION" == "nightly" ]] || ./vendor/bin/php-cs-fixer fix --diff --dry-run -v'
# this checks that the YAML config files contain no syntax errors
Expand Down
13 changes: 13 additions & 0 deletions codeception.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace: App\Tests
paths:
tests: tests
output: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
actor_suffix: Tester
extensions:
enabled:
- Codeception\Extension\RunFailed
params:
- .env
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"white-october/pagerfanta-bundle": "^1.1"
},
"require-dev": {
"codeception/codeception": "2.3.x-dev",
"dama/doctrine-test-bundle": "^4.0",
"friendsofphp/php-cs-fixer": "^2.7",
"symfony/browser-kit": "^4.0",
Expand All @@ -39,7 +40,8 @@
"symfony/phpunit-bridge": "^4.0",
"symfony/profiler-pack": "^1.0",
"symfony/var-dumper": "^4.0",
"symfony/web-server-bundle": "^4.0"
"symfony/web-server-bundle": "^4.0",
"vlucas/phpdotenv": "^2.4"
},
"config": {
"platform": {
Expand Down
Loading