mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Make PHPStan passing
This commit is contained in:
parent
791d5f6724
commit
4948f4e26e
2 changed files with 4 additions and 2 deletions
|
|
@ -5,7 +5,8 @@ source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/application.
|
|||
|
||||
print_header "Setting the application up" "Sylius"
|
||||
run_command "bin/console doctrine:database:create --env=test_cached -vvv" || exit $? # Have to be run with debug = true, to omit generating proxies before setting up the database
|
||||
run_command "bin/console cache:warmup --env=test_cached --no-debug -vvv" || exit $?
|
||||
run_command "bin/console cache:warmup --env=dev -vvv" || exit $? # For PHPStan
|
||||
run_command "bin/console cache:warmup --env=test_cached --no-debug -vvv" || exit $? # For tests
|
||||
run_command "bin/console doctrine:migrations:migrate --no-interaction --env=test_cached --no-debug -vvv" || exit $?
|
||||
|
||||
print_header "Setting the web assets up" "Sylius"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ parameters:
|
|||
reportUnmatchedIgnoredErrors: false
|
||||
|
||||
symfony:
|
||||
container_xml_path: var/cache/dev/srcDevDebugProjectContainer.php
|
||||
container_xml_path: var/cache/dev/srcDevDebugProjectContainer.xml
|
||||
|
||||
excludes_analyse:
|
||||
# Makes PHPStan crash
|
||||
|
|
@ -17,6 +17,7 @@ parameters:
|
|||
- '**/spec/**.php'
|
||||
- '**/Bundle/*/test/app/**.php'
|
||||
- '**/Bundle/*/test/src/**.php'
|
||||
- '**/Bundle/*/Tests/Functional/app/**.php'
|
||||
|
||||
# These packages aren't in require-dev of the global package
|
||||
- '**MongoDB**'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue