Skip to content

Commit

Permalink
Fixes for rector 0.19
Browse files Browse the repository at this point in the history
Rector\Core -> Rector
Added NodeTraverser::REMOVE_NODE to phpstan baseline since new constant is not yet available.
Fixed codestyle
  • Loading branch information
bbrala committed Jan 11, 2024
1 parent db8ee10 commit 7c10a8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,11 @@ parameters:
message: "#^Call to an undefined method PHPStan\\\\Type\\\\Type\\:\\:getValue\\(\\)\\.$#"
count: 1
path: src/Drupal9/Rector/Deprecation/ExtensionPathRector.php

-
message: """
#^Fetching deprecated class constant REMOVE_NODE of class PhpParser\\\\NodeTraverser\\:
Use NodeVisitor\\:\\:REMOVE_NODE instead\\.$#
"""
count: 1
path: src/Drupal9/Rector/Deprecation/PassRector.php

0 comments on commit 7c10a8c

Please sign in to comment.