Skip to content

Commit 1397a87

Browse files
committed
Fix workflows
1 parent 75c0eaf commit 1397a87

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ jobs:
6464
6565
- name: Analyze for refactoring
6666
run: |
67-
composer global require --dev rector/rector:^0.12.10
67+
composer global require --dev rector/rector:dev-main
6868
rector process --dry-run --no-progress-bar

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
convertErrorsToExceptions="true"
1111
convertNoticesToExceptions="true"
1212
convertWarningsToExceptions="true"
13-
executionOrder="random"
1413
failOnRisky="true"
1514
failOnWarning="true"
1615
stopOnError="false"

rector.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@
7777
__DIR__ . '/tests',
7878
],
7979

80+
// Ignore files that should not be namespaced
81+
NormalizeNamespaceByPSR4ComposerAutoloadRector::class => [
82+
__DIR__ . '/src/Helpers',
83+
],
84+
8085
// May load view files directly when detecting classes
8186
StringClassNameToClassConstantRector::class,
8287

0 commit comments

Comments
 (0)