Skip to content

Commit fed6e4a

Browse files
authored
chore: fix rector with bamarni (#1018)
1 parent 545cf18 commit fed6e4a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/test-rector-rules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ jobs:
3939
shell: bash
4040

4141
- name: Static analysis
42-
run: bin/tools/rector/vendor/phpstan/phpstan/phpstan analyse -c utils/rector/phpstan.neon
42+
run: bin/tools/phpstan/vendor/phpstan/phpstan/phpstan analyse -c utils/rector/phpstan.neon
4343
shell: bash

.roave-backward-compatibility-check.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
<ignored-regex>#\[BC\] SKIPPED: Roave\\BetterReflection\\Reflection\\ReflectionClass "Rector\\Rector\\AbstractRector" could not be found in the located source#</ignored-regex>
77
<ignored-regex>#\[BC\] SKIPPED: Roave\\BetterReflection\\Reflection\\ReflectionClass "Psalm\\Plugin\\PluginEntryPointInterface" could not be found in the located source#</ignored-regex>
88
<ignored-regex>#\[BC\] SKIPPED: Roave\\BetterReflection\\Reflection\\ReflectionClass "Psalm\\Plugin\\EventHandler\\AfterMethodCallAnalysisInterface" could not be found in the located source#</ignored-regex>
9+
<ignored-regex>#(.*)Zenstruck\\Foundry\\Utils\\Rector(.*)#</ignored-regex>
910
</baseline>
1011
</roave-bc-check>

utils/rector/phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ parameters:
66
- ./tests
77
level: 8
88
bootstrapFiles:
9-
- ./../../vendor/autoload.php
9+
- ./tests/bootstrap.php
1010
excludePaths:
1111
- ./tests/Fixtures

0 commit comments

Comments
 (0)