Commit Graph

15215 Commits

Author SHA1 Message Date
Tomas Votruba
3e51438f07 Updated Rector to commit 5b76f7b43b18b04c4eb32fbf55d6795478a09a43
5b76f7b43b [TypeDeclaration] Handle comment + single docblock on TypedPropertyFromAssignsRector (#3264)
2023-01-02 16:27:11 +00:00
Tomas Votruba
11b6f003b8 Updated Rector to commit a94a11a157b69172d32dbdd6de3328d313f9f5ce
a94a11a157 [Utils] Add ArrayChecker util to verify first data found on given array (#3262)
2023-01-02 12:05:00 +00:00
Tomas Votruba
0fc42c2559 Updated Rector to commit 47fa234379b7b9f28081e8bc6e683628f8d53f2b
47fa234379 [CodeQuality] Add Variable support on class arg on InlineIsAInstanceOfRector (#3261)
2023-01-02 11:58:30 +00:00
Tomas Votruba
b8f374dc0e Updated Rector to commit cba980b719f48eb580f8afcf4e3843843436ba35
cba980b719 [NodeRemoval] Refactor NodeRemover to always use removeNode() method to ensure Node in NodesToRemoveCollector (#3255)
2023-01-02 11:53:04 +00:00
Tomas Votruba
fe418cfdc0 Updated Rector to commit 79a34f9e0116081e31472c2d6cd415e7d077c21f
79a34f9e01 [CodeQuality] Handle class-string case insensitive on CompleteDynamicPropertiesRector (#3260)
2023-01-02 11:52:28 +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
cc6482f10f Updated Rector to commit e61c1774f94bfd37023ad789542200a63f8ce9cd
e61c1774f9 [Core] Make consistent BetterNodeFinder findParent and findParentByTypes (#3258)
2022-12-31 23:46:11 +00:00
Tomas Votruba
1ccd0845db Updated Rector to commit eadd54081521c7d426a8d4249157f6239dd2bc8a
eadd540815 [Core] Remove ParentAttributeSourceLocator (#3257)
2022-12-31 10:11:25 +00:00
Tomas Votruba
dbb3bb2510 Updated Rector to commit 6bd6b3cc85138b0d2b754175fad616d02cea6b72
6bd6b3cc85 PHP80 string helpers loose comparison (#3246)
2022-12-29 13:26:54 +00:00
Tomas Votruba
e8d8146deb Updated Rector to commit 0146fc085ba712bc4d3713ef89bdb06e8e1d959f
0146fc085b bump deps
2022-12-29 12:31:28 +00:00
Tomas Votruba
b6297a1113 Updated Rector to commit 384e84a982b8535dc06e49c0ed90b1979029e0e8
384e84a982 refactors Spatie enum method calls to native enums (#3226)
2022-12-28 12:01:35 +00:00
Tomas Votruba
8a89fc1eb2 Updated Rector to commit ac2f8537c1f5b9739baaeeb8228d514b29c6b0b6
ac2f8537c1 [CodeQuality] Handle crash on ReturnTypeFromStrictScalarReturnExprRector on ConditionalTypeForParameter (#3254)
2022-12-25 14:11:20 +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
dfa8f9c12d Updated Rector to commit 9a0938d8df9d8771d8d423eb4719cd7fe3b1ba0e
9a0938d8df [e2e] handle multiple classes with anonymous class on MultipleClassFileToPsr4ClassesRector file removed (#3253)
2022-12-25 10:55:21 +00:00
Tomas Votruba
e440ad7b16 Updated Rector to commit bce8153e31b935df3d259aec1c9a8aa31c82c60a
bce8153e31 [TypeDeclaration] Fix TypedPropertyFromStrictGetterMethodReturnTypeRector for default type (#3251)
2022-12-24 18:17:16 +00:00
Tomas Votruba
3eeb2d2e9f Updated Rector to commit bebea616b351da2dc0d2bc1c56870ccb15a18ca5
bebea616b3 Bump changelog generator (#3250)
2022-12-24 17:23:55 +00:00
Tomas Votruba
5bc89fa73d Rector 0.15.2 2022-12-24 12:55:36 +00:00
Tomas Votruba
5b34b9720c Updated Rector to commit f8814b1d707d72e284870759d1f446848fa003b2
f8814b1d70 [CodeQuality] Remove type addition on CompleteDynamicPropertiesRector (#3248)
2022-12-24 12:53:34 +00:00
Tomas Votruba
374d2f5b25 Updated Rector to commit f8814b1d707d72e284870759d1f446848fa003b2
f8814b1d70 [CodeQuality] Remove type addition on CompleteDynamicPropertiesRector (#3248)
2022-12-24 08:30:16 +00:00
Tomas Votruba
5003a01d69 Updated Rector to commit e920ade7b67a17dbf7e6129585a3261f1fd1540e
e920ade7b6 Fix typo (#3247)
2022-12-23 18:05:16 +00:00
Tomas Votruba
f233f27e7d Updated Rector to commit ab3ad293122bafa96d9e8fc64ac15f0220aa9ecc
ab3ad29312 cleanup phpstan
2022-12-23 17:23:46 +00:00
Tomas Votruba
727b9f46f0 Updated Rector to commit bfa1891c50677b01136a9308fd3c3ecc12e267d9
bfa1891c50 [cleanup] Remove 73 unused public methods (#3245)
2022-12-23 17:10:25 +00:00
Tomas Votruba
680ba23c17 Updated Rector to commit 88629427917b7d359beeb1a0b34d39d2127472b9
8862942791 [CodingStyle] Skip EncapsedStringsToSprintfRector on heredoc (#3242)
2022-12-23 08:45:28 +00:00
Tomas Votruba
e4dc6018da Updated Rector to commit 3c168f03d38bb967a5e65e453f82adf120ef4eba
3c168f03d3 [CodingStyle] Skip new line /\r\n|\r|\n/i on ConsistentPregDelimiterRector (#3241)
2022-12-22 21:24:01 +00:00
Tomas Votruba
96d8a22628 Updated Rector to commit 70fea54e77ffd186e41540d2b36c5362b073fbc4
70fea54e77 [DeadCode] Add TargetRemoveClassMethodRector (#3240)
2022-12-22 17:06:53 +00:00
Tomas Votruba
d72c810c78 Updated Rector to commit c78e255cf9cb17cedead84ff8a54f421f563942d
c78e255cf9 Fix @return docblock on IfManipulator (#3239)
2022-12-22 16:53:25 +00:00
Tomas Votruba
1013215a6c Updated Rector to commit ea223437f27820fa43a96bf17839d7d1b88417d1
ea223437f2 [Php81] Skip ReadOnlyPropertyRector on read only class (#3236)
2022-12-22 14:22:43 +00:00
Tomas Votruba
14c48f409f Updated Rector to commit 72f57a16cbc27099ca0d9a81d43063ebcca6b840
72f57a16cb [Strict] Fix warning configurable rector rules on BooleanInTernaryOperatorRuleFixerRector (#3237)
2022-12-22 14:21:31 +00:00
Tomas Votruba
67958340fd Updated Rector to commit 7f8f9f818e7abf6e55a10648440d4079b4f5803f
7f8f9f818e [Core] Improve performance on AstResolver and ClassLikeAstResolver (#3234)
2022-12-22 11:35:32 +00:00
Tomas Votruba
efb1e95fb5 Updated Rector to commit 84faf2905518aad5fb97caf613517f8a50827867
84faf29055 Update generate-changelog command to use objects, add simple filtering (#3232)
2022-12-21 17:45:30 +00:00
Tomas Votruba
fd9f761fe2 Updated Rector to commit 84faf2905518aad5fb97caf613517f8a50827867
84faf29055 Update generate-changelog command to use objects, add simple filtering (#3232)
2022-12-21 15:27:32 +00:00
Tomas Votruba
e470fd1061 Updated Rector to commit 84faf2905518aad5fb97caf613517f8a50827867
84faf29055 Update generate-changelog command to use objects, add simple filtering (#3232)
2022-12-21 15:18:30 +00:00
Tomas Votruba
ebb02bd9e8 Updated Rector to commit 84faf2905518aad5fb97caf613517f8a50827867
84faf29055 Update generate-changelog command to use objects, add simple filtering (#3232)
2022-12-21 13:17:32 +00:00
Tomas Votruba
a5afc7b66c Updated Rector to commit 432d3e46a296babeea02c1e9d6633079011a303e
432d3e46a2 [NodeTraverser] Use NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN instead of NodeTraverser::DONT_TRAVERSE__CHILDREN (#3233)
2022-12-21 13:01:53 +00:00
Tomas Votruba
f4f085ed27 Updated Rector to commit f13207737e25fef30190c1746a314b7e1dec6eb2
f13207737e [CodingStyle] Add NullifyUnionNullableRector (#3231)
2022-12-21 11:07:20 +00:00
Tomas Votruba
705057ef68 Updated Rector to commit b1fff57b7bdd56bff43211412483d6c33880533b
b1fff57b7b [Core] Make consistent only setAnalysedFiles() from PHPStan NodeScopeResolver in both parallel and non-parallel for .php files (#3221)
2022-12-21 09:35:27 +00:00
Tomas Votruba
d640953d4e Updated Rector to commit c80cd6f1f03f6f4e1b1aee6504126699e6a06fe3
c80cd6f1f0 [TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230)
2022-12-21 08:01:21 +00:00
Tomas Votruba
6025307990 Updated Rector to commit c80cd6f1f03f6f4e1b1aee6504126699e6a06fe3
c80cd6f1f0 [TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230)
2022-12-20 21:37:46 +00:00
Tomas Votruba
13fa9d478f Updated Rector to commit 394fa70c963bb059acd6aae4b998173bdfc6c80c
394fa70c96 [TypeDeclaration] Add FalseReturnClassMethodToNullableRector (#3229)
2022-12-20 20:40:25 +00:00
Tomas Votruba
856f8421c0 Updated Rector to commit cf2805b27271b3c2340436f2db13edab5a49b339
cf2805b272 [TypeDeclaration] Skip optional yield on AddReturnTypeDeclarationFromYieldsRector (#3228)
2022-12-20 18:14:53 +00:00
Tomas Votruba
3f73a89cd7 Updated Rector to commit 25ccfe16df37697af6cbaeef8eca84c5f05048fa
25ccfe16df [TypeDeclaration] Skip yield return on AddClosureReturnTypeRector (#3227)
2022-12-20 17:45:58 +00:00
Tomas Votruba
a126aac35f Updated Rector to commit bb8dedd178dd26c4b8d2653e9f97dae6da01c950
bb8dedd178 [CodeQuality][TypeDeclaration] Handle default value from constructor removed on InlineConstructorDefaultToPropertyRector+TypedPropertyFromStrictConstructorRector (#3225)
2022-12-20 17:24:54 +00:00
Tomas Votruba
2adf37a5b5 Updated Rector to commit 36fcdc14e0828486c7a7a3ce8df723d712aeb2d7
36fcdc14e0 [CodeQuality] Add empty() check to FlipTypeControlToUseExclusiveTypeRector (#3224)
2022-12-20 14:53:37 +00:00
Tomas Votruba
7cf552fc44 Updated Rector to commit 980dc83d2f4e2853658562fb86c1dc31ef182c21
980dc83d2f [parallel] Improve performance: Run RemovedAndAddeedFileProcessor after loop (#3219)
2022-12-19 13:55:11 +00:00
Tomas Votruba
24dfd08e91 Updated Rector to commit 980dc83d2f4e2853658562fb86c1dc31ef182c21
980dc83d2f [parallel] Improve performance: Run RemovedAndAddeedFileProcessor after loop (#3219)
2022-12-19 11:24:08 +00:00
Tomas Votruba
37344332a6 Updated Rector to commit 2624b4980d9fca8d497fb012828b7201909c21e4
2624b4980d [Parallel] Fix missing process RemovedAndAddedFilesProcessor->run() on parallel process on WorkerRunner (#3218)
2022-12-19 11:11:17 +00:00
Tomas Votruba
d98c9e5750 Updated Rector to commit 8354587b777450cb9f2e3bd48cf750d81b78cf05
8354587b77 [Core] Remove deprecated ContainerConfigurator warning since RectorConfig available since 0.12 (#3217)
2022-12-18 16:29:44 +00:00
Tomas Votruba
86550a9ea2 Updated Rector to commit 8354587b777450cb9f2e3bd48cf750d81b78cf05
8354587b77 [Core] Remove deprecated ContainerConfigurator warning since RectorConfig available since 0.12 (#3217)
2022-12-18 16:22:29 +00:00
Tomas Votruba
cc9debaefb Updated Rector to commit 135483f78fb5d4191190453b762906097024aa98
135483f78f [Privatization] Skip used by heredoc on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#3216)
2022-12-18 16:21:48 +00:00
Tomas Votruba
e1a1e9af63 Updated Rector to commit e35497e40a8f71ef8c602759922457289d06821a
e35497e40a [Php81] Allow explicit mixed processed on trait on NullToStrictStringFuncCallArgRector (#3212)
2022-12-17 14:48:31 +00:00