Skip to content

Commit

Permalink
Move phpunit file to new location
Browse files Browse the repository at this point in the history
We only test code from within the webapp folder so put this closer to
the code.
  • Loading branch information
vmcj committed Jul 7, 2024
1 parent 9bb2023 commit 00c45ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: .github/jobs/composer_setup.sh
- uses: php-actions/phpstan@v3
with:
configuration: phpstan.dist.neon
configuration: webapp/phpstan.dist.neon
path: webapp/src webapp/tests
php_extensions: gd intl mysqli pcntl zip
autoload_file: webapp/vendor/autoload.php
Expand Down
18 changes: 9 additions & 9 deletions phpstan.dist.neon → webapp/phpstan.dist.neon
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
parameters:
level: 6
paths:
- webapp/src
- webapp/tests
- src
- tests
excludePaths:
- webapp/src/Utils/Adminer.php
- src/Utils/Adminer.php
ignoreErrors:
-
message: '#Method .* return type has no value type specified in iterable type array#'
path: webapp/tests
path: tests
-
message: '#Method .* has parameter .* with no value type specified in iterable type array#'
path: webapp/tests
path: tests
-
message: '#Property .* type has no value type specified in iterable type array#'
path: webapp/tests
path: tests
-
message: '#PHPDoc tag @var for variable .* has no value type specified in iterable type array#'
path: webapp/tests
path: tests
-
message: "#Method .* return type has no value type specified in iterable type array#"
path: webapp/src/DataFixtures/Test
path: src/DataFixtures/Test
includes:
- webapp/vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-doctrine/extension.neon

0 comments on commit 00c45ba

Please sign in to comment.