Skip to content
Open
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/app/config/parameters.yml
/build/
/phpunit.xml
.phpunit.cache
/var/*
!/var/cache
/var/cache/*
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ install:
php bin/console assets:install --symlink web

phpstan:
php vendor/bin/phpstan --memory-limit=-1 --verbose analyze src --level 0
php vendor/bin/phpstan --memory-limit=-1 --verbose analyze src --level 3

test:
vendor/bin/phpstan analyze src --level 7
phpunit:
php vendor/bin/phpunit

test: phpstan phpunit
5 changes: 5 additions & 0 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,13 @@ stof_doctrine_extensions:

fos_rest:
routing_loader: false
body_listener: false

nelmio_api_doc:
sandbox:
request_format:
method: accept_header

sensio_framework_extra:
router:
annotations: false
2 changes: 1 addition & 1 deletion app/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:

AppBundle\:
resource: '../../src/AppBundle/*'
exclude: '../../src/AppBundle/{Behavior,DataFixtures,DQL,Entity,Repository,Resources}'
exclude: '../../src/AppBundle/{Behavior,DQL,Entity,Repository,Resources}'

AppBundle\EventListener\DecklistListener:
tags:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"twig/twig": "^1.0||^2.0"
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.0",
"phpunit/phpunit": "^9.6",
"sensio/generator-bundle": "^3.0",
"symfony/phpunit-bridge": "^3.0"
},
Expand Down
Loading