Tomas Votruba
801e9accb8
Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
...
6bff51172c
[e2e] Add e2e for polyfill in composer require provided (#5392 )
2023-12-26 14:45:38 +00:00
Tomas Votruba
a8c5484976
Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
...
6bff51172c
[e2e] Add e2e for polyfill in composer require provided (#5392 )
2023-12-26 12:13:04 +00:00
Tomas Votruba
24ab7232bb
Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
...
6bff51172c
[e2e] Add e2e for polyfill in composer require provided (#5392 )
2023-12-25 17:21:11 +00:00
Tomas Votruba
8775d2e083
Updated Rector to commit ebb2d2df55887c25f74af39b400194039dff78d4
...
ebb2d2df55
[DX] Add "Related polyfill" feature to upgrade based on used symfony/polyfill-* packages (#5388 )
2023-12-24 12:52:27 +00:00
Tomas Votruba
e153ed98e6
Updated Rector to commit c6ca4f1f5ccdf73d9aa0f8f441267725e07aee67
...
c6ca4f1f5c
[Performance][TypeDeclaration] Avoid using AstResolver on class is on same file on AllAssignNodePropertyTypeInferer (#5387 )
2023-12-24 08:15:26 +00:00
Tomas Votruba
80dad1d8c8
Updated Rector to commit a644d0d4a2f1e457f77cf8e384fd32b78b5ff388
...
a644d0d4a2
[Arguments] Allow no default value on ArgumentAdderRector (#5382 )
2023-12-23 19:44:26 +00:00
Tomas Votruba
a4aba10ad7
Updated Rector to commit 3cef752763be750ea221c5c5eb1681d27398a3d5
...
3cef752763
Skip classes without final and exception as possibly invoke child implement in AddVoidReturnTypeWhereNoReturnRector (#5381 )
2023-12-23 15:28:34 +00:00
Tomas Votruba
94baa5fede
Updated Rector to commit 8df2120b3f546dd7f0eb89bf199a042dfc9283e7
...
8df2120b3f
Skip void without final keyword in ReturnNeverTypeRector as could be implemented with more precise children (#5379 )
2023-12-23 14:51:47 +00:00
Tomas Votruba
1ce9a4da5a
Updated Rector to commit c2c6558cde8138d5509b306bd499e013ac5da2e9
...
c2c6558cde
[TypeDeclaration] Allow add void return type on magic __invoke() method on AddVoidReturnTypeWhereNoReturnRector (#5376 )
2023-12-22 17:39:40 +00:00
Tomas Votruba
4e82e891c9
Updated Rector to commit 7ca4de097ed6b2f0f2b20a8f2b55ea2121120173
...
7ca4de097e
[DeadCode] Skip nullable array on RemoveUnusedNonEmptyArrayBeforeForeachRector (#5375 )
2023-12-22 07:54:11 +00:00
Tomas Votruba
949ab12adb
Updated Rector to commit 7ca4de097ed6b2f0f2b20a8f2b55ea2121120173
...
7ca4de097e
[DeadCode] Skip nullable array on RemoveUnusedNonEmptyArrayBeforeForeachRector (#5375 )
2023-12-21 15:22:15 +00:00
Tomas Votruba
f8011a76d3
Rector 0.18.13
2023-12-20 16:08:01 +00:00
Tomas Votruba
168d6a72a1
Updated Rector to commit 120e0ccfc40bc696d23a9e1d93b6662ea7dfa682
...
120e0ccfc4
Bump to php parser 4.18 (#5362 )
2023-12-16 15:55:14 +00:00
Tomas Votruba
bd56d13367
Updated Rector to commit 39cce5ccb84ce4ac40eeae113db339a961db9489
...
39cce5ccb8
[ECS] Skip SelfAccessorFixer on *Rector.php to skip example code for using using self:: (#5363 )
2023-12-16 15:42:57 +00:00
Tomas Votruba
7bf2453858
Updated Rector to commit 227e97477c44de40c165bba4b72e48dd954151d5
...
227e97477c
[Transform] Do not create a new node if the existing node is already the correct one on AttributeKeyToClassConstFetchRector (#5328 )
2023-12-16 02:55:33 +00:00
Tomas Votruba
90b260693b
Updated Rector to commit 589bda6cd1eb7bc6cdc68313facc02cae41ba628
...
589bda6cd1
[Naming] Skip `$this` in RenameForeachValueVariableToMatchExprVariableRector (#5360 )
2023-12-15 10:14:01 +00:00
Tomas Votruba
b571b1cd51
Updated Rector to commit 0817980433aaf92d2b71e4d9804ec1988afbf908
...
0817980433
[TypeDeclaration] Return new static from different object on ReturnTypeFromStrictTypedCallRector (#5357 )
2023-12-13 13:01:03 +00:00
Tomas Votruba
39e43b6cca
Updated Rector to commit dc9573d9bd60ec966db626be91c13cc6a5c4bbef
...
dc9573d9bd
[Php55] Make StringClassNameToClassConstantRector configurable to keep first pre-backslash string configurable (#5354 )
2023-12-11 13:06:54 +00:00
Tomas Votruba
fffe49e4aa
Updated Rector to commit 287eab3a7040f8d42fa10701d5fbfc2998fdcc25
...
287eab3a70
[DeadCode] Add RemoveNullTagValueNodeRector (#5352 )
2023-12-10 16:32:52 +00:00
Tomas Votruba
e86b6d37a6
Updated Rector to commit d22741edaf63d488b39f7754353b0ea8cc454836
...
d22741edaf
[TypeDeclaration] Fix missing change type to DateTimeInterface on MergeDateTimePropertyTypeDeclarationRector (#5329 )
2023-12-05 21:03:16 +00:00
Tomas Votruba
13aada9fdc
Updated Rector to commit b1a50d4c785b9fc1498bcd843e58635350e10114
...
b1a50d4c78
[TypeDeclaration] Add MergeDateTimePropertyTypeDeclarationRector (#5327 )
2023-12-05 14:01:18 +00:00
Tomas Votruba
ab4ff53673
Updated Rector to commit 026398c9e1078cb3ac5cac41767b620872166859
...
026398c9e1
Remove return type in case of void in RemoveUselessReturnTagRector (#5318 )
2023-12-03 19:10:14 +00:00
Tomas Votruba
f9c1f58ffc
Updated Rector to commit 52b665436c0f2161619b265caa3f2a65be5604dc
...
52b665436c
[PHP83] Implements a rule to add types to class constants (#5290 )
2023-12-03 14:59:47 +00:00
Tomas Votruba
1bcbe800e1
Updated Rector to commit ea5b331e7ea67a03b4c3f162c566a8dbfd74d55d
...
ea5b331e7e
[CodeQuality] Add RemoveUselessIsObjectCheckRector (#5316 )
2023-12-03 12:25:03 +00:00
Tomas Votruba
123030c782
Updated Rector to commit cd9ea2c717511f81e7bb7298a62f8ea558441a37
...
cd9ea2c717
[Privatization] Fix first class callable in PrivatizeLocalGetterToPropertyRector (#5310 )
2023-12-02 15:17:23 +00:00
Tomas Votruba
14ad1a6981
Updated Rector to commit 7badba687c3dfb247726757c5589629c45fe3ca2
...
7badba687c
[PostRector] Allow remove unused use sub namespace on UnusedImportRemovingPostRector (#5299 )
2023-12-02 03:47:46 +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
a1e301f6e8
Updated Rector to commit 6c8197667db0cb463eeda93b14b4c6f36e4aab05
...
6c8197667d
[Scoped] Exclude symfony/console/Debug/CliRequest.php from parallel-lint PHP 7.2 syntax check (#5304 )
2023-11-30 18:02:55 +00:00
Tomas Votruba
35f86a2fad
Updated Rector to commit 91f9f3057c2d51018228ed89273a76da991d3f45
...
91f9f3057c
Use symfony/console ~6.3.9 to fix downgrade build (#5302 )
2023-11-30 10:06:33 +00:00
Tomas Votruba
f8dc5ef396
Updated Rector to commit 84bcfebdf7e9f522c8f9f9e97814c82d3d5d3315
...
84bcfebdf7
[CodingStyle] Remove AddArrayDefaultToArrayPropertyRector as based on docblock types and public contract, better use type declaration set instad (#5298 )
2023-11-28 20:19:53 +00:00
Tomas Votruba
84b97fe47c
Updated Rector to commit c3840325600449b562691e34612279dcd4316043
...
c384032560
[Strict] Fix DisallowedEmptyRuleFixerRector empty() allow string '0' check (#5296 )
2023-11-28 17:41:50 +00:00
Tomas Votruba
7a2348073c
Updated Rector to commit 118fbde3b1ccc3685c55cd2704bc971d2d49ef41
...
118fbde3b1
[TypeDeclaration] Remove ParamTypeFromStrictTypedPropertyRector as seems similar feature with AddParamTypeFromPropertyTypeRector (#5293 )
2023-11-28 10:10:36 +00:00
Tomas Votruba
9621124c86
Rector 0.18.11
2023-11-27 13:27:43 +00:00
Tomas Votruba
0fdd1351c0
Updated Rector to commit 09a962c8cc695e8fdbeeb24e7f00f92008076ac4
...
09a962c8cc
[Test] Add test for combination aliased + sub namespace usage on AnnotationToAttributeRector (#5289 )
2023-11-26 07:53:02 +00:00
Tomas Votruba
b8b986a680
Updated Rector to commit e138f84792e483e8b653dc79271be376bbc1e41d
...
e138f84792
[AutoImport] Fixing auto import on multiple @\ usage (#5271 )
2023-11-21 23:36:57 +00:00
Tomas Votruba
7a8bc36a24
Updated Rector to commit 189a02635533f450aea58d8de075e494f538182b
...
189a026355
Remove deprecated Rector rules (#5270 )
2023-11-21 14:32:38 +00:00
Tomas Votruba
5fa526e204
Updated Rector to commit de333f27982cd1b27450c6dfa87ec723b29fbc1c
...
de333f2798
[Php71] Skip re-assigned as array on AssignArrayToStringRector (#5261 )
2023-11-19 00:02:19 +00:00
Tomas Votruba
2da177465a
Updated Rector to commit 363ae1bd444c365e38aef1cfcd69324b734c3c9c
...
363ae1bd44
[Performance][PostRector] Only process FullyQualified on import Node name on NameImportingPostRector (#5255 )
2023-11-16 17:36:40 +00:00
Tomas Votruba
0f9778fc13
Updated Rector to commit 52ef7b830be95c27141d893308d7fa27ff4a2290
...
52ef7b830b
[Scoped] Remove unused vendor/symfony/service-contracts/Test on downgrade build (#5252 )
2023-11-16 03:14:11 +00:00
Tomas Votruba
4f6134d1be
Updated Rector to commit 5647e1b818482552a447d7f79392c7e2f0dce86e
...
5647e1b818
[Naming] Fix dotted name on generics bug in RenameVariableToMatchMethodCallReturnTypeRector (#5250 )
2023-11-15 07:40:24 +00:00
Tomas Votruba
9aef117ab1
Updated Rector to commit 7ec1be6b828042b27e3f40ed41b3285a6fe78502
...
7ec1be6b82
[DeadCode]: Support functions in RemoveUnusedVariableAssignRector (#5249 )
2023-11-14 21:18:19 +00:00
Tomas Votruba
340a1832bb
Updated Rector to commit e72fb255dcafb1b7e0481b1359d948692e1ff3e2
...
e72fb255dc
Bump to reactphp/event-loop ^1.5 (#5246 )
2023-11-13 15:06:37 +00:00
Tomas Votruba
753e83fb31
Updated Rector to commit 4ed71bc537b3b3bb80245efb7661941119ab077d
...
4ed71bc537
[Utils] Cleap up MissingInSetCommand skipped rules constant (#5242 )
2023-11-11 09:57:02 +00:00
Tomas Votruba
e41e10db62
Updated Rector to commit 2f74b02ef6c754c68abcdd246837583967e24678
...
2f74b02ef6
[DeadCode] Handle repetitive jump equal case stmts on RemoveDuplicatedCaseInSwitchRector (#5239 )
2023-11-10 19:13:04 +00:00
Tomas Votruba
2adc308c58
Updated Rector to commit cb1b0c7348d1e80806b2e600823dbfa38b9836c7
...
cb1b0c7348
[Renaming] Add RenamedNameCollector to ensure remove uses on auto import on ClassRenamingPostRector with verify there is Node name that renamed (#5232 )
2023-11-08 03:06:40 +00:00
Tomas Votruba
6786dfbdb1
Updated Rector to commit cb1b0c7348d1e80806b2e600823dbfa38b9836c7
...
cb1b0c7348
[Renaming] Add RenamedNameCollector to ensure remove uses on auto import on ClassRenamingPostRector with verify there is Node name that renamed (#5232 )
2023-11-07 21:52:18 +00:00
Tomas Votruba
0cbee62160
Updated Rector to commit 9adc7a04b3a312957bb305edafcd0427fa6bd257
...
9adc7a04b3
[CodingStyle] Move ArraySpreadInsteadOfArrayMergeRector from php74 to codingstyle sets list (#5230 )
2023-11-07 18:56:36 +00:00
Tomas Votruba
73986cddda
Updated Rector to commit bd191f05ad1e632df5b656c1da0fb56a426f5a0a
...
bd191f05ad
Rectify (#5229 )
2023-11-07 15:42:24 +00:00
Tomas Votruba
5d5ea43276
Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
...
ce62c63401
Remove rule DataProviderArrayItemsNewlinedRector.php (#5227 )
2023-11-07 12:20:20 +00:00
Tomas Votruba
c221b7e43d
Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
...
ce62c63401
Remove rule DataProviderArrayItemsNewlinedRector.php (#5227 )
2023-11-07 12:01:11 +00:00
Tomas Votruba
8e33333b8d
Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
...
6d8074534f
Rectify (#5226 )
2023-11-07 11:07:32 +00:00
Tomas Votruba
2cdabcba36
Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
...
6d8074534f
Rectify (#5226 )
2023-11-06 15:46:58 +00:00
Tomas Votruba
1a3632d316
Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
...
6d8074534f
Rectify (#5226 )
2023-11-06 10:19:06 +00:00
Tomas Votruba
4fde7813cb
Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
...
6d8074534f
Rectify (#5226 )
2023-11-06 10:07:45 +00:00
Tomas Votruba
5990b98c4e
Updated Rector to commit 8615d40f4c8acb58a000f5bc7e0d0a0cfd353b7f
...
8615d40f4c
[NodeTypeResolver] Handle nullable extended class on ->isObjectType() on DowngradeReflectionGetAttributesRector (#5224 )
2023-11-05 14:03:03 +00:00
Tomas Votruba
1c5fde5d65
Updated Rector to commit 8615d40f4c8acb58a000f5bc7e0d0a0cfd353b7f
...
8615d40f4c
[NodeTypeResolver] Handle nullable extended class on ->isObjectType() on DowngradeReflectionGetAttributesRector (#5224 )
2023-11-05 13:58:20 +00:00
Tomas Votruba
37bf1c8f19
Updated Rector to commit 2ad03db37f187d715c3a2f189dc181063126e596
...
2ad03db37f
[Php83] Adds rule for adding Override attribute (#5170 )
2023-11-03 16:34:43 +00:00
Tomas Votruba
cdc1ef461c
Updated Rector to commit 2ad03db37f187d715c3a2f189dc181063126e596
...
2ad03db37f
[Php83] Adds rule for adding Override attribute (#5170 )
2023-11-03 12:13:20 +00:00
Tomas Votruba
23db14797e
Updated Rector to commit cc97becc06dcf1b69c5de01aebf09b498c0d9006
...
cc97becc06
[Testing] In case of failed test using multiple rules, show applied Rector rules to make easy to find them (#5222 )
2023-11-03 12:03:05 +00:00
Tomas Votruba
6999c349a8
Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
...
f9de5d311e
[Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219 )
2023-11-03 06:37:02 +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
9f6334bf4b
Updated Rector to commit aa6d2c3c6c63593bbf39f3451b4314e37e57224e
...
aa6d2c3c6c
cs
2023-10-31 21:08:55 +00:00
Tomas Votruba
685f0bab53
Updated Rector to commit 3c526c91f05faf276fb08bedb31bc1dc19cfb678
...
3c526c91f0
[AutoImport] Handle AnnotationToAttributeRector + RenameClassRector then enable auto import (#5213 )
2023-10-29 11:11:38 +00:00
Tomas Votruba
102128ffca
Updated Rector to commit 89b3e62f82ad480b57f002096cc16af16d7ac597
...
89b3e62f82
[TypeDeclaration] Skip union false on NumericReturnTypeFromStrictScalarReturnsRector (#5204 )
2023-10-27 08:11:40 +00:00
Tomas Votruba
ad081742d1
Updated Rector to commit be0cc77862bef98727e1e3881620c5416841801f
...
be0cc77862
CountArrayToEmptyArrayComparisonRector: don't trust phpdoc (#5203 )
2023-10-26 15:07:35 +00:00
Tomas Votruba
8d1b2d924e
Updated Rector to commit be0cc77862bef98727e1e3881620c5416841801f
...
be0cc77862
CountArrayToEmptyArrayComparisonRector: don't trust phpdoc (#5203 )
2023-10-26 12:26:07 +00:00
Tomas Votruba
17928ec6ab
Updated Rector to commit 29265cacf4b81261cb33885acaaa4edcb5885dd4
...
29265cacf4
Clean up tweak on packages_tests.yaml (#5202 )
2023-10-25 15:40:25 +00:00
Tomas Votruba
d628c0dcad
Updated Rector to commit 238a9f1800225bd3f350dc25df79ad283d91a25a
...
238a9f1800
Revert doctrine/inflector removal (#5201 )
2023-10-25 15:01:11 +00:00
Tomas Votruba
23e5d4df05
Updated Rector to commit 1d3fc91bd5e0154daae34b1efdb64a6f78f47c89
...
1d3fc91bd5
apply cs
2023-10-24 15:03:15 +00:00
Tomas Votruba
02041b2207
Rector 0.18.6
2023-10-24 15:00:59 +00:00
Tomas Votruba
52923dc606
Updated Rector to commit 1c54292ed68e46f4ddfa2adb21f28130f308b99c
...
1c54292ed6
Replace doctrine/inflector with simpler mapping function (#5165 )
2023-10-24 15:00:55 +00:00
Tomas Votruba
293ab618f7
Updated Rector to commit b45a987d9264b884e0ec9c80f8597dbce52e1870
...
b45a987d92
trigger bump
2023-10-24 15:00:30 +00:00
Tomas Votruba
6561afe21f
Updated Rector to commit f2c8967abf004558bf92c86840d57eb7f0221f9c
...
f2c8967abf
[DeadCode] Mirror comment on assign method call on RemoveUnusedVariableAssignRector (#5195 )
2023-10-24 14:23:28 +00:00
Tomas Votruba
5ba12a9905
Updated Rector to commit f2c8967abf004558bf92c86840d57eb7f0221f9c
...
f2c8967abf
[DeadCode] Mirror comment on assign method call on RemoveUnusedVariableAssignRector (#5195 )
2023-10-24 14:19:22 +00:00
Tomas Votruba
7c5eefbc15
Updated Rector to commit 6d5ffbe7d62fba226b0b49c613092c0741b2ba34
...
6d5ffbe7d6
[TypeDeclaration] Handle skipped by file path on DeclareStrictTypesRector due to use beforeTraverse() (#5191 )
2023-10-23 07:51:12 +00:00
Tomas Votruba
440cc19f16
Updated Rector to commit 5ac3cb377abf968396c23573d8562e6ab6967f2a
...
5ac3cb377a
[Php70] Fix Php4 contructor not replaced with __construct() on php 7.4 environment (#5189 )
2023-10-20 09:54:41 +00:00
Tomas Votruba
58494f42d4
Updated Rector to commit 5ac3cb377abf968396c23573d8562e6ab6967f2a
...
5ac3cb377a
[Php70] Fix Php4 contructor not replaced with __construct() on php 7.4 environment (#5189 )
2023-10-19 16:35:54 +00:00
Tomas Votruba
a169643611
Updated Rector to commit 4795d003614d98b04c3fce209e855f18ac48ed09
...
4795d00361
[Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188 )
2023-10-18 18:37:52 +00:00
Tomas Votruba
45987b0066
Updated Rector to commit 4795d003614d98b04c3fce209e855f18ac48ed09
...
4795d00361
[Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188 )
2023-10-18 15:39:41 +00:00
Tomas Votruba
ac6d3dea06
Updated Rector to commit 4795d003614d98b04c3fce209e855f18ac48ed09
...
4795d00361
[Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188 )
2023-10-18 14:16:12 +00:00
Tomas Votruba
93080b5520
Updated Rector to commit b7a5fefedc9d1a32c1f238a6a8c9b89b88e7d21c
...
b7a5fefedc
[DeadCode] Add RemoveUselessReturnExprInConstructRector (#5158 )
2023-10-12 10:26:14 +00:00
Tomas Votruba
f25beaaf93
Updated Rector to commit 668da1d020b596441b274ee6bf9d1ed763f8e43d
...
668da1d020
[TypeDeclaration] Utilize ClassMethodReturnTypeOverrideGuard on NumericReturnTypeFromStrictScalarReturnsRector (#5155 )
2023-10-11 15:50:01 +00:00
Tomas Votruba
882ff036c6
Updated Rector to commit 6d96068b0232141101c238752d0c5e80d5781f74
...
6d96068b02
[DeadCode] Skip key used in next stmt on RemoveUnusedForeachKeyRector (#5153 )
2023-10-10 13:08:33 +00:00
Tomas Votruba
80c4856fb5
Updated Rector to commit 6d96068b0232141101c238752d0c5e80d5781f74
...
6d96068b02
[DeadCode] Skip key used in next stmt on RemoveUnusedForeachKeyRector (#5153 )
2023-10-10 12:35:07 +00:00
Tomas Votruba
7aea9b9ed8
Updated Rector to commit fd04aa8db977151cc4147289c3d9b81c1ce53dcf
...
fd04aa8db9
[PHPStanStaticTypeMapper] Remove Doctrine\Common\Collections\Collection check on UnionTypeMapper (#5150 )
2023-10-10 07:11:47 +00:00
Tomas Votruba
db98d35ea7
Updated Rector to commit 49fda93e9028c5800057d20a45ecc1ec38fab5cc
...
49fda93e90
Remove src/constants.php for T_ENUM and T_NAME_RELATIVE (#5143 )
2023-10-08 08:15:45 +00:00
Tomas Votruba
8b7e66c3f3
Updated Rector to commit e83c7ef0b689c36d548ae0328b4a4bcf6fcde6b8
...
e83c7ef0b6
[PHPStanStaticTypeMapper] Remove BoolUnionTypeAnalyzer on UnionTypeMapper (#5141 )
2023-10-08 01:59:48 +00:00
Tomas Votruba
738c193e65
Updated Rector to commit d320ac74b9bf2f19dae9405449f3253e546c318c
...
d320ac74b9
[PhpParser] Reduce AstResolver complexity by move check fileName is null to parseFileNameToDecoratedNodes() (#5138 )
2023-10-07 10:20:38 +00:00
Tomas Votruba
798d9b99b4
Updated Rector to commit 3e0132d324099a3d45e1f8f0d28be76d310ee0eb
...
3e0132d324
[CodeQuality] Add CompleteMissingIfElseBracketRector (#5121 )
2023-10-05 14:38:05 +00:00
Tomas Votruba
9696ef6862
Updated Rector to commit a6732a5b0e80868a6542c9bd5443f27750577e64
...
a6732a5b0e
[FamilyTree] Remove AstResolver on FamilyRelationsAnalyzer (#5117 )
2023-10-05 07:33:50 +00:00
Tomas Votruba
ea462b89c5
Updated Rector to commit 39e4f0ae398befb8ad1aa63b66e50cc62e9a3883
...
39e4f0ae39
[NodeTypeResolver] Remove AstResolver usage on ArrayTypeAnalyzer (#5110 )
2023-10-04 07:24:44 +00:00
Tomas Votruba
8dfd47b5cc
Updated Rector to commit 418821236de4fe723114d95846a22741d14fc7f8
...
418821236d
make PhpDocInfo::findByAnnotationClass() public to use in Symfony rules
2023-10-01 11:44:36 +00:00
Tomas Votruba
fd3e7ba154
Updated Rector to commit 15bc1157be538b34bf81428997ef2aab5b974336
...
15bc1157be
[phpstan] cleanup fixed errors
2023-10-01 11:35:14 +00:00
Tomas Votruba
764b0cbdb5
Updated Rector to commit 3eb8e7d7a52ed8d45ca685e570fbfa0fd14e9be1
...
3eb8e7d7a5
Deprecate CountOnNullRector as depends on previous context and require manual adjustment of previous result (#5101 )
2023-10-01 09:51:45 +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
83a14c92a0
Updated Rector to commit 8a3fddfbcc083b526a5365e241f6c5ab37541fc9
...
8a3fddfbcc
[NodeTypeResolver] Reduce AstResolver usage on ArrayTypeAnalyzer (#5096 )
2023-09-30 22:31:51 +00:00
Tomas Votruba
beb21d1b36
Updated Rector to commit 3c1035bb6d6b578c4b26f1b1735895ffafcc814b
...
3c1035bb6d
[DX] Remove DependencyClassMethodDecorator as not used anymore due to paralel nature (#5094 )
2023-09-30 19:57:09 +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
d7242c6a67
Updated Rector to commit 0c0e5eeb4fd337d98f27224d0b46bfd310405dfd
...
0c0e5eeb4f
AddParamTypeBasedOnPHPUnitDataProviderRector: Enhance existing rule to handle PHPUnit 10+ DataProvider Attribute (#4925 )
2023-09-30 09:01:28 +00:00
Tomas Votruba
a8fc4e6c01
Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
...
41235b8c7c
[Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091 )
2023-09-29 13:32:48 +00:00
Tomas Votruba
838756b543
Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
...
41235b8c7c
[Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091 )
2023-09-29 13:22:46 +00:00
Tomas Votruba
f642d08e09
Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
...
41235b8c7c
[Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091 )
2023-09-29 12:48:57 +00:00
Tomas Votruba
d2a4c3c81b
Updated Rector to commit 801d367f34aff122d69072dda92a7a34211f815b
...
801d367f34
AddParamTypeBasedOnPHPUnitDataProviderRector: Check all data providers (#5068 )
2023-09-29 07:28:16 +00:00
Tomas Votruba
f5258a2d75
Updated Rector to commit 547af4e8fd379a605f1b7b3e8bcc0e28b819f220
...
547af4e8fd
require latest phpstan 1.10.31
2023-09-28 18:10:06 +00:00
Tomas Votruba
342f3dce55
Updated Rector to commit 9793540e79b87bb08e2203b761c2c5b361ac8e27
...
9793540e79
[DX] Remove Attribute support on ChangedNodeScopeRefresher (#5090 )
2023-09-28 17:03:25 +00:00
Tomas Votruba
fb1a354817
Updated Rector to commit 8e67265bbebb84e6b4dc8f3249ea191710980988
...
8e67265bbe
[CodeQuality] Handle crash on variable variable on assign closure on OptionalParametersAfterRequiredRector (#5089 )
2023-09-28 13:11:33 +00:00
Tomas Votruba
7ff3aa40b8
Updated Rector to commit 2f901255da37c64388cdfc9eb6d98c53ccc388b9
...
2f901255da
[Performance] Avoid double read file on parsing + create File object on creating StmtsAndTokens object (#5088 )
2023-09-28 09:19:54 +00:00
Tomas Votruba
d6df3c22c9
Updated Rector to commit 4f7822014a9a14bccbddf707aa446869dd5c6411
...
4f7822014a
[DX] Remove CurrentFileProvider dependency on ChangedNodeScopeRefresher (#5087 )
2023-09-27 23:27:41 +00:00
Tomas Votruba
d0476ce55a
Updated Rector to commit 16ba249bcee39137ba27b687bbfc6f15761c99c5
...
16ba249bce
remove --dry-run to pass
2023-09-27 19:07:29 +00:00
Tomas Votruba
29be087753
Updated Rector to commit 16ba249bcee39137ba27b687bbfc6f15761c99c5
...
16ba249bce
remove --dry-run to pass
2023-09-27 14:51:48 +00:00
Tomas Votruba
fa6848a257
Updated Rector to commit 9cc532935811a282ded4b8ac730d46d944666bd9
...
9cc5329358
remove --dry-run to pass
2023-09-27 14:39:19 +00:00
Tomas Votruba
b823b681f4
Updated Rector to commit 16ba249bcee39137ba27b687bbfc6f15761c99c5
...
16ba249bce
remove --dry-run to pass
2023-09-27 14:39:11 +00:00
Tomas Votruba
bf5fffcc74
Updated Rector to commit 1d07f2626d04cd5ebeb6c35b444b3e28ce51c5ec
...
1d07f2626d
[build] Expect diffs
2023-09-27 14:38:01 +00:00
Tomas Votruba
8c5990c74a
Updated Rector to commit 07f9aa02529af0e5a33c6ee98a2d2730d813ee2b
...
07f9aa0252
[build] no PR on build rector
2023-09-27 14:37:52 +00:00
Tomas Votruba
92b441a510
Updated Rector to commit 5879d88416676e80021ce61eb169c4d70422b2bf
...
5879d88416
[build] add back php 7.4 test
2023-09-27 14:35:58 +00:00
Tomas Votruba
429a7683b2
Updated Rector to commit 4726d37f988476ab4d31d8d969a211aedd92aa51
...
4726d37f98
[build] fix build e2e paths to use installed rector package
2023-09-27 14:30:16 +00:00
Tomas Votruba
73c6f075ef
Updated Rector to commit 0ed14ec01d843a1266dce5c2e267861fe623c46c
...
0ed14ec01d
[build] Remove bare run, as the build package depends on phpstan/phpstan, required to be installed as 3rd party
2023-09-27 14:23:34 +00:00
Tomas Votruba
891fb430c5
Updated Rector to commit b7ef56e7b2273c94f7ce08691ac5c8f227d5ab7d
...
0c64b6d7ee
[build] require phpstan/phpstan
b7ef56e7b2
[build] note about local run
2023-09-27 14:21:07 +00:00
Tomas Votruba
941ed47703
Updated Rector to commit 7a87774b97c52dba78556810b984720935ded53a
...
1e683dcaf1
move up
7a87774b97
[build] fix to existing dirs
2023-09-27 14:03:07 +00:00
Tomas Votruba
de657e6fed
Updated Rector to commit cb4e5de3792cb2006383a70152ed0556642ca336
...
cb4e5de379
[build] do not update dev depenencies after phpstan/phpstan removal
2023-09-27 13:44:26 +00:00
Tomas Votruba
8bfbd2f5d4
Updated Rector to commit 4faaeba9f3cb1cce8d85db4e29dac2bc76b1933e
...
4faaeba9f3
remove unused phpstan-for-rector.neon
2023-09-27 13:08:26 +00:00
Tomas Votruba
0bac9c9526
Updated Rector to commit 5fb68b4a0c04c968a8edaa3556406838d4748757
...
5fb68b4a0c
InlineConstructorDefaultToPropertyRector Readonly Class (#5085 )
2023-09-27 13:06:03 +00:00
Tomas Votruba
a776210800
Updated Rector to commit 1a65049a8834272e812d10de3954ffeb88f47296
...
1a65049a88
move up
2023-09-27 13:05:05 +00:00
Tomas Votruba
cd9ba20d46
Updated Rector to commit ecdb4c7ff209be89c5ae98bddc4124d0cd437a0a
...
b5c14e699c
[build] Remove needs for custom config
ecdb4c7ff2
trigger
2023-09-27 13:02:52 +00:00
Tomas Votruba
1d1339dd53
Updated Rector to commit b483230a5bb027f24dbfe46e5a4416abd6b4788f
...
b483230a5b
[Performance] Remove regex for check start with big letter on ShortNameResolver (#5084 )
2023-09-26 21:57:19 +00:00
Tomas Votruba
b9b9c81ade
Updated Rector to commit 50eb9efa1098d832343761d0af398449c726caf9
...
50eb9efa10
[Performance] Avoid ReflectionProvider check function exists on NameImportingPostRector (#5083 )
2023-09-26 21:41:55 +00:00
Tomas Votruba
000dcd9b3b
Updated Rector to commit 50e589ca482e73daea8d2d4949c9ec9869fa59a3
...
50e589ca48
Feature/fix class annotation bad print (#5081 )
2023-09-26 20:43:15 +00:00
Tomas Votruba
d99a91176b
Rector 0.18.4
2023-09-25 17:07:54 +00:00
Tomas Votruba
6bcd7272d2
Updated Rector to commit bd4c8dd98828626b78fd1418b1f6c985778a2fb6
...
bd4c8dd988
[Performance] Avoid unnecessary IO dumpFile() called when file has no change on FileProcessor (#5079 )
2023-09-24 12:10:54 +00:00
Tomas Votruba
3487ef9422
Updated Rector to commit 2e86f7660f53eeffb9634f1598a88a821fb6bad1
...
2e86f7660f
[AutoImport] Add test skip start with shebang #!/usr/bin/php -q (#5078 )
2023-09-24 11:08:59 +00:00
Tomas Votruba
452859f92f
Updated Rector to commit e38909dbc086a70e5564e21d8af87aab9c1dc62d
...
e38909dbc0
Docblock fix on ShortNameResolver (#5077 )
2023-09-24 10:06:03 +00:00
Tomas Votruba
9b44046c45
Updated Rector to commit 4f199368893906bf5d9f89b936e97297888de463
...
4f19936889
[AutoImport] Skip case insensitive conflict defined class name on $rectorConfig->importNames() (#5076 )
2023-09-24 09:51:58 +00:00
Tomas Votruba
4837e829cf
Updated Rector to commit 803d9ec70934d3fa4a2d97d8e50bb38729b44d10
...
803d9ec709
[Docs] Skip collector from rule doc generator command (#5075 )
2023-09-24 09:38:32 +00:00
Tomas Votruba
08913427ee
Updated Rector to commit 0d9b38d62ebb6f9f1264240c384ca1918c0c45a2
...
0d9b38d62e
DX: Validate paths in RectorConfig->paths() (#5065 )
2023-09-24 09:18:15 +00:00
Tomas Votruba
0ea0221716
Updated Rector to commit 061eea0c0aca9f6f15ad35c82d5a9cb5323f3919
...
061eea0c0a
[automated] Apply Coding Standard (#5074 )
2023-09-24 00:28:19 +00:00
Tomas Votruba
365373f6ba
Updated Rector to commit 59e25d914e4689e707f148d95c76025dc0b01136
...
59e25d914e
[Performance] Remove regex check on open tag spaced check on FileProcessor (#5073 )
2023-09-23 18:56:28 +00:00
Tomas Votruba
4b7d5cbe32
Updated Rector to commit 8bfaf450145e25e27e33e0ba2ead4c7348c6aa43
...
8bfaf45014
[Php80] Mirror switch comment to match to ChangeSwitchToMatchRector (#5072 )
2023-09-23 13:19:03 +00:00
Tomas Votruba
718b62bf2c
Updated Rector to commit defd57b99b2f442199c6d4c63357e786d514253b
...
defd57b99b
Move betterNodeFinder,valueResolver,phpDocInfoFactory dependencies from AbstractRector into rules (#5071 )
2023-09-23 12:32:25 +00:00
Tomas Votruba
fa675a27fa
Updated Rector to commit defd57b99b2f442199c6d4c63357e786d514253b
...
defd57b99b
Move betterNodeFinder,valueResolver,phpDocInfoFactory dependencies from AbstractRector into rules (#5071 )
2023-09-23 12:16:30 +00:00
Tomas Votruba
0a1f02d765
Updated Rector to commit 9b319efffa0bb091b0a4cbccffff3b4ed657fb72
...
9b319efffa
[DX] Show warning on AbstractRector::__get() when pull deprecated property from AbstractRector (#5069 )
2023-09-23 10:43:41 +00:00
Tomas Votruba
42360f35ac
Updated Rector to commit 9abbcb11eef3e62534ab116c5cbcd1e9d58c01f6
...
9abbcb11ee
Fix fixture file names (#5067 )
2023-09-22 20:47:52 +00:00
Tomas Votruba
b8d67b2a4f
Updated Rector to commit d9d1fd27214af2c55612bfb852bc01b10663d1d6
...
d9d1fd2721
Check fixtures with PHPStan (#5026 )
2023-09-22 15:30:54 +00:00
Tomas Votruba
4ee58b2d9a
Updated Rector to commit ecc0a2889157f7da9de1adee1a3f3f581844d2e2
...
ecc0a28891
fix UT
2023-09-22 12:18:58 +00:00
Tomas Votruba
e39c97513e
Updated Rector to commit ecc0a2889157f7da9de1adee1a3f3f581844d2e2
...
ecc0a28891
fix UT
2023-09-22 12:13:15 +00:00
Tomas Votruba
0e33c04f76
Updated Rector to commit 85a407a1b75939448a0ee6d539ebe86538252e52
...
85a407a1b7
Deprecate BinarySwitchToIfElseRector as opinionated to allow more suitable match() refactoring (#5064 )
2023-09-22 10:40:02 +00:00
Tomas Votruba
4f42274ab7
Updated Rector to commit 85a407a1b75939448a0ee6d539ebe86538252e52
...
85a407a1b7
Deprecate BinarySwitchToIfElseRector as opinionated to allow more suitable match() refactoring (#5064 )
2023-09-22 09:56:10 +00:00
Tomas Votruba
f6beffcb30
Updated Rector to commit 40d127ee553bda3f486546f721a72698830d5b89
...
40d127ee55
[TypeDeclaration] Test native-type ArrayDimFetch on numeric keys (#5063 )
2023-09-21 19:41:14 +00:00
Tomas Votruba
5b032cf2ce
Updated Rector to commit c3d2ccfd2e5e40901b152df6b8d0a4275de1f23e
...
c3d2ccfd2e
[NodeTypeResolver] Handle optional array shape on native function like with ArrayDimFetch (#5062 )
2023-09-21 17:22:54 +00:00
Tomas Votruba
06467e73f0
Updated Rector to commit 36f0b4ad9751892be63b57ccd95ecc75404c8cee
...
36f0b4ad97
Make RemoveEmptyClassMethodRector skip deprecated class method, as used for BC (#5061 )
2023-09-21 15:47:17 +00:00
Tomas Votruba
1372be8587
Updated Rector to commit 84916ed4ada651a1a8d3afa2d83473d536fd3030
...
84916ed4ad
[TypeDeclaration] Skip ArrayDimFetch for return and param types (#5059 )
2023-09-21 13:39:21 +00:00
Tomas Votruba
d97b49ad5b
Updated Rector to commit 9f88b630a9999eb596a3f18cbd00965f0033796e
...
9f88b630a9
[TypeDeclaration] Skip ArrayDimFetch by return array doc on AddMethodCallBasedStrictParamTypeRector (#5058 )
2023-09-21 13:34:54 +00:00
Tomas Votruba
4a3e045983
Updated Rector to commit 69055b5aede907500e2fc102c0d8d4747e20df38
...
69055b5aed
[CodingStyle][EarlyReturn] Fix infinite if else on BinarySwitchToIfElseRector+RemoveAlwaysElseRector (#5057 )
2023-09-21 12:16:27 +00:00
Tomas Votruba
82fb004302
Updated Rector to commit ad96b1f8c56f4b0f7abd04b049ffbdb6d4e1d0e2
...
ad96b1f8c5
[NodeTypeResolver] pull getType() on ArrayDimFetch when not mixed type from its variable native definition (#5056 )
2023-09-21 11:31:13 +00:00
Tomas Votruba
159eb49f8e
Updated Rector to commit 884a47e2b3a1d0f1508f83715c4d18efe00766de
...
884a47e2b3
[Dep] Remove abandoned phpstan/phpstan-php-parser on require-dev (#5054 )
2023-09-20 18:33:19 +00:00
Tomas Votruba
a991908b36
Updated Rector to commit 9c18b86edadc4f9e538d7065a62ba386ec14b6ad
...
9c18b86eda
cleanup
2023-09-20 16:18:13 +00:00
Tomas Votruba
4b8fc3fb05
Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
...
e698133cad
[DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053 )
2023-09-20 12:55:35 +00:00
Tomas Votruba
3827f75ecd
Updated Rector to commit 23d429233d37af0d743b4d4dc622828c704d2d2f
...
23d429233d
[DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5052 )
2023-09-20 12:53:23 +00:00
Tomas Votruba
b2b3a0f5cc
Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
...
33fa626297
[DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051 )
2023-09-20 12:41:26 +00:00
Tomas Votruba
3a35226590
Updated Rector to commit 5ee831f533cf97bc985b381cfd067122e2a479d2
...
5ee831f533
[TypeDeclaration] Add return static property support on ReturnTypeFromStrictTypedPropertyRector (#5050 )
2023-09-19 13:48:46 +00:00
Tomas Votruba
db78ff1331
Updated Rector to commit 76611f69af76327be04538df7b8c568600ac58c0
...
76611f69af
Deprecate TypedPropertyFromStrictConstructorReadonlyClassRector as based on docblock and public elements; use private elements and property promotion instead (#5049 )
2023-09-19 13:45:02 +00:00
Tomas Votruba
09bdee3938
Updated Rector to commit 765e849e612553708296dd501375b49784ad1ca8
...
765e849e61
Narrow rule complexity, add custom PHPStan to check whole rule complexity tree and spot architecture flaws (#5025 )
2023-09-19 13:41:47 +00:00
Tomas Votruba
76a717ee63
Updated Rector to commit e8718df6389c07916c967ae8650e3905a98550b9
...
e8718df638
typo
2023-09-19 12:25:24 +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
5ea7f9b378
Updated Rector to commit de462cf186c7bdaa8f5ed278fec681232c1f34ae
...
de462cf186
tidy fixture
2023-09-19 10:41:44 +00:00
Tomas Votruba
00f0a02e41
Updated Rector to commit 3ffd995dd526de72ae1c325ff225bf50624d07c5
...
3ffd995dd5
[DeadCode] RemoveDeadZeroAndOneOperationRector should not remove Constants (#4910 )
2023-09-19 10:39:33 +00:00
Tomas Votruba
0d8832a7b0
Updated Rector to commit 95e11476da887e03190937eaa73284c698cc9a6e
...
95e11476da
[VendorLocker] Remove unneeded hasClassMethodExprReturn() method on ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod() (#5047 )
2023-09-19 09:52:30 +00:00
Tomas Votruba
42058c255b
Updated Rector to commit 535ef5909272fe83d43f5bcf997d74222ac25cdc
...
535ef59092
Revert "[Performance][NodeTypeResolver] Remove $mutatingScope->enterCatchType() usage on PHPStanNodeScopeResolver (#5045 )" (#5046 )
2023-09-19 09:12:48 +00:00
Tomas Votruba
e31de99f8d
Updated Rector to commit 535ef5909272fe83d43f5bcf997d74222ac25cdc
...
535ef59092
Revert "[Performance][NodeTypeResolver] Remove $mutatingScope->enterCatchType() usage on PHPStanNodeScopeResolver (#5045 )" (#5046 )
2023-09-19 08:55:15 +00:00
Tomas Votruba
6020150b01
Updated Rector to commit 1fe0f127b4ba8e82fef1529bf1b29c1e607a9adf
...
1fe0f127b4
Cleanup phpstan errors (#5044 )
2023-09-19 07:28:19 +00:00
Tomas Votruba
edaa1076ee
Updated Rector to commit a3d2fcda640abe4af03822e415c5fbe757c2f88c
...
a3d2fcda64
[NodeTypeResolver] Use Scope->getType() on ArrayDimFetch on NodeTypeResolver::getNativeType() (#5037 )
2023-09-19 07:09:37 +00:00
Tomas Votruba
e43f2a6386
Updated Rector to commit a3d2fcda640abe4af03822e415c5fbe757c2f88c
...
a3d2fcda64
[NodeTypeResolver] Use Scope->getType() on ArrayDimFetch on NodeTypeResolver::getNativeType() (#5037 )
2023-09-18 22:07:04 +00:00
Tomas Votruba
d7b6d352e5
Updated Rector to commit 308178a058b057813283852029a7b2aaa026568a
...
308178a058
Adding collectors - step 3 (#5043 )
2023-09-18 17:12:03 +00:00
Tomas Votruba
931ab640df
Updated Rector to commit e084356a6aa394a37db6ee1ef153cf8c860a1db5
...
e084356a6a
Adding collectors - step 2 (#5042 )
2023-09-18 16:39:38 +00:00
Tomas Votruba
a7266f01f8
Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
...
7e55eaa7bf
Bump to newer phpstan-extensions (#5041 )
2023-09-18 15:27:40 +00:00
Tomas Votruba
caa99019bf
Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
...
7e55eaa7bf
Bump to newer phpstan-extensions (#5041 )
2023-09-18 13:55:57 +00:00
Tomas Votruba
fbe9c07e7a
Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
...
7e55eaa7bf
Bump to newer phpstan-extensions (#5041 )
2023-09-18 08:34:10 +00:00
Tomas Votruba
252f281a42
Updated Rector to commit d10b3b1080ed82a48e7506cf025a5449c904441a
...
d10b3b1080
Use realpath() as string on MissingInSetCommand (#5040 )
2023-09-18 06:23:40 +00:00
Tomas Votruba
65c9e5396a
Updated Rector to commit 2cf8d837421963a540d2cf6e3b42702b1a8ae09e
...
2cf8d83742
[TypeDeclaration] Handle fallback from param same type object on ReturnTypeFromReturnNewRector (#5039 )
2023-09-18 06:15:34 +00:00
Tomas Votruba
8e037982d6
Updated Rector to commit c956f862094345e72533d83e629938437bf29a43
...
c956f86209
fix(ArrayKeyFirstLastRector): Skip exection when pointer is changed (#5038 )
2023-09-17 13:19:31 +00:00
Tomas Votruba
dc61ee1240
Updated Rector to commit 8ba3d90ba430782c8e9bba135411260df802df3e
...
8ba3d90ba4
EmptyOnNullableObjectToInstanceOfRector: skip phpdoc (#5034 )
2023-09-17 07:02:22 +00:00
Tomas Votruba
2a1bb45c83
Updated Rector to commit b26d507d873f7e8ba8f87be261d321341431ac80
...
b26d507d87
Run composer docs weekly (#5035 )
2023-09-17 06:58:27 +00:00
Tomas Votruba
98b7592a30
Updated Rector to commit f40ec62cb8ac7001658e25d4928dc028fa4d9e55
...
f40ec62cb8
BinaryOpNullableToInstanceofRector: test phpdoc ignorance (#5033 )
2023-09-17 06:57:56 +00:00
Tomas Votruba
77cbaa7c42
Updated Rector to commit 8f8074f6d30e657621bf6ead352d062d228274ed
...
8f8074f6d3
SimplifyIfNullableReturnRector: fix example (#5032 )
2023-09-17 06:44:25 +00:00
Tomas Votruba
3939ac0648
Updated Rector to commit 173399b8894b7bfe802662064a8814e5560c3328
...
173399b889
[Performance][Testing] Use str_contains instead of regex in FixtureSplitter (#5030 )
2023-09-17 05:03:54 +00:00
Tomas Votruba
6942fe920b
Updated Rector to commit 780c5afe7b1623fe23e6c198665f692275fe798e
...
780c5afe7b
[automated] Apply Coding Standard (#5031 )
2023-09-17 00:30:04 +00:00
Tomas Votruba
279e6b242e
Updated Rector to commit 0acf4bd13469aff2ad461317d026234840aa8091
...
0acf4bd134
Simplify UseIdenticalOverEqualWithSameTypeRector (#5029 )
2023-09-16 11:56:33 +00:00
Tomas Votruba
01c783a2bf
Updated Rector to commit c8ff683305a228aa2bfbe2c11eccc7a712c5db94
...
c8ff683305
Remove inline-@var use (#5028 )
2023-09-16 11:45:20 +00:00
Tomas Votruba
c33ef2a625
Updated Rector to commit e6d5d3620448b27bce7d080c9832558e2f6cdf38
...
e6d5d36204
[CodeQuality]: Skip PHPDoc (#5027 )
2023-09-16 08:08:56 +00:00
Tomas Votruba
af93ed53e4
Updated Rector to commit 0678674828c37813873d3bd4612c86d0a405948c
...
0678674828
[AutoImport] Fix conflict current namespace auto import (#5024 )
2023-09-15 19:07:43 +00:00
Tomas Votruba
e66812ed4d
Updated Rector to commit 0678674828c37813873d3bd4612c86d0a405948c
...
0678674828
[AutoImport] Fix conflict current namespace auto import (#5024 )
2023-09-15 12:53:52 +00:00
Tomas Votruba
810ae4c396
Updated Rector to commit f6063588c0107450e51333934308f71434722f68
...
f6063588c0
[DX] Lower current node dependency - pass it directly to doc node parsing (#5023 )
2023-09-15 11:53:42 +00:00
Tomas Votruba
224235c3f7
Updated Rector to commit 307b9d6c470480b8dea2bee8bcf6fbcc352bbf79
...
307b9d6c47
Add note on using pwsh on Windows with parallel mode (#5022 )
2023-09-15 07:10:20 +00:00
Tomas Votruba
42d1e7d15e
Updated Rector to commit 21e3128746a05e4ff78b27e338412f98a1cbe39f
...
21e3128746
Run tests on macos (#5019 )
2023-09-14 18:49:49 +00:00
Tomas Votruba
7c6e836295
Updated Rector to commit 7b7b4fb61bc2a7088823e7cfabf8a29b4fec516c
...
7b7b4fb61b
Fix TypedPropertyFromStrictConstructor* order (#5021 )
2023-09-14 17:21:03 +00:00
Tomas Votruba
d8dbb74079
Updated Rector to commit 5b423425e584112ae7a02a6e7236c667cd5aedd0
...
5b423425e5
TypedPropertyFromStrictConstructorRector: Skip phpdoc types (#5020 )
2023-09-14 17:09:03 +00:00
Tomas Votruba
8ca231f47a
Updated Rector to commit 2b177e80e2630c97653aa9d57ac87acbc1433524
...
2b177e80e2
add fixture to validate
2023-09-14 12:21:59 +00:00
Tomas Votruba
4f47fbf001
Updated Rector to commit ba0291fec8e4ade7fc9692f6308172654f2b67da
...
ba0291fec8
Typo fix (#5017 )
2023-09-14 11:48:17 +00:00
Tomas Votruba
7b7327844c
Updated Rector to commit d188b67d8620ffba4c2488cdaab20853ba804f14
...
d188b67d86
Fix unit test on macOS for testing spaced root project on WorkerCommandLineFactoryTest (#5016 )
2023-09-14 08:30:58 +00:00
Tomas Votruba
5f78db9416
Updated Rector to commit 0e869b9b70c1871d5c212c3b2fdaf388955747ce
...
0e869b9b70
[Parallel] Handle Spaced root project main script on parallel process (#4813 )
2023-09-14 08:19:41 +00:00
Tomas Votruba
cdaa25cb85
Updated Rector to commit 23840739198816814b463df4a9510bb8f4f5fbda
...
2384073919
[VendorLockResolver] Reduce repetitive getName() on ClassMethodParamVendorLockResolver (#5015 )
2023-09-13 19:48:27 +00:00
Tomas Votruba
1543cccc56
Updated Rector to commit 299d02c41ec1a0850c5a5449e27f9cf9fd44b5e5
...
299d02c41e
[Performance][BetterPhpDocParser] Move create new PhpDocNodeTraverser() to __construct() on PhpDocNodeMapper (#5014 )
2023-09-13 19:21:21 +00:00
Tomas Votruba
2331f6b39c
Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
...
74df7741a7
[PostRector] Fix unused import not removed on empty generic class name exists (#5012 )
2023-09-13 15:10:03 +00:00
Tomas Votruba
66134953c2
Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
...
74df7741a7
[PostRector] Fix unused import not removed on empty generic class name exists (#5012 )
2023-09-13 14:39:32 +00:00
Tomas Votruba
26b96f86b2
Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
...
74df7741a7
[PostRector] Fix unused import not removed on empty generic class name exists (#5012 )
2023-09-13 12:31:43 +00:00
Tomas Votruba
a0e75643ae
Updated Rector to commit 935b2b47f5a8581117674f30ab1a725caa301494
...
935b2b47f5
[Config] Move content of private method importFile() to import() method (#5011 )
2023-09-13 08:17:50 +00:00
Tomas Votruba
5272a66ce1
Updated Rector to commit 01c0ea9420b424bf1484c99dbb1185a0cd1c3e61
...
01c0ea9420
[Config] Remove asterisk support in import() for file, use explicit paths instead (#5010 )
2023-09-12 23:04:24 +00:00
Tomas Votruba
ba7988e3e0
Rector 0.18.3
2023-09-12 20:18:14 +00:00
Tomas Votruba
4d86ccbb88
Updated Rector to commit 848c2ad9415b0e536b7864872f895f64104ecb50
...
848c2ad941
Improve Use_ const types in docblocks (#5005 )
2023-09-12 20:17:09 +00:00
Tomas Votruba
57dc6f91d6
Updated Rector to commit 7e2bc1414f8567c55934a32d856e8d92a6e31d0f
...
7e2bc1414f
[DeadCode] Ensure $hasChanged not replaced on next iteration when it assigned to true on RemoveUnusedPrivateMethodParameterRector (#5009 )
2023-09-12 19:06:50 +00:00
Tomas Votruba
0309d949e5
Updated Rector to commit 09baf7dd0ce61eba0944f98977834f18665f3e9f
...
09baf7dd0c
NodeNameResolver: faster isNames() (#5004 )
2023-09-12 12:38:13 +00:00
Tomas Votruba
088accd46c
Updated Rector to commit aeba96a811638e3954028b70d8163c43a8866fa8
...
aeba96a811
Refactor use import resolving (#4998 )
2023-09-12 12:38:05 +00:00
Tomas Votruba
0d6604344e
Updated Rector to commit cbc632c1eda3f2b9aba3fba07b0f1b45cc58caec
...
cbc632c1ed
RenameFunctionRector: prevent repeated isName() calls (#5003 )
2023-09-12 11:58:35 +00:00
Tomas Votruba
f8df0467fb
Updated Rector to commit ef003b2458043b677bdd72522439bd80afb44a2c
...
ef003b2458
refactor: add support for Custom Skip Voters (#5002 )
2023-09-12 08:13:37 +00:00
Tomas Votruba
ac9f7b5076
Updated Rector to commit ffa43a11e01a594d3aaafe4eb5f09f4394e90019
...
ffa43a11e0
[PhpParser] Fix crash read jetbrains/phpstorm-stubs included in phpstan.phar on PHP 8.0 and PHP 7.4 (#5001 )
2023-09-12 07:47:25 +00:00
Tomas Votruba
3c6c1c03f8
Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
...
a2f70054a7
[DocBlock] Update docblock contents right in the rule (#4999 )
2023-09-11 21:30:42 +00:00
Tomas Votruba
35a66f9d23
Updated Rector to commit 596bbc98a25903c525914b4d16ea5f9c76b500fb
...
596bbc98a2
[tests] Replace wildcard e2e test with unit one (#5000 )
2023-09-11 18:33:42 +00:00
Tomas Votruba
9a39b26232
Updated Rector to commit 9e7367ca9296ca986a31abd8bb7d6b3a6b5ef0d8
...
9e7367ca92
Trigger Rectify (#4997 )
2023-09-11 16:07:43 +00:00
Tomas Votruba
df6678519f
Updated Rector to commit ed0be502e5d74171d59e67874f089f69429a01b0
...
ed0be502e5
UseImportsTraverser: don't deep traverse (#4994 )
2023-09-11 15:55:07 +00:00
Tomas Votruba
0acf99c06a
Updated Rector to commit 7b4858b689e23bac39c47ddbf06df4842f453936
...
7b4858b689
[Performance] [NodeNameResolver] Move loop REGEX_WILDCARD_CHARS on last resort after $resolvedName, $desiredName compare to avoid unnecesary loop when possible (#4996 )
2023-09-11 15:30:38 +00:00
Tomas Votruba
4f2f57fa55
Updated Rector to commit 398b6503cd12778c3c0e32b6d4d096452e998ed6
...
398b6503cd
NodeNameResolver: Throw exception in BC breaking path (#4980 )
2023-09-11 15:26:30 +00:00
Tomas Votruba
abed52d2c1
Updated Rector to commit edadb26ab4a156985027b8f685cdeecf4ea4b098
...
edadb26ab4
[Transform] Improve performance of AddAllowDynamicPropertiesAttributeRector (#4995 )
2023-09-11 15:18:16 +00:00
Tomas Votruba
02ce33183a
Updated Rector to commit f733c32f6c44c06faeba9ad5c46a62b8eee11748
...
f733c32f6c
[Transform] Refactor AddAllowDynamicPropertiesAttributeRector with verify both fnmatch and is string name (#4993 )
2023-09-11 15:00:52 +00:00
Tomas Votruba
67ef720476
Updated Rector to commit 780ef4010d45be3e89844dec073ce2078a10f96f
...
780ef4010d
Deprecated PhpDocInfo::markAsChanged() to ensure doc block is changed directly in the Rector rule (#4987 )
2023-09-11 14:54:44 +00:00
Tomas Votruba
ec1242d290
Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
...
8b8a0d1a5d
Prevent unnecessary calls to spl_object_id() (#4992 )
2023-09-11 14:36:30 +00:00
Tomas Votruba
8b577a6b5e
Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
...
8b8a0d1a5d
Prevent unnecessary calls to spl_object_id() (#4992 )
2023-09-11 14:30:03 +00:00
Tomas Votruba
8a7560aff0
Updated Rector to commit b26175631cdad7feac444fac351120541ef3fa03
...
b26175631c
Fix typo in error message (#4989 )
2023-09-11 14:11:01 +00:00
Tomas Votruba
927d670ef2
Updated Rector to commit 27d4c55bebe8706a74273d8c2379f59b75543c0e
...
27d4c55beb
[Transform] Check str_contains * before fnmatch() early on AddAllowDynamicPropertiesAttributeRector (#4991 )
2023-09-11 13:47:00 +00:00
Tomas Votruba
be951e04e1
Updated Rector to commit 878f381d30ddb07c68dfbe828e9cd6e2b77b6c31
...
878f381d30
[Php55] Check str_contains * before fnmatch() early on StringClassNameToClassConstantRector (#4990 )
2023-09-11 13:37:38 +00:00
Tomas Votruba
93e75a5197
Updated Rector to commit bfb759084621dfe23766ebfb43db47fb71ed5512
...
bfb7590846
[CodingStyle] Use str_starts_with() on isName($node, 'test*') on DataProviderArrayItemsNewlinedRector (#4988 )
2023-09-11 13:33:44 +00:00
Tomas Votruba
549bed6da9
Updated Rector to commit b3639f72d73d9471ea8a843f93eb2ca61cd54a56
...
b3639f72d7
Update docblock only when changed, directly in rector rule (#4986 )
2023-09-11 13:16:45 +00:00
Tomas Votruba
0a6aef3c00
Updated Rector to commit c9c3d78d3c5e583b541d06e5827f4f019adc3e40
...
c9c3d78d3c
Remove ununnecesary markAsChanged() in PhpDocTypeChanger (#4984 )
2023-09-11 10:41:08 +00:00
Tomas Votruba
4c20b79d3c
Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
...
ae3608b3d6
Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983 )
2023-09-11 09:47:14 +00:00
Tomas Votruba
282e5517d7
Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
...
ae3608b3d6
Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983 )
2023-09-11 09:08:21 +00:00
Tomas Votruba
ec41ac44ea
Updated Rector to commit 2e6fcdea7e3945a06d2cc229a92567ea52ce9d6d
...
2e6fcdea7e
Remove CurrentRectorProvider and used for docblock changes report, return bool value and node directly in the rector rule instead (#4982 )
2023-09-11 07:55:34 +00:00
Tomas Votruba
59ce553896
Updated Rector to commit 0bb2398438d57d393d7be0d3f7fc2d237cf51e0a
...
0bb2398438
Make BetterPhpDocParser parse node directly (#4981 )
2023-09-11 07:45:38 +00:00
Tomas Votruba
553b67b890
Updated Rector to commit 57ec646b63b0c7804df44fd67990b41d83d56c40
...
57ec646b63
Make PhpDocINfo::removeByType() return bool to inform about changed node (#4979 )
2023-09-11 07:37:02 +00:00
Tomas Votruba
4cbb15f972
Updated Rector to commit 1593d006138230202e20bd209da375ca1e171876
...
1593d00613
[Internals] Decouple output from AbstractRector, narrow debugging output to file path (#4976 )
2023-09-10 20:27:13 +00:00
Tomas Votruba
6c92c9ea3e
Updated Rector to commit 3fcbb533c2d4da174cbfcad1e5d5cfe354dfd884
...
3fcbb533c2
[Internals] Merge PhpFileProcessor to FileProcessor (#4977 )
2023-09-10 20:21:47 +00:00
Tomas Votruba
4b84a2b441
Updated Rector to commit 0c5ad104aee04d680816bbed6224470c7acfb895
...
0c5ad104ae
[DX] Merge WorkerRunner to WorkerCommand, to make context closer (#4972 )
2023-09-10 19:16:46 +00:00
Tomas Votruba
1a37c5b7e2
Updated Rector to commit e4eec89c47fb767dbadb65662c12e2e3b6650cd5
...
e4eec89c47
[Performance][Php55] Remove regex replace e on RegexMatcher (#4974 )
2023-09-10 19:01:55 +00:00
Tomas Votruba
e9556eff4d
Updated Rector to commit 3942c1336b9650e7013094e6ae7118675ea04685
...
3942c1336b
Use link to getrector.com/documentation for create_own_rule.md on build scoped (#4973 )
2023-09-10 18:55:54 +00:00
Tomas Votruba
aaa2d927d5
Updated Rector to commit cda957718f1eb9d1629bc27ed8b060c6f41ce033
...
cda957718f
[Performance][Printer] Reduce regex check use( no space on BetterStandardPrinter (#4971 )
2023-09-10 18:48:21 +00:00
Tomas Votruba
44ac4c0b00
Updated Rector to commit b5c8f9a8930520277828986608fda0b75ef5381a
...
b5c8f9a893
use strlen() directly, as enough for string check (#4969 )
2023-09-10 14:40:14 +00:00
Tomas Votruba
e356a37b38
Updated Rector to commit ead7a25b38797531d9e6a755492200d59b05b1ae
...
ead7a25b38
Remove regex and fnmatch again on NodeNameResolver (#4968 )
2023-09-10 14:33:07 +00:00
Tomas Votruba
973097e0b8
Updated Rector to commit ead7a25b38797531d9e6a755492200d59b05b1ae
...
ead7a25b38
Remove regex and fnmatch again on NodeNameResolver (#4968 )
2023-09-10 13:55:50 +00:00
Tomas Votruba
1e7c1e02b0
Updated Rector to commit ead7a25b38797531d9e6a755492200d59b05b1ae
...
ead7a25b38
Remove regex and fnmatch again on NodeNameResolver (#4968 )
2023-09-10 13:41:40 +00:00
Tomas Votruba
6f00e2bba6
Updated Rector to commit 76cf20f8d4e2bb2a6c01f70e707e58d34c4360f4
...
76cf20f8d4
Fix fixture typo (#4967 )
2023-09-10 13:27:45 +00:00
Tomas Votruba
5995088c4e
Updated Rector to commit ef6c8bcc96bcb35a832ca0e798d580735c58f9ef
...
ef6c8bcc96
[NodeNameResolver] Check regex start delimiter and contains * on NodeNameResolver to use fnmatch() (#4964 )
2023-09-10 13:01:10 +00:00
Tomas Votruba
0208918c02
Updated Rector to commit 071730611619e0b6eb79d18af29480341d4a0361
...
0717306116
Implement a max jobs per worker budget (#4965 )
2023-09-10 12:29:23 +00:00
Tomas Votruba
93a246d47b
Updated Rector to commit 038f8092eaeeaaf044dbd5685d89bc7636143bbc
...
038f8092ea
[Performance][BetterPhpDocPaser] Reduce regex usage on start docblock check on PhpDocInfoPrinter (#4966 )
2023-09-10 12:10:32 +00:00