Tomas Votruba
c747b603a3
Updated Rector to commit ce1033d8e6434f3111307dd274dec753eb6481b1
...
ce1033d8e6
Fixes typo in FinalizeTestCaseClassRector.php (#5850 )
2024-04-30 12:43:57 +00:00
Tomas Votruba
dcd788c4dd
Updated Rector to commit 2d1f468bc6e41bc84dc273c8ac94033b60761a76
...
2d1f468bc6
[Privatization] Skip with suffix "TestCase" on FinalizeTestCaseClassRector (#5660 )
2024-02-23 13:06:33 +00:00
Tomas Votruba
8e25ebe2a2
Updated Rector to commit ba1cad35898880f6de97c9743aab96d2ac90ba73
...
ba1cad3589
[Privatization] Fix reprint with attribute on FinalizeTestCaseClassRector (#5557 )
2024-02-04 21:10:29 +00:00
Tomas Votruba
22c18b8179
Updated Rector to commit f03a6fd7d060535a5c124fe461190aafc527364e
...
f03a6fd7d0
[Privatization] Add FinalizeTestCaseClassRector (#5539 )
2024-01-31 23:36:35 +00:00
Tomas Votruba
dc77b4b2a6
Updated Rector to commit cbc077340ed5ee4a062caa32ab91cd8cb0d4ec6e
...
cbc077340e
[stabilize] Deprecate FinalizeClassesWithoutChildrenRector as causing bugs without full context (#5535 )
2024-01-31 21:40:00 +00:00
Tomas Votruba
ec3d78eef4
Updated Rector to commit 5a3a59c50c7810296274eb4408737c8f2f8921e7
...
5a3a59c50c
Remove collectors, as performance very costly and not practically useful (#5470 )
2024-01-15 22:10:40 +00:00
Tomas Votruba
1daa932d00
Updated Rector to commit 5c0397910fbd9735c375c4632ec116ebe8609f25
...
5c0397910f
Add missing rule doc (#5426 )
2024-01-02 21:38:33 +00:00
Tomas Votruba
7e7a2f067a
Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
...
476cfb00cb
disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
7ba32aac1f
Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
...
e12c73eb33
[psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407 )
2024-01-01 00:20:45 +00:00
Tomas Votruba
c520a88733
Updated Rector to commit cd9ea2c717511f81e7bb7298a62f8ea558441a37
...
cd9ea2c717
[Privatization] Fix first class callable in PrivatizeLocalGetterToPropertyRector (#5310 )
2023-12-02 13:42:50 +00:00
Tomas Votruba
de5ec400ca
Updated Rector to commit aac9573e0ef040c236a569a9cbbe965af61ab0b8
...
aac9573e0e
[Privatization] Skip call non-private method on non-final class on PrivatizeLocalGetterToPropertyRector (#5309 )
2023-12-02 08:58:47 +00:00
Tomas Votruba
c5421dfd82
Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
...
e48234e239
Skip RenameMethodRector in never (#5305 )
2023-12-01 09:49:11 +00:00
Tomas Votruba
c92985cc7e
Updated Rector to commit d864d7b856e7bb8b7e98db96793ceb1036c1bf7b
...
d864d7b856
[Privatization] Skip method with parent call (#5283 )
2023-11-23 16:52:05 +00:00
Tomas Votruba
184cf49468
Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
...
f9de5d311e
[Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219 )
2023-11-02 03:20:18 +00:00
Tomas Votruba
671f50c702
Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
...
ee71539694
[NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099 )
2023-10-01 01:36:35 +00:00
Tomas Votruba
95d1af621f
Updated Rector to commit 640a49bb8dded439c57723ea4d047f1c9782b78f
...
640a49bb8d
move collectors to src/Collector namespace for easy discovery, add MockedClassCollector (#5055 )
2023-09-30 09:19:11 +00:00
Tomas Votruba
4ea05c5a5f
Updated Rector to commit e530fc1e1a98faa22509115e79de5e5f2997208d
...
e530fc1e1a
Introducing Collectors - final step 🥳 - processing collected data + test case (#4970 )
2023-09-19 11:53:28 +00:00
Tomas Votruba
f73bcd4ef8
Updated Rector to commit c97e4ffb0534d388b5f51508491916f54d3f342a
...
c97e4ffb05
[Naming] Remove matchesStringName() check completely from NodeNameResolver, including endsWith() method - use getName() and compare directly instead (#4954 )
2023-09-09 22:49:40 +00:00
Tomas Votruba
81d65055b2
Updated Rector to commit 2d5d72f3ba66a63acb991107ba763e147c9840f4
...
2d5d72f3ba
[Naming] Introduce startsWith() to acompany endsWith() naming check (#4953 )
2023-09-09 14:19:44 +00:00
Tomas Votruba
7540a5e283
Updated Rector to commit 9a322af593a3ed9de20a535f613ed25e12ecc823
...
9a322af593
BC: Separated regex matching in NodeNameResolver->isName() (#4951 )
2023-09-09 14:08:25 +00:00
Tomas Votruba
57bd04e032
Updated Rector to commit f45662a829357b0c98532611fce4c250459f54b7
...
f45662a829
[Privatization] Skip parent class unknown on PrivatizeFinalClassMethodRector (#4671 )
2023-08-06 09:53:01 +00:00
Tomas Votruba
855f7c2503
Updated Rector to commit 50a5bb4057387d3053c5ea1ecf22286ea04dff36
...
50a5bb4057
[BUGFIX] Ensure proper reprint with attributes for finalized classes (#4585 )
2023-07-23 09:42:10 +00:00
Tomas Votruba
4d62037b71
Updated Rector to commit 0893df020e01529a72933efee0c085752e24c4d2
...
0893df020e
Skip rewindable generator (#4282 )
2023-06-19 11:00:56 +00:00
Tomas Votruba
503a6059f8
Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
...
a8922f7431
skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7
Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
...
bb609b28e3
[Core] Always reset stopTraversal to false on next Rector visit (#4182 )
2023-06-11 14:17:34 +00:00
Tomas Votruba
2886ec2c81
Updated Rector to commit 5ba083c88dc02a30a03ecb2fc5925caa2d2f88c0
...
5ba083c88d
Remove parent node fetch (#4143 )
2023-06-09 17:42:49 +00:00
Tomas Votruba
a48c21e135
Updated Rector to commit ebfe96b4e08b26439c2341cd45e87a7bc5f314fb
...
ebfe96b4e0
Drop AttributeKey::SCOPE in ClassMethodReturnTypeOverrideGuard (#4144 )
2023-06-09 17:30:44 +00:00
Tomas Votruba
bc14b9b983
Updated Rector to commit 0f100f0ec5c9f54afa8eafda0e7f2ce78c738529
...
0f100f0ec5
Drop AttributeKey::SCOPE in PrivatizeFinalClassMethodRector (#4140 )
2023-06-09 17:06:47 +00:00
Tomas Votruba
368e973125
Updated Rector to commit be31c8faec553f9247f3c0d810648ec22b91b827
...
be31c8faec
Remove ChangeGlobalVariablesToPropertiesRector as the scope might change after the variable is defined, better handle with PHPStan (#4086 )
2023-06-05 14:37:00 +00:00
Tomas Votruba
df2ad70dd3
Updated Rector to commit 4c782243fdb6b03474faa0076800048cb3ef0de9
...
4c782243fd
Remove ChangeReadOnlyPropertyWithDefaultValueToConstantRector as overly detailed checks, better use PHPStan and refactor individually (#4028 )
2023-05-30 13:09:27 +00:00
Tomas Votruba
1b08d37c26
Updated Rector to commit f15cbd7a7d1913287cf67fa9ee2311ebee11cae3
...
f15cbd7a7d
Remove PARENT_NODE from RemoveUnusedConstructorParamRector (#4014 )
2023-05-29 09:38:38 +00:00
Tomas Votruba
9b4ae51505
Updated Rector to commit 4d4c73d5957cd03b26d4a7f6b6b3e209f4506cd3
...
4d4c73d595
[automated] Apply Coding Standard (#3998 )
2023-05-28 00:32:17 +00:00
Tomas Votruba
1ba4e98604
Updated Rector to commit a73aa4e226b74463ba3025dfe3e8bf11bb07a953
...
a73aa4e226
[Performance] Reduce resolveClassReflection() on PrivatizeFinalClassPropertyRector (#3994 )
2023-05-27 15:56:25 +00:00
Tomas Votruba
ea8041895c
Updated Rector to commit ebe2a37fe2c0c387e655259548ab7a6f76b3f298
...
ebe2a37fe2
[Php74][Privatization] Refactor ParentPropertyLookupGuard to use ClassReflection to reduce IO (#3993 )
2023-05-27 15:46:25 +00:00
Tomas Votruba
d48ca72a44
Updated Rector to commit d9908088500d235348a84de13f96823bc03b4706
...
d990808850
Remove PARENT_NODE from PseudoNamespaceToNamespaceRector (#3988 )
2023-05-27 10:31:41 +00:00
Tomas Votruba
2a39baa0c1
Updated Rector to commit 179b5cba82257fd1d310301679a1913db458809e
...
179b5cba82
Make ChangeGlobalVariablesToPropertiesRector add properties directly, remove Nette inject methods (#3957 )
2023-05-24 18:48:59 +00:00
Tomas Votruba
eb3e6c221d
Updated Rector to commit ce12406878b202f9ceb1506a546e732ab1ca2716
...
ce12406878
Remove ChangeReadOnlyVariableWithDefaultValueToConstantRector overly complex and risky, better job for PHPStan (#3954 )
2023-05-24 15:09:06 +00:00
Tomas Votruba
33a05b3e73
Updated Rector to commit 07a7876d8a4c93097c966730acbc4aeb7d9e1765
...
07a7876d8a
[CodingStyle] Remove OrderAttributesRector, as rather coding standard and does not have specific PSR example (#3838 )
2023-05-14 13:22:44 +00:00
Tomas Votruba
f613b7a98a
Updated Rector to commit 499fdbc3af1779929444c170a778678e28be957a
...
499fdbc3af
Drop AttributeKey::SCOPE in various classes (#3836 )
2023-05-14 10:01:33 +00:00
Tomas Votruba
6a4afec13c
Updated Rector to commit 7b3612414201f08bb451d15ea3e1b94e4b61a0a8
...
7b36124142
Fix ChangeReadOnlyVariableWithDefaultValueToConstantRector for dupicated variable override (#3830 )
2023-05-14 00:09:02 +00:00
Tomas Votruba
8178893c28
Updated Rector to commit c260d97de91a056449703ddea5641aba179703b1
...
c260d97de9
[Privatization] Remove parent attribute usage on PrivatizeFinalClassMethodRector (#3526 )
2023-03-27 18:32:49 +00:00
Tomas Votruba
0b3c5d9bcc
Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
...
f22ddc8f18
Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513 )
2023-03-23 23:21:34 +00:00
Tomas Votruba
f2707dea96
Updated Rector to commit c9a621de856eac0be037169c3c07c1b279b3cc9f
...
c9a621de85
[Privatization] Remove ReplaceStringWithClassConstantRector as rather dynamic and can lead to unexpected results (#3443 )
2023-03-03 03:15:36 +00:00
Tomas Votruba
7d0f151a40
Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
...
a2cd7283fb
Typo fix comment php 7.3 compat on rector workflow (#3432 )
2023-03-01 13:00:30 +00:00
Tomas Votruba
88cbdce92d
Updated Rector to commit fe3c6ff324a814101fdc2f489980ceb9fa219322
...
fe3c6ff324
[Privatization] Fix crash on assign inside Arg on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#3423 )
2023-02-28 15:26:15 +00:00
Tomas Votruba
66cc09e8b6
Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
...
d118ae38e2
Use phpstan-deprecation-rules (#3330 )
2023-02-02 09:24:12 +00:00
Tomas Votruba
f0db3872cf
Updated Rector to commit b91f35ff6e833e2abb6591044309984549f0b539
...
b91f35ff6e
Fix FinalizeClassesWithoutChildrenRector for changed class, use more reliable reflection to detect Doctrine attributes (#3276 )
2023-01-13 15:37:04 +00:00
Tomas Votruba
764b0a2692
Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
...
cb5b01223d
[automated] Re-Generate Nodes/Rectors Documentation (#3259 )
2023-01-01 00:36:31 +00:00
Tomas Votruba
f5dcbb18c6
Updated Rector to commit 55c9472f44600ac55e0064ae83e2098539c473f6
...
55c9472f44
[Privatization] Optimize ParentPropertyLookupGuard, make parameter required (#3252 )
2022-12-25 10:56:01 +00:00
Tomas Votruba
5c3e98d25a
Updated Rector to commit bea2e12a6d6e7a7b1eb1f7b6f82a0ec1e7c21f2c
...
bea2e12a6d
[Privatization][TypeDeclaration] Skip inside class with @final docblock on PrivatizeFinalClassMethodRector and AddVoidReturnTypeWhereNoReturnRector (#3190 )
2022-12-12 08:02:46 +00:00