Commit Graph

15297 Commits

Author SHA1 Message Date
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
Tomas Votruba
a53b9ef444 Updated Rector to commit dfad0c3a53d7ee62aa0ea6e6feede26ada741c58
dfad0c3a53 RenameClassRector with callback support (#3023)
2022-12-17 14:41:49 +00:00
Tomas Votruba
1767bf4e17 Updated Rector to commit b090cedeb5249554f17d811abc61234741d7c207
b090cedeb5 Bump to phpstan ^1.9.4 (#3214)
2022-12-17 14:40:06 +00:00
Tomas Votruba
311e5c0c0c Updated Rector to commit e895bceed66b12ddc80fcf90314ac576ae9efe4f
e895bceed6 [Core] Improve performance: remove repetitive currentFileProvider->setFile() call on PhpFileProcessor (#3213)
2022-12-17 13:44:41 +00:00
Tomas Votruba
33551cbeec Updated Rector to commit 21c9e59aaaae15e1baac98b80b6d3e3be5c5d88d
21c9e59aaa Adapt PrivateConstantToSelfRector to work on non-final classes, too (#3198)
2022-12-17 08:33:16 +00:00
Tomas Votruba
c9d5c64791 Updated Rector to commit 14e60b06039ff4af2e8d4670390fdcf8c66f5cbe
14e60b0603 [Php71] Skip defer() function on RemoveExtraParametersRector (#3211)
2022-12-17 08:32:50 +00:00
Tomas Votruba
baf8af4c9b Updated Rector to commit 7d5d1ce55264aec6d17b3c7013802103c813c0a3
7d5d1ce552 [Core] Performance improvement: Remove unnecessary re-call FileFactory::createFileInfosFromPaths() (#3210)
2022-12-17 08:32:10 +00:00
Tomas Votruba
eaa58f2721 Updated Rector to commit f2e4da5e7f836d1618ece81f646cfe11ea4ac561
f2e4da5e7f [Naming] Skip Doctrine collection with @var Collection<int, Checkbox> on RenamePropertyToMatchTypeRector (#3209)
2022-12-16 18:45:47 +00:00
Tomas Votruba
2b660785e9 Updated Rector to commit 5a4111e518e866379e5cdce1d9b3b282dfccaa3d
5a4111e518 Bump composer dependencies (#3208)
2022-12-16 14:30:13 +00:00
Tomas Votruba
4fefacce80 Updated Rector to commit ee4050a5250045ad14cee2982d49daca1367250b
ee4050a525 Compatibility with BetterReflection 6.x on ClassFromEnumFactory (take 2) (#3207)
2022-12-16 12:43:56 +00:00
Tomas Votruba
addbe36147 Updated Rector to commit bf9d5ab5056bb08317308707c035a45b5b658ea7
bf9d5ab505 Update to phpdoc-parser 1.5.2 (#3205)
2022-12-16 10:54:11 +00:00
Tomas Votruba
6544cfc63c Updated Rector to commit dec1dddede5713915f90b41f932ebbaaf0996a5a
dec1dddede [Privatization] Do not remove comment on ChangeReadOnlyPropertyWithDefaultValueToConstantRector (#3204)
2022-12-16 00:43:16 +00:00
Tomas Votruba
6f77572e6a Updated Rector to commit 79a4c3a8c020f5a254a81838998040b62c76f17b
79a4c3a8c0 Fix wrong reference to replacement rule (#3203)
2022-12-15 14:32:45 +00:00
Tomas Votruba
b607ae2a53 Updated Rector to commit 0d6234b584f14d25e02c8c97afac7f6374aa306c
0d6234b584 [DeadCode] Skip standalone @return false or true on RemoveUselessReturnTagRector (#3202)
2022-12-15 14:08:31 +00:00
Tomas Votruba
5b79ce9485 Updated Rector to commit 40f6d194e78026978fa5af3a0be9d209a511c173
40f6d194e7 [PHP 8.1] Add support for values method in SpatieEnumClassToEnumRector (#3196)
2022-12-15 10:18:35 +00:00
Tomas Votruba
41faaad8b8 Updated Rector to commit e71df1ba87d3c0189112b626e0e44880e3b608bf
e71df1ba87 [DeadCode] Skip append array data on RemoveJustPropertyFetchRector (#3201)
2022-12-14 19:45:13 +00:00
Tomas Votruba
812402ce53 Updated Rector to commit be3bdd0c47220e4116fdeae33d69a59133575cc0
be3bdd0c47 [Php82] Handle parent already readonly on ReadOnlyClassRector (#3199)
2022-12-14 19:42:08 +00:00
Tomas Votruba
bf5297204f Rector 0.15.1 2022-12-14 15:53:50 +00:00
Tomas Votruba
2458235a46 Updated Rector to commit c21cafaf90cab17ae26900679f70461063ab791e
c21cafaf90 [Php82] Add Utf8DecodeEncodeToMbConvertEncodingRector (#3195)
2022-12-14 11:13:45 +00:00