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
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
d2059134fe
Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
...
de008767d9
Replace static with self for private constants (#3178 )
2022-12-13 07:34:24 +00:00
Tomas Votruba
5a40891bc0
Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
...
de008767d9
Replace static with self for private constants (#3178 )
2022-12-12 14:06:38 +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
84c989ec89
Updated Rector to commit 8bf7073f83f1758013cdecc804075ddce316f0f5
...
8bf7073f83
[Php81] Skip const Fetch non static method on FirstClassCallableRector (#3183 )
2022-12-11 15:49:39 +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
4bc9094047
Updated Rector to commit bbd9d4fa2c6811c9c68984549d2c0dfb68232219
...
bbd9d4fa2c
[CodeQuality] Skip non typed property no default value never assigned on SimplifyEmptyCheckOnEmptyArrayRector (#3171 )
2022-12-08 21:31:19 +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
b2e081777a
Updated Rector to commit f35326d7010fa42458b44d3896b4791dcc22f78a
...
f35326d701
[TypeDeclaration] Remove PhpDocTypeChanger->changeVarType() on TypedPropertyFromAssignsRector (#3163 )
2022-12-07 13:37:40 +00:00