244 Commits

Author SHA1 Message Date
Tomas Votruba
13a376a756 Updated Rector to commit c9f333d9dd5b283be39ce474e987d4bdcb598daf
c9f333d9dd [EarlyReturn] Returns array of If_ on ChangeOrIfContinueToMultiContinueRector (#854)
2021-09-09 01:20:04 +00:00
Tomas Votruba
19cabc37e2 Updated Rector to commit f8a31303f5b57fde34fb077b9463d6599537b5c5
f8a31303f5 [DeadCode] Skip RemoveDeadInstanceOfRector on check variable from not typed param (#851)
2021-09-08 14:55:40 +00:00
Tomas Votruba
2af3b965d3 Updated Rector to commit 1e6dfd240ec6d109e0d8c0828bed1d40f450c581
1e6dfd240e [PHPStan] Clean up ignore error messages (#846)
2021-09-08 06:39:19 +00:00
Tomas Votruba
c94867257b Updated Rector to commit b8a6c976b4a477fad3dd6fa7e8564cf82a2aa2b3
b8a6c976b4 [TypeDeclaration] Handle UnitEnum not exists check on ParamTypeByParentCallTypeRector (#841)
2021-09-07 06:01:30 +00:00
Tomas Votruba
3ce615d525 Updated Rector to commit df9246c6094f472f9a889104ccf173f7008fc90a
df9246c609 [CodeQuality][EarlyReturn] Handle ExplicitBoolCompareRector + ChangeOrIfReturnToEarlyRector (#836)
2021-09-06 05:59:31 +00:00
Tomas Votruba
8303b46898 Updated Rector to commit 0779c402c3a994821b56fa24bae2baa14f996e14
0779c402c3 [automated] Re-Generate Nodes/Rectors Documentation (#832)
2021-09-05 00:27:40 +00:00
Tomas Votruba
552aa64b5e Updated Rector to commit aad3fd28eab63c5c59b35904938ee1ccbc2621be
aad3fd28ea [DeadCode] Skip used after next statement on RemoveNonExistingVarAnnotationRector (#822)
2021-09-04 07:47:01 +00:00
Tomas Votruba
d62e039ac8 Updated Rector to commit 61709a198d9079071857fb14de0b21482d996a5d
61709a198d [PHPStan] Update to PHPStan 0.12.98 (#826)
2021-09-04 07:42:32 +00:00
Tomas Votruba
607592559d Updated Rector to commit 479df50e71997ffcc081fa4818a859ee4712ac4f
479df50e71 [DeadCode] Skip next ternary & coalesce assign on RemoveDoubleAssignRector (#819)
2021-09-03 16:58:12 +00:00
Tomas Votruba
73cb9e40d3 Updated Rector to commit 89ca42d7c18c97b8076c4d6d40dfdd16a9ee9e16
89ca42d7c1 [TypeDeclaration] Skip callable on AddArrayParamDocTypeRector (#815)
2021-09-03 09:26:46 +00:00
Tomas Votruba
ec2e07443a Updated Rector to commit 49033cecc9cd2b553f0ab3e220168c1e8da5c5b1
49033cecc9 [PostRector] Using NodesToAddCollector in Rector rules (#812)
2021-09-02 06:46:57 +00:00
Tomas Votruba
35aeca4151 Updated Rector to commit 54c2151111e0d9628d1bc12bc48d7cc40391a3b8
54c2151111 [CodingStyle] Handle next with comment on NewlineAfterStatementRector (#813)
2021-09-02 06:22:11 +00:00
Tomas Votruba
8a6c24cf3d Updated Rector to commit b1d573e8b56a92a0f3dcd0f11a49a41d2c2f72f6
b1d573e8b5 [DeadCode][EarlyReturn] Handle RemoveUnusedPrivateMethodRector + RemoveAlwaysElseRector (#807)
2021-09-01 07:30:23 +00:00
Tomas Votruba
8fbb6d4a84 Updated Rector to commit 511a076211be7d2387961bddd75f88f5d33a0bd9
511a076211 bump nette
2021-09-01 00:12:38 +00:00
Tomas Votruba
be5c11b4f1 Updated Rector to commit 9fee4dd2978997b62a8ec277a9550c536d1c750b
9fee4dd297 [CodingStyle] Handle complex If_ ElseIf_ Else_ Try Catch Finally on on NewlineAfterStatementRector (#793)
2021-08-31 02:36:59 +00:00
Tomas Votruba
e934dd7526 Updated Rector to commit 505843774379b875c64ed612f2bdc5bae2d769f6
5058437743 [DeadCode] Skip RecastingRemovalRector on has __set() and __get() (#790)
2021-08-30 08:29:49 +00:00
Tomas Votruba
d5dde5695b Updated Rector to commit f257b10df15331bc6bf3cfa9fc2c44b685a0076b
f257b10df1 [DeadCode][CodeQuality] Handle SimplifyIfElseToTernaryRector + RemoveUnusedAssignVariableRector (#789)
2021-08-30 08:28:08 +00:00
Tomas Votruba
5fcab9b1bb Updated Rector to commit a81fd4e050c40ff4de5852d6211eb6865ba7e622
a81fd4e050 [CodingStyle] Add NewlineAfterStatementRector (#787)
2021-08-30 08:27:47 +00:00
Tomas Votruba
c863551bf5 Updated Rector to commit 13bf95408919847d7c81887dbaae6b5979c52432
13bf954089 [CodingStyle] Handle ClassConstFetch on RemoveUnusedAliasRector (#785)
2021-08-29 11:59:15 +00:00
Tomas Votruba
3136ede1f3 Updated Rector to commit dd49d3874b66431c17e8f6ca7f3e95c763afe497
dd49d3874b [CodingStyle] Handle Nullable Type and under intanceof for RemoveUnusedAliasRector (#784)
2021-08-28 13:03:07 +00:00
Tomas Votruba
54f4789e3e Updated Rector to commit b2c44bfdb00ab1842f3b41899bf8439d5b87eef1
b2c44bfdb0 [DowngradePhp72] Handle anonymous class override class method on DowngradeParameterTypeWideningRector (#777)
2021-08-27 09:14:46 +00:00
Tomas Votruba
536a2b5d5d Updated Rector to commit fff52c329a8bbfde8f4ac6e6835a5de67af2a0be
fff52c329a [RuleDefinition] Fix Sample Code docs generation (#768)
2021-08-26 04:53:55 +00:00
Tomas Votruba
15c1876627 Updated Rector to commit 4731c3f5e15b8696a62d365b761659463fb9552f
4731c3f5e1 [CS] Cs Fix config Skip AssignmentInConditionSniff FoundInWhielCondition (#767)
2021-08-26 04:42:58 +00:00
Tomas Votruba
f6bf813917 Updated Rector to commit aa2221058197470ae92b55574bb35e676a441837
aa22210581 [Php80] Handle Iterable typed on ClassPropertyAssignToConstructorPromotionRector (#753)
2021-08-25 07:00:32 +00:00
Tomas Votruba
ed5842f8aa Updated Rector to commit 6ff80ba037f2467bb492e120ba942e44fd1ab8e1
6ff80ba037 [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on native Variable (#748)
2021-08-24 05:31:50 +00:00
Tomas Votruba
ba205b46bb Updated Rector to commit 68d410ef00d15ca5e373a33fd66d593e0d3de346
68d410ef00 Trigger notification (#741)
2021-08-23 00:20:32 +00:00
Tomas Votruba
674f76ced2 Updated Rector to commit 877cbb2de8150b672a966d7a8907ed63769e1cdd
877cbb2de8 fix(scoper): prefix vendor classes from PHPDoc, close #6614 (#739)
2021-08-22 23:17:31 +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
40ecfbd21b Updated Rector to commit 2a6cfb363d6230ba7d6f0d2c0d5ba58fe4d2e0e2
2a6cfb363d Fix 6644 (#728)
2021-08-21 00:59:31 +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
c81e0916bc Updated Rector to commit 9f311dca009b4bd6ef7fbc3e57500197db41e50a
9f311dca00 Add failing test fixture for RemoveParentCallWithoutParentRector (#711)
2021-08-19 04:03:26 +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
f5c5a1e3ed Updated Rector to commit abc6d55fe287356fc22f310184763f2a2efd8812
abc6d55fe2 [DeadCode] Skip RemoveParentCallWithoutParentRector on inside assign (#706)
2021-08-17 10:00:08 +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
4d052b08f9 Updated Rector to commit 6cdfebe40c879a70173ff34e147553cf285db883
6cdfebe40c [Windows] Add platform agnostic asserts (#461)
2021-08-16 07:19:49 +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
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
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
Tomas Votruba
17c50e80ed Updated Rector to commit 13d73b380d5adedbccbe37afb0aff2e2319a7e27
13d73b380d [DeadCode] Handle typed and non-typed param on RecastingRemovalRector (#675)
2021-08-14 13:12:49 +00:00
Tomas Votruba
f353893d6d Updated Rector to commit bf038c60bdbccbac2582ac826466fb745249246a
bf038c60bd [Defluent] Fix test namespace for InArgFluentChainMethodCallToStandaloneMethodCallRector (#676)
2021-08-14 11:18:07 +00:00
Tomas Votruba
09d23c12db Updated Rector to commit 6ff9e780b9a0d6170f5fd8d9c739419b5d8fc63e
6ff9e780b9 [Defluent] Skip Fluent in If_ cond on FluentChainMethodCallToNormalMethodCallRector (#673)
2021-08-13 20:58:51 +00:00
Tomas Votruba
b998a4feca Updated Rector to commit 31f88491b8b85cdba2f33ed5ff9440a77713e5c2
31f88491b8 [Defluent] Skip NewFluentChainMethodCallToNonFluentRector on inside If_ cond (#671)
2021-08-13 20:46:17 +00:00
Tomas Votruba
708bb6c44b Updated Rector to commit 6ff9e780b9a0d6170f5fd8d9c739419b5d8fc63e
6ff9e780b9 [Defluent] Skip Fluent in If_ cond on FluentChainMethodCallToNormalMethodCallRector (#673)
2021-08-13 20:45:41 +00:00
Tomas Votruba
d1fc5bf0a7 Updated Rector to commit 2f6725acd411aca2b05e98d3bf8d8055d12312ac
2f6725acd4 [EarlyReturn] Handle Repetitive If_ on use ReturnBinaryAndToEarlyReturnRector (#669)
2021-08-13 20:44:01 +00:00
Tomas Votruba
aeb2451688 Updated Rector to commit c115811102cfb2e88b80258e3d18c51a19e9ba44
c115811102 [DeadCode] Skip Union Array without type on RemoveDeadInstanceOfRector (#672)
2021-08-13 20:43:09 +00:00
Tomas Votruba
55cb627074 Updated Rector to commit 7b8f4deae245e3921afdaf2f7bf4a1927da311b4
7b8f4deae2 [CodeQuality] Skip FixClassCaseSensitivityNameRector on function name exists (#660)
2021-08-13 11:57:49 +00:00
Tomas Votruba
93cc8dacbc Updated Rector to commit 906bb39c8df09c9a7c554dd97a2fde070b076861
906bb39c8d [EarlyReturn] Handle Repetitive create If_ statement on use ChangeOrIfReturnToEarlyReturnRector+RemoveAlwaysElseRector (#651)
2021-08-12 09:54:28 +00:00
Tomas Votruba
9d7620e51f Updated Rector to commit 9e17cfe28e734bc93379530c87d177da566a87b5
9e17cfe28e [DeadCode] Skip RemoveEmptyMethodCallRector on call from current  that can be overridden by child (#644)
2021-08-11 12:48:37 +00:00
Tomas Votruba
a75504cb47 Updated Rector to commit 3a76077bfe5ba553bf59f7ea269b7d594f715ecb
3a76077bfe [Defluent] Handle casted return value on FluentChainMethodCallToNormalMethodCallRector (#643)
2021-08-11 06:38:05 +00:00