File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
TypeDeclaration/Rector/StmtsAwareInterface Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function resolvePrefix(Use_|GroupUse $use): string
5757 : '' ;
5858 }
5959
60- private function resolveNamespace (): Namespace_ |FileNode | null
60+ private function resolveNamespace (): Namespace_ |null
6161 {
6262 /** @var File|null $file */
6363 $ file = $ this ->currentFileProvider ->getFile ();
Original file line number Diff line number Diff line change @@ -67,10 +67,14 @@ public function getNodeTypes(): array
6767 public function refactor (Node $ node ): ?Node
6868 {
6969 throw new ShouldNotHappenException (sprintf (
70+ <<<<<<< HEAD
7071<<<<<<< HEAD
7172 '"%s" is deprecated as changes strict types randomly on each run.. Use "%s" Rector on specific paths instead. ' ,
7273=======
7374 'This rule is deprecated as behaves very randomly and keeps adding strict types on new run Cannot be automated.
75+ =======
76+ ' The "%s " rule is deprecated as behaves very randomly and keeps adding strict types on new run Cannot be automated .
77+ >>>>>>> a0bb7b3a1a (update use resolving)
7478 * Use %s on specific paths instead narrow control',
7579>>>>>>> 595 b685f3e (introduce FileNode to handle file-level changes; deprecate IncreaseDeclareStrictTypesRector)
7680 self ::class,
@@ -84,9 +88,12 @@ public function refactor(Node $node): ?Node
8488 public function configure (array $ configuration ): void
8589 {
8690<<<<<<< HEAD
91+ <<<<<<< HEAD
8792=======
8893 Assert::keyExists ($ configuration , self ::LIMIT );
8994 $ this ->limit = (int ) $ configuration [self ::LIMIT ];
9095>>>>>>> 595 b685f3e (introduce FileNode to handle file-level changes; deprecate IncreaseDeclareStrictTypesRector)
96+ =======
97+ >>>>>>> a0bb7b3a1a (update use resolving)
9198 }
9299}
You can’t perform that action at this time.
0 commit comments