Skip to content

Commit 2453a2e

Browse files
authored
Merge pull request #400 from mglaman/tempfix-parent-removed
Enable richParserNodeVisitor for tests
2 parents 2c72ac6 + eecbfc6 commit 2453a2e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: "Install dependencies"
7575
run: "composer update --no-progress --prefer-dist"
7676
- name: "PHPUnit"
77-
run: "php vendor/bin/phpunit --debug"
77+
run: "php vendor/bin/phpunit"
7878

7979
build_integration:
8080
needs:

tests/fixtures/config/phpunit-drupal-phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ includes:
1717
- ../../../extension.neon
1818
- ../../../rules.neon
1919
- ../../../vendor/phpstan/phpstan-deprecation-rules/rules.neon
20+
# @todo remove after https://github.com/mglaman/phpstan-drupal/issues/399.
21+
conditionalTags:
22+
PhpParser\NodeVisitor\NodeConnectingVisitor:
23+
phpstan.parser.richParserNodeVisitor: true

0 commit comments

Comments
 (0)