Skip to content

Commit 45b231b

Browse files
committed
Move phpunit file to new location
We only test code from within the webapp folder so put this closer to the code.
1 parent 6928dde commit 45b231b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: .github/jobs/composer_setup.sh
1919
- uses: php-actions/phpstan@v3
2020
with:
21-
configuration: phpstan.dist.neon
21+
configuration: webapp/phpstan.dist.neon
2222
path: webapp/src webapp/tests
2323
php_extensions: gd intl mysqli pcntl zip
2424
autoload_file: webapp/vendor/autoload.php
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
parameters:
22
level: 6
33
paths:
4-
- webapp/src
5-
- webapp/tests
4+
- src
5+
- tests
66
excludePaths:
7-
- webapp/src/Utils/Adminer.php
7+
- src/Utils/Adminer.php
88
ignoreErrors:
99
-
1010
message: '#Method .* return type has no value type specified in iterable type array#'
11-
path: webapp/tests
11+
path: tests
1212
-
1313
message: '#Method .* has parameter .* with no value type specified in iterable type array#'
14-
path: webapp/tests
14+
path: tests
1515
-
1616
message: '#Property .* type has no value type specified in iterable type array#'
17-
path: webapp/tests
17+
path: tests
1818
-
1919
message: '#PHPDoc tag @var for variable .* has no value type specified in iterable type array#'
20-
path: webapp/tests
20+
path: tests
2121
-
2222
message: "#Method .* return type has no value type specified in iterable type array#"
23-
path: webapp/src/DataFixtures/Test
23+
path: src/DataFixtures/Test
2424
includes:
25-
- webapp/vendor/phpstan/phpstan-doctrine/extension.neon
25+
- vendor/phpstan/phpstan-doctrine/extension.neon

0 commit comments

Comments
 (0)