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
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"symfony/webpack-encore-bundle": "^1.13",
"symfony/security-core": "^6.0",
"symfony/security-bundle": "^6.0",
"phpstan/phpstan": "^1.5"
"phpstan/phpstan": "^1.5",
"phpstan/phpstan-phpunit": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down
5 changes: 4 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon

parameters:
level: 1
paths:
- src
- tests
bootstrapFiles:
- vendor/bin/.phpunit/phpunit-9.5-0/vendor/autoload.php
- vendor/autoload.php
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<php>
<server name="KERNEL_CLASS" value="whatwedo\TableBundle\Tests\App\Kernel"/>
<server name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
<env name="DATABASE_URL" value="mysql://root:root@mariadb:3306/table_bundle" />

</php>
Expand Down
Loading