12854 Commits

Author SHA1 Message Date
Tomas Votruba
28d47f320d Updated Rector to commit 1cc465b4d508238445494313f04a6a56d4e8ca1d
1cc465b4d5 [CodingStyle] Skip RemoveUnusedAliasRector when same class in use statement exists, but not used (#732)
2021-08-22 21:05:54 +00:00
Tomas Votruba
f3f75a2919 Updated Rector to commit b422a9d7470745642728b91c12f7fb4782df9331
b422a9d747 [Core] Replace deprecated ShellCode:: with Symfony Command:: for status (#737)
2021-08-22 21:04:29 +00:00
Tomas Votruba
f791d9d767 Updated Rector to commit 138aa5ea681111d2da5b712580b56eafc35863ba
138aa5ea68 Param doctype not copied to property in DowngradePropertyPromotionRector (#734)
2021-08-22 21:02:57 +00:00
Tomas Votruba
57ce6a840e Updated Rector to commit 974d5ee3478058d94c59c54918d445a94228bf77
974d5ee347 [CodeQuality] ForeachItemsAssignToEmptyArrayToAssignRector skip classes that implement IteratorAggregate (#735)
2021-08-22 17:58:54 +00:00
Tomas Votruba
0f57e3a147 Updated Rector to commit d72a5999efece5de00e10d93836634e883cf914e
d72a5999ef [Php80] Do not remove Assert with no arg in AnnotationToAttributeRector (#733)
2021-08-22 15:42:22 +00:00
Tomas Votruba
f01d52fb6c Updated Rector to commit ea9cddd31bc7dc54320929633802db4916d75eee
ea9cddd31b [PHPStan] Update PHPStan to 0.12.95 (#724)
2021-08-21 17:45:43 +00:00
Tomas Votruba
e85011ce66 Updated Rector to commit ddd20e9e9bb7f1303d9ad35cf058677a58d72842
ddd20e9e9b [CodeQuality] Skip DateTimeToDateTimeInterfaceRector on exactly return DateTime (#730)
2021-08-21 13:25:37 +00:00
Tomas Votruba
40ecfbd21b Updated Rector to commit 2a6cfb363d6230ba7d6f0d2c0d5ba58fe4d2e0e2
2a6cfb363d Fix 6644 (#728)
2021-08-21 00:59:31 +00:00
Tomas Votruba
056fee1788 Updated Rector to commit 29a6d9420275f0ea7e6b1508ce77503d11d19281
29a6d94202 [DowngradePhp80] Skip child return parent on DowngradeMixedTypeDeclarationRector (#727)
2021-08-20 17:57:19 +00:00
Tomas Votruba
5a59fcb086 Updated Rector to commit fd3101cd2d1dac7e9f5023eaf75ce697d4c76fa7
fd3101cd2d [DowngradePhp74] Skip DowngradePhp74 on parent return ThisType (#726)
2021-08-20 17:17:59 +00:00
Tomas Votruba
88e3d4f0f4 Updated Rector to commit ceb493065c7bfaf39cc61d5fa8358b064ef568cd
ceb493065c [DowngradePhp80] Remove self return type if child already has no return type (#725)
2021-08-20 15:46:05 +00:00
Tomas Votruba
6e9b486a68
Remove leftover config for Docer 2021-08-20 16:51:02 +02:00
Tomas Votruba
0ff3bb0f72 Updated Rector to commit 3c8f8a03d652d3788c91a0cd886e785cfacb959c
3c8f8a03d6 [DowngradePhp80] Skip remove self on DowngradeStaticTypeDeclarationRector (#721)
2021-08-20 13:43:25 +00:00
Tomas Votruba
6489f31f60 Updated Rector to commit c043528bfc0b5e21af7ac1b2b6b30f585695bbda
c043528bfc [DowngradePhp74] Skip php doc method on DowngradeContravariantArgumentTypeRector (#719)
2021-08-20 10:40:29 +00:00
Tomas Votruba
c6809402a5 Updated Rector to commit 3c8f8a03d652d3788c91a0cd886e785cfacb959c
3c8f8a03d6 [DowngradePhp80] Skip remove self on DowngradeStaticTypeDeclarationRector (#721)
2021-08-20 10:39:40 +00:00
Tomas Votruba
92566bbfbc Updated Rector to commit 998029d4fc3654d5c361c37247b224b052d6d597
998029d4fc [Php80] Handle union collection of FullyQualifieds on ClassPropertyAssignToConstructorPromotionRector (#722)
2021-08-20 10:38:01 +00:00
Tomas Votruba
65ad60c6e9 Updated Rector to commit 2623e6773c8e2f6dccb963caa794e23f56d0b3a3
2623e6773c Bump branch-alias from 0.10 to 0.11 (#723)
2021-08-20 10:06:28 +00:00
Tomas Votruba
c2ba6fd68e Updated Rector to commit d635cd54052cacd59f14ff78259db4434ed40639
d635cd5405 [Core] Avoid removal of contents when error found (#716)
2021-08-19 14:42:04 +00:00
Tomas Votruba
9894a33704 Updated Rector to commit 2fd5a8eec09aecf2dbb606c474ff6c6626720ccd
2fd5a8eec0 [Transform] Handle Multi Assign on NewToConstructorInjectionRector (#714)
2021-08-19 07:52:33 +00:00
Tomas Votruba
b9cd894841 Updated Rector to commit da038480cd5c44465dc6b6b3efc116b2baa03e24
da038480cd [DeadCode] Skip @return  removal on Trait_ on RemoveUselessReturnTagRector (#715)
2021-08-19 06:27:27 +00:00
Tomas Votruba
1b892235ad Updated Rector to commit 276df2530507662f598f534c53685c19e5abd017
276df25305 [NodeTypeResolver] Clean up PHPStanNodeScopeResolver (#713)
2021-08-19 04:19:05 +00:00
Tomas Votruba
c81e0916bc Updated Rector to commit 9f311dca009b4bd6ef7fbc3e57500197db41e50a
9f311dca00 Add failing test fixture for RemoveParentCallWithoutParentRector (#711)
2021-08-19 04:03:26 +00:00
Tomas Votruba
3ed3bb1e80 Updated Rector to commit 7095dcae16bca52b88da8354d58365dd5409ff7b
7095dcae16 [CodeQuality][TypeDeclaration] Handle ExplicitBoolCompareRector + ReturnTypeDeclarationRector on auto import return (#710)
2021-08-18 09:43:13 +00:00
Tomas Votruba
717efa01b2 Updated Rector to commit 25f719367f03712f5b46c7f5357cd55ee70c3837
25f719367f [CodeQuality] Handle possibly has '0' value on string on ExplicitBoolCompareRector (#709)
2021-08-18 09:28:16 +00:00
Tomas Votruba
dd5ada968f Updated Rector to commit 582d1d385179c553375b679035602f9a84cebef7
582d1d3851 [Exclusion] Check Parent attribute is Node on ExclusionManager::isNodeSkippedByRector() (#712)
2021-08-18 09:22:43 +00:00
Tomas Votruba
1e50587bb5 Updated Rector to commit c3c1411d107534e9d5c103982c9e5442213cc800
c3c1411d10 [DeadCode] Skip RemoveDeadStmtRector on class implements ArrayAccess (#707)
2021-08-17 10:45:55 +00:00
Tomas Votruba
f5c5a1e3ed Updated Rector to commit abc6d55fe287356fc22f310184763f2a2efd8812
abc6d55fe2 [DeadCode] Skip RemoveParentCallWithoutParentRector on inside assign (#706)
2021-08-17 10:00:08 +00:00
Tomas Votruba
d3b80f641b Rector 0.11.48 0.11.48 2021-08-17 09:00:25 +00:00
Tomas Votruba
6cc72206c0 Updated Rector to commit 6ffa3f439e7792522862d0cf77381f594436c422
6ffa3f439e [NodeTypeResolver] Using ClassReflection->getMixinTags() to detect source has mixin tags (#705)
2021-08-17 08:43:53 +00:00
Tomas Votruba
898f0a5dac Updated Rector to commit c1b7a97ee115899e8805178e5f3c2ef8729b251f
c1b7a97ee1 [CodeQuality] Skip Child class of \DateTime on DateTimeToDateTimeInterfaceRector (#703)
2021-08-17 07:07:19 +00:00
Tomas Votruba
7188bf1a2b Updated Rector to commit 91ac830d085968bcd5faef806aabb663e50e1ff8
91ac830d08 [PHPStan] Clean up PHPStan ignore error messages (#702)
2021-08-16 19:21:36 +00:00
Tomas Votruba
8fac26e567 Updated Rector to commit 8885ceadc7858cc671d372280793e0295b5e327a
8885ceadc7 [Defluent] Ensure parent is a node on NewFluentChainMethodCallToNonFluentRector before check ->typeChecker->isInstanceOf() (#701)
2021-08-16 19:07:25 +00:00
Tomas Votruba
56620f1008 Updated Rector to commit 9a5ca72b458822293a415a13efdccfe4748f34a0
9a5ca72b45 [NodeTypeResolver] Check current file name is not equal with source file name for mixin class in source (#700)
2021-08-16 18:30:22 +00:00
Tomas Votruba
286eddc010 Updated Rector to commit 4ecac1e2e4d6400303d7ec8983c5d8b7904627a1
4ecac1e2e4 [CodingStyle] Use json_encode for json encode if the class 'Nette\Utils\Json' not found (#699)
2021-08-16 15:44:56 +00:00
Tomas Votruba
d89770bafb Updated Rector to commit 085ba861bc3b2f31621a47b98596bd346181c2eb
085ba861bc improve exclusion manager (#698)
2021-08-16 11:11:57 +00:00
Tomas Votruba
d3c644f12f Updated Rector to commit 7e15ae1451a4c192f799d9e8738a2b1480a79d0a
7e15ae1451 Upgrade PHPStan rules and fix new reports (#697)
2021-08-16 10:56:18 +00:00
Tomas Votruba
b72cb79d09 Updated Rector to commit 4da0d5f1c1f9a52653dd2732cde88b03a0fc085b
4da0d5f1c1 [Php80] Handle Remove Doc Array Typed UnionTypesRector (#695)
2021-08-16 09:13:20 +00:00
Tomas Votruba
57f0875361 Updated Rector to commit 2dbf877472a3a98cdf4febe1abcd2c96b3bdd2c6
2dbf877472 [DeadCode] Skip RemoveUselessReturnTagRector on BracketsAwareUnionTypeNode (#694)
2021-08-16 08:58:15 +00:00
Tomas Votruba
421d235b5a Updated Rector to commit 401f6b8484887942dc4210947bce686590170747
401f6b8484 [Scoper] Fix PHPUnit scoper IsEqual (#693)
2021-08-16 08:37:07 +00:00
Tomas Votruba
3f7038bcd3 Updated Rector to commit 0d9a066ecbd8172df86c26a8a9ba03d0770fc3de
0d9a066ecb [DeadCode] Skip RemoveUselessParamTagRector on BracketsAwareUnionTypeNode (#691)
2021-08-16 08:22:42 +00:00
Tomas Votruba
8595649067 Updated Rector to commit 05f3fabe62f291fcf6250fad8e6b203a3d48b70c
05f3fabe62 [Defluent] Skip mixin in source on FluentChainMethodCallToNormalMethodCallRector (#689)
2021-08-16 08:19:28 +00:00
Tomas Votruba
4d052b08f9 Updated Rector to commit 6cdfebe40c879a70173ff34e147553cf285db883
6cdfebe40c [Windows] Add platform agnostic asserts (#461)
2021-08-16 07:19:49 +00:00
Tomas Votruba
fd91160c36 Updated Rector to commit cdf9dc5c687f543e9b18b5e90805bc50656f6ed3
cdf9dc5c68 [Defluent] Skip mixin on FluentChainMethodCallToNormalMethodCallRector (#688)
2021-08-15 21:29:57 +00:00
Tomas Votruba
e7dc6c9020 Updated Rector to commit 8240d3182aac5ded76ebd2a300164bdf7cb60174
8240d3182a [DeadCode] Skip Empty Class Method for __construct with eclass extends, and class with __invoke (#687)
2021-08-15 17:30:07 +00:00
Tomas Votruba
fa1256e6c0 Updated Rector to commit 5f28681b9fc572394e690426f07f62fb5b812c47
5f28681b9f [DeadCode] Skip UnwrapFutureCompatibleIfPhpVersionRector on higher than current php provider (#685)
2021-08-15 13:59:52 +00:00
Tomas Votruba
20389a97da Updated Rector to commit 9a7ce1bdf254866e7cc0e6262011e3a1a1201e26
9a7ce1bdf2 [automated] Apply Coding Standard (#684)
2021-08-15 00:32:03 +00:00
Tomas Votruba
dc5c5507e9 Updated Rector to commit e9d11727179a04a8614b4c6370b22fa6d4c98da9
e9d1172717 [automated] Re-Generate Nodes/Rectors Documentation (#683)
2021-08-15 00:30:09 +00:00
Tomas Votruba
8237134f2e Updated Rector to commit 85e02fd6d01732fa86c6c3f2b34c544be225d947
85e02fd6d0 [DeadCode] Allow not has side effect duplicate assign on RemoveDoubleAssignRector (#679)
2021-08-14 22:37:45 +00:00
Tomas Votruba
3626e37580 Updated Rector to commit a4ecfaff521019bdbf10be992772e956ec9ae3ba
a4ecfaff52 [DeadCode] Using SideEffectNodeDetector on RemoveUnusedVariableAssignRector (#681)
2021-08-14 22:36:26 +00:00
Tomas Votruba
9b371536e4 Updated Rector to commit 9dd6d63e140f1c8e1561b113aac12810f412628a
9dd6d63e14 [Defluent] Skip on return and on cast for InArgFluentChainMethodCallToStandaloneMethodCallRector (#680)
2021-08-14 22:35:40 +00:00