Commit Graph

3077 Commits

Author SHA1 Message Date
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 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 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 7c46ba037e Updated Rector to commit c21cafaf90cab17ae26900679f70461063ab791e
c21cafaf90 [Php82] Add Utf8DecodeEncodeToMbConvertEncodingRector (#3195)
2022-12-14 10:07:44 +00:00
Tomas Votruba a6cbd606d0 Updated Rector to commit f20fd6e9daf997a2116f34a305d2c9afa72d393a
f20fd6e9da Bump phpdoc-parser to 1.15.0 (#3194)
2022-12-13 15:54:47 +00:00
Tomas Votruba 12fbd94766 Updated Rector to commit 30bc9ac21ab0e2acbd617954ed6358557514e188
30bc9ac21a [Core] Refactor NodeComparator::areSameNode() to always compare printed node on last (#3193)
2022-12-13 13:56:55 +00:00
Tomas Votruba 04232cb88d Updated Rector to commit d80ddd193deeebd47e765dfb58d300faaedc25b4
d80ddd193d [CodeQuality] Handle possible crash on ParametersAcceptorSelector::selectSingle() on OptionalParametersAfterRequiredRector (#3192)
2022-12-13 12:09:37 +00:00
Tomas Votruba 7924f6944c Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
de008767d9 Replace static with self for private constants (#3178)
2022-12-12 12:29:16 +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
Tomas Votruba 26753f8f8b Updated Rector to commit 96c457badfd0c198a57a758c552ec82aee0049de
96c457badf Fix RenamePropertyToMatchTypeRector for non-docblocks properties (#3189)
2022-12-11 17:49:34 +00:00
Tomas Votruba fd21735258 Updated Rector to commit 809467ed2ddb362ad833142177d3148cfaf368bc
809467ed2d Fix no return in ChangeSwitchToMatchRector (#3188)
2022-12-11 16:30:49 +00:00
Tomas Votruba aec87d7b85 Updated Rector to commit 4a03eb97153dd3d3868d90feeb0a269f3be754e6
4a03eb9715 [DeadCode] Skip expr as MethodCall or StaticCall from ClassMethod @return string docblock on RecastingRemovalRector (#3187)
2022-12-11 16:22:41 +00:00
Tomas Votruba 38a6f76199 Updated Rector to commit 8bf7073f83f1758013cdecc804075ddce316f0f5
8bf7073f83 [Php81] Skip const Fetch non static method on FirstClassCallableRector (#3183)
2022-12-11 15:37:59 +00:00
Tomas Votruba 6c239a0299 Updated Rector to commit 5ccf468c144112121d0ab7933430a796d82ef8a2
5ccf468c14 [Privatization] Use PropertyManipulator::isUsedByTrait() on ParentPropertyLookupGuard for PrivatizeFinalClassPropertyRector (#3185)
2022-12-11 10:36:44 +00:00
Tomas Votruba e288bdf650 Updated Rector to commit 802d98e8c6cb0b29c731e2238160b860b33be13c
802d98e8c6 [Php72] Handle crash on trailing comma last on WhileEachToForeachRector (#3186)
2022-12-11 10:32:24 +00:00
Tomas Votruba c529321b60 Updated Rector to commit e4791145fc9ec5709183c9af173f33e780109fb6
e4791145fc [Php81] Allow normal variable in trait on NullToStrictStringFuncCallArgRector (#3181)
2022-12-10 15:34:03 +00:00
Tomas Votruba 43883a9642 Updated Rector to commit e1f7637ca3a2fd4064053f1d70179acd064ed2a6
e1f7637ca3 Fix trait property visibility in PrivatizeFinalClassPropertyRector (#3182)
2022-12-10 15:03:24 +00:00
Tomas Votruba 7cccf103fd Updated Rector to commit 91f4caeba4b8fbaeb8928fcd1f9d526b076154f5
91f4caeba4 [PHP 8.1] Skip trait in NullToStrictStringFuncCallArgRector as unknown context (#3180)
2022-12-10 12:49:18 +00:00
Tomas Votruba c4151416ec Updated Rector to commit 44ebacea719f64590b4644081e862437be7ce466
44ebacea71 [Php80] Do not remove Parameter attribute on ClassPropertyAssignToConstructorPromotionRector (#3179)
2022-12-10 11:57:52 +00:00
Tomas Votruba 7d6c5d58c3 Updated Rector to commit b23e1fb2ea7795a7f7bb3f6232e4fa82aa26b199
b23e1fb2ea [DeadCode] Skip Class Constant used in Enum on RemoveUnusedPrivateCla… (#3174)
2022-12-09 21:47:53 +00:00
Tomas Votruba bf6dd6454a Updated Rector to commit 4ba03abd12be377a7227ace643c670daec31246f
4ba03abd12 [CodeQuality][CodingStyle] Handle crash on SimplifyIfReturnBoolRector+NewlineAfterStatementRector+StringClassNameToClassConstantRector (#3175)
2022-12-09 20:05:20 +00:00
Tomas Votruba f63eee898e Updated Rector to commit 863fee39147717a4f85c42eacaec28fe6971ac52
863fee3914 [PHPStanStaticTypeMapper] Handle Nullable Type on UnionType on UnionTypeMapper when possible (#3173)
2022-12-09 11:23:23 +00:00
Tomas Votruba 7e4cd5dfba Updated Rector to commit bbd9d4fa2c6811c9c68984549d2c0dfb68232219
bbd9d4fa2c [CodeQuality] Skip non typed property no default value never assigned on SimplifyEmptyCheckOnEmptyArrayRector (#3171)
2022-12-08 10:16:49 +00:00
Tomas Votruba 6cbbfd0d97 Updated Rector to commit 2848e0d0cc5b819ba90fb1393ee2607b9eac555d
2848e0d0cc [Core] Use FullyQualifiedObjectType and ThisType detection for local property fetch on PropertyFetchAnalyzer (#3172)
2022-12-08 10:12:10 +00:00
Tomas Votruba 0a53c32d58 Updated Rector to commit f8ad265fa5e4c58a4d0e973a73cac2c4e1efcb3f
f8ad265fa5 [CodeQuality] Handle BooleanNot on SimplifyEmptyCheckOnEmptyArrayRector (#3170)
2022-12-07 23:23:54 +00:00
Tomas Votruba 653c1c8d93 Updated Rector to commit 84b54c0949ae4d0b642899b12f15a6cd53f7554a
84b54c0949 [Php82] Skip ReadOnlyClassRector on has parent non-readonly class (#3169)
2022-12-07 17:34:36 +00:00
Tomas Votruba e381b4574f Updated Rector to commit 99ac0029803859361b510f46cf13bb88153367ee
99ac002980 [TypeDeclaration] Skip void return on AddArrowFunctionReturnTypeRector (#3167)
2022-12-07 17:13:54 +00:00
Tomas Votruba 50000ad3ec Updated Rector to commit b8aff0861788200f2e098191118d1e5e8948a242
b8aff08617 Do not apply property promotion to parameters with the SensitiveParameter attribute (#3165)
2022-12-07 15:32:15 +00:00
Tomas Votruba 4397f883bd Updated Rector to commit 7636b888661966e3679770d868481cd02e31517f
7636b88866 [CodeQuality] Skip stdClass in IssetOnPropertyObjectToPropertyExistsRector, as always nested (#3166)
2022-12-07 15:29:56 +00:00
Tomas Votruba 37d402dcce Updated Rector to commit 045ada5f68b80eeea5edadb202d621007f7baf90
045ada5f68 [TypeDeclaration] Skip multi return types on ReturnTypeFromReturnDirectArrayRector (#3164)
2022-12-07 15:27:26 +00:00
Tomas Votruba bd0997346d Updated Rector to commit f35326d7010fa42458b44d3896b4791dcc22f78a
f35326d701 [TypeDeclaration] Remove PhpDocTypeChanger->changeVarType() on TypedPropertyFromAssignsRector (#3163)
2022-12-06 16:54:58 +00:00
Tomas Votruba 639da95550 Updated Rector to commit 44c95d4157d8b3d2db32e9c352c0202064ad0a40
44c95d4157 Add skipped Rectors to list-rules (#3162)
2022-12-06 13:36:55 +00:00
Tomas Votruba 7bd500a158 Updated Rector to commit d3abaa1d05318488f8c1f401fc46a9e48b056d4f
d3abaa1d05 [TypeDeclaration] Handle Anonymous class extends existing class in union (#3161)
2022-12-06 13:12:41 +00:00
Tomas Votruba 80576040f6 Updated Rector to commit 91ebee8f0771ec3dbfbb1108e996ecf2351e6e9a
91ebee8f07 [TypeDeclaration] Skip union mixed on TypedPropertyFromAssignsRector (#3160)
2022-12-06 10:28:55 +00:00
Tomas Votruba 228e63ca2e Updated Rector to commit 001fb3fe9252b8f03705caf5bd288a513834a8a8
001fb3fe92 [CodingStyle] Split SplitGroupedConstantsAndPropertiesRector to SplitGroupedClassConstantsRector and SplitGroupedPropertiesRector (#3158)
2022-12-05 15:46:09 +00:00
Tomas Votruba a3ac4e57af Updated Rector to commit 3149ea4ebb6e3ec324ebb0e9e58db0fef7e2a9a8
3149ea4ebb revert previous misscommit
2022-12-05 13:28:47 +00:00
Tomas Votruba 84ab546ff7 Updated Rector to commit b56440ac4b137539230a3e907c36f1705c7ed5f4
b56440ac4b allow compatible phpdoc-parser (#3157)
2022-12-05 13:25:12 +00:00
Tomas Votruba b12a622f23 Updated Rector to commit 3f1a285063f1c40d4c1a2bcdfc7d622ed63d5db6
3f1a285063 [Core] Fix crash indentation on indent(\t, 1) config (#3155)
2022-12-05 11:04:26 +00:00
Tomas Votruba 62c3ac9363 Updated Rector to commit f4ff24c16110daa22312f443fd25e88060e17123
f4ff24c161 Skip short class names in UseClassKeywordForClassNameResolutionRector (#3156)
2022-12-05 11:03:13 +00:00
Tomas Votruba fbfbe499d0 Rector 0.15.0 2022-12-04 22:40:18 +00:00
Tomas Votruba ab11a00c74 Updated Rector to commit 25dec6b32504d747ff62193ff4704144ca10b040
25dec6b325 Rollback ClassRenamePhpDocNodeVisitor to use clone  to avoid unnecessary touch Identifier when no change (#3154)
2022-12-04 17:34:34 +00:00
Tomas Votruba 3d977e083e Updated Rector to commit 16680c4f102d8155d94340307e8ec02c03ac42ed
16680c4f10 Bump to phpstan/phpdoc-parser:^1.14 (#3153)
2022-12-04 15:21:41 +00:00
Tomas Votruba c390fa85ec Updated Rector to commit 4e9214f313edac16dbb4ff6ac48da2d1d706a360
4e9214f313 Copy tests from symplify/autowire-array-parameter (#3152)
2022-12-04 14:35:28 +00:00
Tomas Votruba 113d4ed2e7 Updated Rector to commit 58069c319777423311a4877733c01c54394c3a27
58069c3197 static fixes
2022-12-04 13:38:03 +00:00
Tomas Votruba 2a553a9afd Updated Rector to commit 3dea2bdc4de76d217cc2d67cce4ccb41d2b4c7f3
3dea2bdc4d skip false positive chagne report on RemoveUselessParamTagRector (#3151)
2022-12-04 13:35:33 +00:00
Tomas Votruba 83accd4a98 Updated Rector to commit efd09bbb400b2382be39effc206551e6964fa5ea
efd09bbb40 Compatibility with BetterReflection 6.x on ClassFromEnumFactory (#3150)
2022-12-04 13:15:14 +00:00
Tomas Votruba 642698e22d Updated Rector to commit e8a252fe262cac38eb74b9584f78e2daee006ffa
e8a252fe26 Fix test error Call to undefined method Rector\Config\RectorConfig::disableImportNames() (#3147)
2022-12-03 12:33:51 +00:00
Tomas Votruba 82eda1fecd Updated Rector to commit d670b4e50deb738f15d77c6a4f7fe773791c871f
d670b4e50d [docs] cleanup, add links to the official docs
2022-12-03 11:10:19 +00:00
Tomas Votruba 670f9998e8 Updated Rector to commit 1f46de3de704155da47e3b8d87312224cb5550d6
1f46de3de7 indent
2022-12-03 10:53:17 +00:00
Tomas Votruba 3920dabc60 Updated Rector to commit cc37f412da23302e38d8ccecce625576ba883b0f
cc37f412da space
2022-12-03 10:52:32 +00:00
Tomas Votruba d2a6e3f136 Updated Rector to commit 06cb6754d6f04703093905fbaddbbbe4f9546a22
06cb6754d6 move package ci status directly to README to make easier to discovery
2022-12-03 10:51:45 +00:00
Tomas Votruba afd435c4e5 Updated Rector to commit 0f0d93ec97edfcdca58f0f5b65e9b7b578f19f60
0f0d93ec97 [config] fix missing indent size (#3145)
2022-12-03 10:40:36 +00:00
Tomas Votruba c09a0ac83d Updated Rector to commit f30593c3ae24948041136796a6e0dad80342876e
f30593c3ae fix misisng method
2022-12-03 10:40:09 +00:00
Tomas Votruba 5365b49bf8 Updated Rector to commit a4e7a4371a1a85f2dd3fcb9ec7d9de2a8a04d3b9
a4e7a4371a remove deprecated APPLY_AUTO_IMPORT_NAMES_ON_CHANGED_FILES_ONLY option
2022-12-03 10:32:39 +00:00
Tomas Votruba c142c944a1 Updated Rector to commit 5936f82a40b1e9626718f224a6c1a981d789f582
5936f82a40 skip autoimport of docblocks too
2022-12-03 10:25:04 +00:00
Tomas Votruba 313379d206 Updated Rector to commit 2f0fca8ba89353a96a8f3a1aecdc8b5db028fc0f
2f0fca8ba8 remove deprecated RectorConfig::disableImportNames(), use importNames(false) instead
2022-12-03 10:17:25 +00:00
Tomas Votruba 425778e348 Updated Rector to commit 750758971cd05a576eb9928d5dbbad6fbc36d0d4
750758971c remove deprecated RectorConfig::disableImportShortClasses(), use importShortClasses(false) instead
2022-12-03 10:17:15 +00:00
Tomas Votruba d61fad8ff5 Updated Rector to commit d4173d7a869cae0775c476dbce302cacb44f1e3a
d4173d7a86 remove no rector use
2022-12-03 10:10:49 +00:00
Tomas Votruba df7c74ec60 Updated Rector to commit 16647397cc155594371858f316bd82e9dd436117
16647397cc [Php55] Handle crash on curly parentheses delimiter on PregReplaceEModifierRector (#3144)
2022-12-03 09:23:44 +00:00
Tomas Votruba 091bb20142 Updated Rector to commit 139c19cbdf666ce3df7dea712faaf84772f19051
139c19cbdf Fix foreach key evaluation for SimplifyForeachToArrayFilterRector. (#3100)
2022-12-03 07:01:22 +00:00
Tomas Votruba c742d0130f Updated Rector to commit 12ea285bcd922dbacaaed44a4819c7ee3477b1c2
12ea285bcd simplify PHPStanStaticTypeMapper (#3143)
2022-12-02 15:40:44 +00:00
Tomas Votruba 8ed08b4e24 Updated Rector to commit 962dfc600487e2312c5a80fc675b57df29db5976
962dfc6004 return bare run
2022-12-02 14:16:42 +00:00
Tomas Votruba 3c99dc15fc Updated Rector to commit a31ae50227e48b078b9a3e78da55507a23127887
a31ae50227 Add Missing in Set Command to CI + complete sets from their category (#3141)
2022-12-02 14:15:07 +00:00
Tomas Votruba 91e646a878 Updated Rector to commit 7648780936ffae358b4f79230923ee61dde30e14
7648780936 Use Symfony 6.1 to avoid BC break now (#3142)
2022-12-02 14:00:07 +00:00
Tomas Votruba 949696b350 Updated Rector to commit 076642f73eee5814a096552c33b28740fbbd48ce
076642f73e [Scoper] Remove manual register DowngradeEnumToConstantListClassRector on config-downgrade.php (#3138)
2022-12-02 12:17:17 +00:00
Tomas Votruba 712a8e76ba Updated Rector to commit c2c4970b65302b216724ad1faa639354e487a30e
c2c4970b65 [Set] Add missing LevelSetList::UP_TO_PHP_53 (#3139)
2022-12-02 12:17:13 +00:00
Tomas Votruba 6a49e0a4b7 Updated Rector to commit 3699f33c2b928990e05fc17a1f2aec80966dfaec
3699f33c2b Remove symfony/property-access from require-dev (#3140)
2022-12-02 12:15:57 +00:00
Tomas Votruba 5e2e700040 Updated Rector to commit d2064068055fb25da2c245515a6c6260fbe6a597
d206406805 [PHP 8.1] Add other methods to ClassFromEnumFactory
2022-12-01 18:05:56 +00:00
Tomas Votruba 3d2c841cea Updated Rector to commit 4e15a691a006b0ee95df856ac18f8a2b399ccfad
4e15a691a0 temporarily skip list
2022-12-01 18:01:51 +00:00
Tomas Votruba 09f8be2dde Updated Rector to commit f387890dbeba0617f9a4f98f44ac1c8f08e6c1b0
f387890dbe [build] add enum to const list downgrade
2022-12-01 16:57:08 +00:00
Tomas Votruba fc7f082962 Updated Rector to commit 22b612ef79a1437b891d94154285ad4a2a3e0576
22b612ef79 [Naming] Handle crash on VariableNaming::resolveBareFromNode() on unwrapNode() return null (#3136)
2022-12-01 14:39:21 +00:00
Tomas Votruba ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba 9bae807e4c Updated Rector to commit 64c03bdd16b666a482a27fad2086b1539b7d557c
64c03bdd16 [TypeDeclaration] Deprecate unreliable AddArrayReturnDocTypeRector, used split strict typed rules instead (#3133)
2022-11-30 15:15:38 +00:00
Tomas Votruba 70b85c0532 Updated Rector to commit 36e9b6cf74173091196fd91c858f663e65bb9af1
36e9b6cf74 [build] remove docs from remote, to allow updates
2022-11-30 12:08:14 +00:00
Tomas Votruba 42cb6fc0b5 Updated Rector to commit b1e22bb59aa41b69ea3d0a0632978d3082e83c76
b1e22bb59a [docs] remove unused images
2022-11-30 12:04:40 +00:00
Tomas Votruba 80187d02e3 Updated Rector to commit e3d4d706ca862a201725cd545410e56306856c04
e3d4d706ca [docs] remove dobblock/comments section, way too detailed and not useful for general use
2022-11-30 11:49:42 +00:00
Tomas Votruba b84808cfa7 Updated Rector to commit 7a65218f2442c2ad4e6d7ecbc55560408522fe08
7a65218f24 Remove auto import on changed files only to avoid too detailed setup and making ambiguous code (#3132)
2022-11-30 07:38:26 +00:00
Tomas Votruba a91bb662d1 Updated Rector to commit 7331d043786c1f74eff315fcc1d55032e9939dfc
7331d04378 [TypeDeclaration] Use existing MakePropertyTypedGuard on TypedPropertyFromStrictConstructorRector (#3131)
2022-11-30 01:03:05 +00:00
Tomas Votruba 8c4eaabd37 Updated Rector to commit 02bdae0fcfae253c103638411300625f474aa67c
02bdae0fcf [TypeDeclaration] Skip doctrine collection type (#3130)
2022-11-29 20:32:30 +00:00
Tomas Votruba 9e5592263d Updated Rector to commit e28b04a36a9fc2020dd5d3ff97dfa322c61d17b4
e28b04a36a [TypeDeclaration] Make TypedPropertyFromStrictSetUpRector use Class_ (#3129)
2022-11-29 20:22:22 +00:00
Tomas Votruba 2f473df977 Updated Rector to commit e8e3bd5ed90bab56caef0c0fc5829e42efb9f9ba
e8e3bd5ed9 [TypeDeclaration] Skip property names in TypedPropertyFromStrictConstructorRector (#3128)
2022-11-29 19:26:20 +00:00
Tomas Votruba ab712cfd9a Updated Rector to commit 571a1e6067342b21c2baaa10976103915299b0c6
571a1e6067 docs
2022-11-29 16:10:51 +00:00
Tomas Votruba 29f73e023d Updated Rector to commit 85845707ba3326888bf7a7287f942dfc9d0a6783
85845707ba [Php74] Register TypedPropertyFromAssignsRector to php74 config set (#3127)
2022-11-29 16:07:36 +00:00
Tomas Votruba 782f920c5f Updated Rector to commit 3f2a16a0166d301162482c91d2ead5e9125c0d14
3f2a16a016 [Php80] Make configurable INLINE_PUBLIC on ClassPropertyAssignToConstructorPromotionRector (#3126)
2022-11-29 15:48:49 +00:00
Tomas Votruba cbd1da8466 Updated Rector to commit 2b35d2e75ea03ffe643c012485952ec6df3ea2ba
2b35d2e75e [TypeDeclaration] Move Rector Enterprise TypeDeclaration rules here (#3125)
2022-11-28 20:42:41 +00:00
Tomas Votruba 789d270789 Updated Rector to commit ecec40ce9d1b075c65dbbbabe38dbd70d5a50df5
ecec40ce9d [DeadCode] Skip re-assigned variable in RemoveJustPropertyFetchRector (#3124)
2022-11-28 16:12:25 +00:00
Tomas Votruba d60996d358 Updated Rector to commit 63ca8727cbf38fdbcc1a68c429ce3dc2340f268e
63ca8727cb [DeadCode] Fix RemoveJustPropertyFetchRector to skip concat assigns (#3123)
2022-11-28 15:58:59 +00:00
Tomas Votruba 7a4c4657bb Updated Rector to commit 67ec259ce70190a02d29c697dfb2d325f781d8aa
67ec259ce7 [TypeDeclaration] Disable and deprecate PropertyTypeDeclarationRector and TypedPropertyRector, to avoid breaks; use split strict rules instead (#3122)
2022-11-28 15:11:02 +00:00
Tomas Votruba bcdfbe4726 Updated Rector to commit 6014da46149a6f8312c1931534eea48bafeda12d
6014da4614 Remove NonInformativeReturnTagRemover (#3121)
2022-11-28 14:43:16 +00:00
Tomas Votruba 6d4224583e Updated Rector to commit e3bea6625da7cce29eaa3d7016825be0d36e8a89
e3bea6625d typos
2022-11-28 12:58:17 +00:00
Tomas Votruba 3965103e78 Updated Rector to commit dd44b98fd9da53cdc02797a8b6400df514bf2438
dd44b98fd9 deprecate generic and breaking PropertyTypeDeclarationRector
2022-11-28 12:52:40 +00:00
Tomas Votruba d192e83312 Updated Rector to commit 325387738852fd1be30b8918910b049967a368e2
3253877388 [TypeDeclaration] Remove and disable breaking ReturnTypeDeclarationRector, use split rules instead (#3120)
2022-11-28 12:49:02 +00:00
Tomas Votruba 09d2ee9618 Updated Rector to commit 696ddd92aa288b3ade2075688faef2b3d81f5101
696ddd92aa [TypeDeclaration] Remove existing type override in ReturnTypeDeclarationRector (#3119)
2022-11-28 12:26:04 +00:00
Tomas Votruba 44ed5df29f Updated Rector to commit 9ffa707afd96ae67e73d52a1e1dfab478d251e12
9ffa707afd Remove unused priority aware sorter etc (#3118)
2022-11-28 12:14:20 +00:00
Tomas Votruba 23a994ee6e Updated Rector to commit 183bb5bda001a9d8d7302a350fe4c8979dbe4f19
183bb5bda0 Remove ReturnTypeDeclarationReturnTypeInferer (#3117)
2022-11-28 12:02:35 +00:00
Tomas Votruba 7feb5bf3e3 Updated Rector to commit 742378fb0f73a07fd8d63c9dd41ea5f6b8021ef2
742378fb0f [TypeDeclaration] Add AddReturnTypeDeclarationFromYieldsRector (#3114)
2022-11-28 11:47:46 +00:00
Tomas Votruba cc9387f91d Updated Rector to commit fdb9239a9f079bef34db3e0b864ebbc996022c12
fdb9239a9f [CodeQuality] Skip from non-typed param on SimplifyEmptyCheckOnEmptyArrayRector (#3115)
2022-11-28 10:39:45 +00:00
Tomas Votruba 060a00ccd9 Updated Rector to commit 93e87a1574bf15cb21a9d5eb0ef84d6a91a30f07
93e87a1574 [Php80] Do not remove existing attribute on NestedAnnotationToAttributeRector (#3116)
2022-11-28 10:38:42 +00:00
Tomas Votruba cef35235bd Updated Rector to commit c72e697796062def8dff0db00d3ae875ec18fb3a
c72e697796 Remove return doc resolving from ReturnTypeDeclarationRector (#3113)
2022-11-28 01:16:49 +00:00
Tomas Votruba 84537d899c Updated Rector to commit 06a050a11a8466ede78981a4209f45e4c9e4e7a8
06a050a11a cs
2022-11-28 00:30:00 +00:00
Tomas Votruba 82b9caaed2 Updated Rector to commit 6a87f70301abfd2e521ed24ac7190ce234a06c26
6a87f70301 user error const
2022-11-28 00:28:34 +00:00
Tomas Votruba 10623e91f0 Updated Rector to commit a0db5e38beebe47e8d0edc84fb8148f57001649e
a0db5e38be remove from set
2022-11-28 00:23:25 +00:00
Tomas Votruba 105da345bb Updated Rector to commit ab670b487796369245cef17254d310b56805633c
ab670b4877 note
2022-11-28 00:21:32 +00:00
Tomas Votruba 116d294510 Updated Rector to commit 5eff14fcc51da2ba72b763be5cd60183b9db46bc
5eff14fcc5 Deprecated and remove AddArrayParamDocTypeRector to work with strict type declarations only (#3112)
2022-11-28 00:05:06 +00:00
Tomas Votruba d27ad935cb Updated Rector to commit 83b13f530c9612a65ff921c994e7fa0cd29a21bf
83b13f530c Remove deprecated ParamTypeDeclarationRector, that treated docs as strict types to keep type declaration set reliable (#3111)
2022-11-27 23:28:48 +00:00
Tomas Votruba 997c77c140 Updated Rector to commit 0d8c29645d2beaf5e0c1b96215628e5bae16c7f5
0d8c29645d [TypeDeclaration] Decouple AddParamTypeFromPropertyTypeRector (#3109)
2022-11-27 23:03:34 +00:00
Tomas Votruba 7eb6b4b9d3 Updated Rector to commit f862bf997aa6cb52d0c2fa3ed75744e4da1b3475
f862bf997a Remove GetterNodeParamTypeInferer (#3108)
2022-11-27 21:45:20 +00:00
Tomas Votruba 9149620423 Updated Rector to commit ca8249d3c0abad56143d7ecd17b08fe4d0764e30
ca8249d3c0 Enable spl array rule (#3107)
2022-11-27 21:29:39 +00:00
Tomas Votruba 00d4ffef47 Updated Rector to commit 803fad69aeb8c9f417923e24d877c521e93df30a
803fad69ae Enable PHPUnit data provider rule (#3106)
2022-11-27 21:23:52 +00:00
Tomas Votruba f0d81253f6 Updated Rector to commit 10c76b3d85cc21a8834cd8952ff47a6bbcbf5915
10c76b3d85 [TypeDeclaration] Add AddParamTypeSplFixedArrayRector (#3105)
2022-11-27 21:07:35 +00:00
Tomas Votruba b492db7306 Updated Rector to commit 48febdb978201ffdd2d62ccb970ede09c3160134
48febdb978 [TypeDeclaration] Add AddParamTypeBasedOnPHPUnitDataProviderRector + remove too narrow KnownArrayParamTypeInferer (#3104)
2022-11-27 17:56:33 +00:00
Tomas Votruba 566033e175 Updated Rector to commit 2af3c7fb68f59fbc5f8ffee9a4fa80d430331159
2af3c7fb68 Deprecated type-declaration-strict to type-declaration set, as single group of rules (#3103)
2022-11-27 16:42:00 +00:00
Tomas Votruba 067bd1245f Updated Rector to commit 1f8c88a5f1966ba9f3ec740f8c9bebc13f6d46f4
1f8c88a5f1 fix reporting on renamed proeprty match type (#3098)
2022-11-26 13:09:30 +00:00
Tomas Votruba 3b829bfdce Updated Rector to commit 07b529abc4a1e8cd8ebe0ea90333a15016ab5062
07b529abc4 [BetterPhpDocParser] Call phpdocInfo->markAsChanged() on change param/return type on PhpDocTypeChanger (#3099)
2022-11-26 13:08:12 +00:00
Tomas Votruba 05578e7653 Updated Rector to commit f37a6eb0de44306065b24137a7922190622f5ccc
f37a6eb0de Add ClassOnThisVariableObjectRector to rules docs (#3096)
2022-11-26 10:04:16 +00:00
Tomas Votruba f4d905239b Updated Rector to commit 9a93704c5aa267807287645f9d07772a554ac960
9a93704c5a Add parent constructor call only once (#3094)
2022-11-26 09:45:45 +00:00
Tomas Votruba 0442e9ecd7 Updated Rector to commit c98ec0e60219fdde5842e6efe0afa6848c5d3f5e
c98ec0e602 Fix ClassOnThisVariableObjectRector code example (#3095)
2022-11-26 09:30:32 +00:00
Tomas Votruba e7ef0c8412 Updated Rector to commit 1e8ffcc6a113ae4ad2a3e04b86d2f7ef22bbac01
1e8ffcc6a1 [Php80] Add ClassOnThisVariableObjectRector (#3093)
2022-11-25 23:37:32 +00:00
Tomas Votruba aecb5f86de Updated Rector to commit 8ef808705cd8f467602f2411ec831552648295ae
8ef808705c deprecate createShortClassConstFetch() as the FQN must be used by convention (#3092)
2022-11-25 15:06:04 +00:00
Tomas Votruba 4a64f39171 Updated Rector to commit 7842486329539de6901544f0e50707b6a2aea29e
7842486329 Fix few rules reporting in case of no change (#3090)
2022-11-24 14:31:52 +00:00
Tomas Votruba 91fba736ad Updated Rector to commit b981b372c1d56437ad16c19bcace3f94fe7519c7
b981b372c1 end of line
2022-11-24 11:55:01 +00:00
Tomas Votruba c856b5faf0 Updated Rector to commit a9372bb3e90aa966412b2deab075a44769bb119c
a9372bb3e9 Add list-rules command for tool interoperabtility (#3087)
2022-11-23 11:11:18 +00:00
Tomas Votruba 8b12bd8a12 Updated Rector to commit 335d593e34bbc124a505bdb150eb971fb92a0e87
335d593e34 [TypeDeclaration] Handle return self on TypedPropertyFromStrictGetterMethodReturnTypeRector on php 8.0 feature enabled (#3088)
2022-11-23 10:02:01 +00:00
Tomas Votruba 8a05dae6dd Updated Rector to commit 30afbb8da236ab0935851b91a7fb4b5cf26aa2e8
30afbb8da2 Fix StrContainsRector when strpos offset is set (#3086)
2022-11-22 20:03:52 +00:00
Tomas Votruba a5406b6411 Updated Rector to commit eddc376c77b1211e055e7cdbc8214c3d1dae3d8a
eddc376c77 [Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
2022-11-20 12:34:31 +00:00
Tomas Votruba e5b061e232 Updated Rector to commit 23c2282d9aecc36c9123656be3b39dc8edca795e
23c2282d9a [ci] run phpstan on packages too to detect bugs in configs (#3081)
2022-11-19 12:05:34 +00:00
Tomas Votruba 75e646ce54 Updated Rector to commit 6c7caa63c4025b47a382cd2e28b6f05fbcb55e71
6c7caa63c4 Reverts Use MethodCallRename directly (#3080)
2022-11-19 11:50:17 +00:00
Tomas Votruba 141dc65509 Updated Rector to commit 24b9eb7a4cf97a05b66163545a9d315e0f15d7f5
24b9eb7a4c [Core] Refactor CreatedByRuleDecorator to make consistent check for consecutive same Rector run (#3078)
2022-11-19 07:50:13 +00:00
Tomas Votruba 87bf8a85b4 Updated Rector to commit 31bf9e468a1c271296236e6363a4d7e69f7f73c1
31bf9e468a Use MethodCallRename directly (#3077)
2022-11-18 21:07:17 +00:00
Tomas Votruba f30d1123a7 Updated Rector to commit 0d16e131d69ce999dea28bde40af1f6be3edbd7d
0d16e131d6 remove monolog 2.0 set, only marginal and beyond full path (#3076)
2022-11-18 20:56:35 +00:00
Tomas Votruba 3a59daa588 Updated Rector to commit a1ec5d278803a7f31105911da8063ca42ded2735
a1ec5d2788 Cleanup PHPStan errors (#3075)
2022-11-18 20:47:19 +00:00
Tomas Votruba dcc7f6941e Updated Rector to commit b5ddb028c0b29c03b20fb4967f88873ddfd42411
b5ddb028c0 Skip MakeTypedPropertyNullableIfCheckedRector for constructor assigment. (#3074)
2022-11-18 00:08:55 +00:00
Tomas Votruba d085266247 Updated Rector to commit a1df08d2dfe392f42b58288c47646e2a565851dc
a1df08d2df [Core] Connect Expression parent Node on transform Stmt to Expr (#3071)
2022-11-17 10:57:22 +00:00
Tomas Votruba 8360fa1a7a Updated Rector to commit a8f322ad7e93f7902fca0a057e8d604482f71080
a8f322ad7e [Core] Remove BetterStandardPrinter::pStmt_Class() (#3072)
2022-11-17 10:44:46 +00:00
Tomas Votruba ad35b62266 Updated Rector to commit 8ac960d30cd26f5e071cda5835e4df5c26d30314
8ac960d30c fix(UpdateFileNameByClassNameFileSystemRector): compare shortClass Wi… (#3070)
2022-11-16 21:18:32 +00:00
Tomas Votruba 4c8be8a104 Updated Rector to commit 07941b8f3dd7151db77df19243aed5c03a64cf63
07941b8f3d [SimplifyEmptyCheckOnEmptyArrayRector] Add new rule #7485 (#3069)
2022-11-16 15:33:33 +00:00
Tomas Votruba 18779fffd6 Updated Rector to commit 4140e7807611cb29cfcdd768e86a9203b0c69b9b
4140e78076 [Core] Handle no scope crash on foreach value with array item variable (#3068)
2022-11-16 14:19:15 +00:00
Tomas Votruba 18b5311e05 Updated Rector to commit fa9a953fc8df6d31c24b0415b177580f7edd4100
fa9a953fc8 [Php80] Skip possible numeric string switch cond with all integer case cond on ChangeSwitchToMatchRector (#3067)
2022-11-15 20:31:43 +00:00
Tomas Votruba 42553ae453 Updated Rector to commit 1b236c8ae8f497c445a136bf0361aa99e4cd865e
1b236c8ae8 Utilize Type->isString() (#3063)
2022-11-15 15:43:41 +00:00
Tomas Votruba b0ce719527 Updated Rector to commit 04257d3c76ee23722447433f07c8e5678ac9a07b
04257d3c76 Utilize Type->isArray() (#3065)
2022-11-15 15:22:43 +00:00
Tomas Votruba e05478f2e2 Updated Rector to commit e78e4727d513475187dae0300f78ef70043379f9
e78e4727d5 Utilize Type->isString() in rules/ (#3064)
2022-11-15 00:01:27 +00:00
Tomas Votruba f714817bb9 Updated Rector to commit f094438f26f1795a0c4c991aaeaeda37389aff8c
f094438f26 [README] Remove ci status for phpoffice, as standalone package
2022-11-14 15:22:22 +00:00
Tomas Votruba e6a22bed57 Updated Rector to commit c12f90964a75280c3803eb1c147c51d570411985
c12f90964a Make Rector PHPOffice optional package, as only migrates ~7 years old version (#3061)
2022-11-14 15:07:52 +00:00
Tomas Votruba 46ee9a173a Rector 0.14.8 2022-11-14 14:09:49 +00:00
Tomas Votruba e97dbec59e Updated Rector to commit 2af80959bc599d7318c1fe4f1662c411937634be
2af80959bc [Caching] Fix cache consecutive run rector with --dry-run (#3060)
2022-11-13 08:57:38 +00:00
Tomas Votruba cf32f86c20 Updated Rector to commit 419c4f8e5268854e234b14e62dfc2d90d904951b
419c4f8e52 [automated] Re-Generate Nodes/Rectors Documentation (#3059)
2022-11-13 00:36:04 +00:00
Tomas Votruba c976b41d9f Updated Rector to commit 2be958b4e4db947c63777443eafb886274a5c7c7
2be958b4e4 [Core] Fix resolve scope handling when parent Node just re-printed (#3056)
2022-11-12 17:49:29 +00:00
Tomas Votruba 142e95d9c7 Updated Rector to commit 295c489f26f3509e9980ea0529137e710e7227e3
295c489f26 Update PHP-Parser to ^4.15.2 (#3057)
2022-11-12 17:44:08 +00:00
Tomas Votruba 4464342ec0 Updated Rector to commit 03f627b38589a03c59108e71d66fb3c04bf0dacf
03f627b385 count
2022-11-12 10:21:30 +00:00
Tomas Votruba 311b8e7d20 Updated Rector to commit 3fd129ff50ca57f219130fe9665bd4951fac42bd
3fd129ff50 remove NodeTypeAnalyzer (#3055)
2022-11-12 09:58:36 +00:00
Tomas Votruba 726ca40b8d Updated Rector to commit 64f4a55aa43b1197247637192b04bc48c7a77877
64f4a55aa4 [Core] Use parent attribute check instead of origNode for check update and connect parent node after refactor (#3054)
2022-11-12 03:26:34 +00:00
Tomas Votruba d48b0e7654 Updated Rector to commit a8fd5aacc7d1adc87d971e29604deacdcc3376c1
a8fd5aacc7 Re-print on constructor promotion (#3051)
2022-11-11 18:10:55 +00:00
Tomas Votruba 393315b792 Updated Rector to commit 21b1ff921f15c820d065a9bc288bf18dc7ecb94f
21b1ff921f [Core] Improve performance: remove unnecessary loop on SimpleCallableNodeTraverser (#3053)
2022-11-11 18:00:09 +00:00
Tomas Votruba db8311e52e Updated Rector to commit e28e7a18fe894974b31eae2fa2ff829a130a8a05
e28e7a18fe Use the correct word (#3052)
2022-11-11 15:03:05 +00:00
Tomas Votruba 9a86942399 Updated Rector to commit 86c0920bdf0222f3c3e6ddf8490804f428a39fae
86c0920bdf [Init] Add smart paths detection to init command to make first Rector experience better (#3050)
2022-11-11 14:53:57 +00:00
Tomas Votruba 44bd6589c7 Updated Rector to commit e3ff080a96e2efbcd4a62c07b44ef4f950bd023d
e3ff080a96  [Core] Improve performance on NodeComparator  (#3049)
2022-11-11 13:43:14 +00:00
Tomas Votruba 73bd079d75 Updated Rector to commit 21ead88cdeef5013e635c9e4eb2a22456d6e93e9
21ead88cde [Core] Improve performance: remove unnecessary loop StmtsAwareInterface to fill Scope on PHPStanNodeScopeResolver (#3048)
2022-11-11 13:35:09 +00:00
Tomas Votruba fac0875c1b Updated Rector to commit fced569c7d60f32dbe3bc02e7ba8b64dd5aeef0f
fced569c7d [Core] Improve performance: only update and connect parent Node when different Node (#3044)
2022-11-11 11:49:04 +00:00
Tomas Votruba 04b65fc52f Updated Rector to commit 4d931030cb41813a2cfc90d5f7f7a1825ae87686
4d931030cb [Core] Improve performance: verify consecutive execute same Rector Rule when Original Node is Null (#3047)
2022-11-11 11:48:30 +00:00
Tomas Votruba e974c922b9 Updated Rector to commit b31bb42c902e6de649cb1228579be72023c171ec
b31bb42c90 [Php81] Register uniqid function on NullToStrictStringFuncCallArgRector (#3045)
2022-11-11 11:47:05 +00:00
Tomas Votruba 3bcc7247cb Updated Rector to commit ac8fc4c418132ab78ca3c0d61d8533bf530fe58f
ac8fc4c418 [Core] Improve performance: only reindex Node Attributes when Original Node is not null (#3043)
2022-11-11 11:46:13 +00:00
Tomas Votruba 197d502349 Updated Rector to commit 51c2bbe321adb08bb8f35cb8ce71f61fc456fcd4
51c2bbe321 [Php81][Restoration] Handle crash on ReadOnlyPropertyRector+MakeTypedPropertyNullableIfCheckedRector (#3046)
2022-11-11 11:41:25 +00:00
Tomas Votruba d72c3a41d9 Updated Rector to commit 8ede862b8de3239aafea64484802903aaa6d5e95
8ede862b8d Update phpstan message (#3042)
2022-11-10 16:47:52 +00:00
Tomas Votruba d9e32f78d0 Updated Rector to commit baf8394798205ee0d9c6f27e72f018e0996e624f
baf8394798 Fix var/property usage for RemoveUnusedNonEmptyArrayBeforeForeachRector. (#3040)
2022-11-10 07:49:28 +00:00
Tomas Votruba 329458c65d Updated Rector to commit 10c6a3047fde6a6a2f94c9260dc3482de6e7f5c0
10c6a3047f [Php80] Add ::class support on GetDebugTypeRector (#3039)
2022-11-08 13:37:31 +00:00
Tomas Votruba bba6495f7d Updated Rector to commit 10346eea20d2222819f59b2ae994acc0948352e4
10346eea20 Apply node->isFirstCallable() check early before ->getArgs() when possible on CallLike (#3038)
2022-11-07 17:28:06 +00:00
Tomas Votruba bde184a1bc Updated Rector to commit 84361b82b630d31b49b009b46bdd3b1312ced2e8
84361b82b6 try bumping scoper 0.17.7
2022-11-07 09:45:55 +00:00
Tomas Votruba c0fad45833 Updated Rector to commit 49917308b21560e58d22e7faec5924261d12ec4c
49917308b2 Clarify SwapFuncCallArguments rule documentation (#3036)
2022-11-07 09:45:26 +00:00
Tomas Votruba 1d6c26bf79 Updated Rector to commit 5aa424865a1cadfa260a14d101d46fda76ec087e
5aa424865a [Core] Typo fix on @param callable on ForeachManipulator and BinaryOpManipulator (#3035)
2022-11-07 09:33:09 +00:00
Tomas Votruba cc3b0a4b46 Updated Rector to commit b7a64276d51f16a3c5cd7af482a20c6c9f70c656
b7a64276d5 [Php55] Handle crash on ([[:upper:]]+) regex on PregReplaceEModifierRector (#3037)
2022-11-07 09:32:02 +00:00
Tomas Votruba f9414241aa Updated Rector to commit 64d0a8375814c9da2fe93036e4c0fa5fbf06aa25
64d0a83758 [Php80][CodeQuality] Handle crash on ExplicitMethodCallOverMagicGetSetRector+ChangeSwitchToMatchRector (#3034)
2022-11-05 11:18:42 +00:00
Tomas Votruba 3553aaba0e Rector 0.14.7 2022-11-04 08:48:40 +00:00
Tomas Votruba ce3c134b0d Updated Rector to commit a5051ff31121d95ac2ccf7db351ea486024a0b3f
a5051ff311 Bump to PHPStan ^1.9.0 (#3033)
2022-11-04 07:12:49 +00:00
Tomas Votruba ecee0c4cb7 Updated Rector to commit 7dae36df19a081561ca342751d9727eff503106b
7dae36df19 Register driftingly/rector-laravel for community package (#3031)
2022-11-02 14:48:20 +00:00
Tomas Votruba 896854b9a6 Updated Rector to commit 92a5c65cc2ce07fcdffecce0344c4878184cb7cb
92a5c65cc2 [Php81] Skip on Array Destructuring on ReadOnlyPropertyRector (#3030)
2022-11-02 13:07:49 +00:00
Tomas Votruba 1724f088d6 Updated Rector to commit 6902b17851f2b7172c0351e72cd1d4263684818f
6902b17851 InlineConstructorDefaultToPropertyRector fix code example (#7465) (#3028)
2022-11-02 00:04:20 +00:00
Tomas Votruba 6afda57164 Updated Rector to commit 9e4a9c0c25fbbd630cac07c9dab074f8dc9c54b8
9e4a9c0c25 [CodeQuality] Add TernaryEmptyArrayArrayDimFetchToCoalesceRector (#3027)
2022-11-01 19:57:56 +00:00
Tomas Votruba f424fd6a95 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-10-30 11:16:14 +00:00
Tomas Votruba b7fb4398da Updated Rector to commit 997e5f4ae8c388b8a12d16539e8109fe821e8fd6
997e5f4ae8 [TypeDeclaration] Skip intersection with iterable on ReturnTypeDeclarationRector on php 8.1 feature enabled (#3022)
2022-10-29 10:54:11 +00:00