12673 Commits

Author SHA1 Message Date
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
Tomas Votruba
fb290ae9af Updated Rector to commit edc280c9f15da2e54868c153f5a108d3552bc2e1
edc280c9f1 Fix for NullsafeOperatorRector crashing on returning null if both returns are null (#682)
2021-08-14 22:33:29 +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
2ddd79edde Updated Rector to commit ab02ce4b58d1d83437aae557d8ee616ac0bbe936
ab02ce4b58 [Defluent] Skip FluentChainMethodCallToNormalMethodCallRector inside ternary else (#674)
2021-08-14 13:04:02 +00:00
Tomas Votruba
b5c51f8e75 Updated Rector to commit da130380686e56898a90403ff6934d0c889417ea
da13038068 add ternary support for NullsafeOperatorRector (#678)
2021-08-14 12:37:18 +00:00
Tomas Votruba
5916663bf3 Updated Rector to commit f3298734224413d9781f2f6f292e23f21db5f232
f329873422 [Defluent] Skip New_ with not a Name on InArgFluentChainMethodCallToStandaloneMethodCallRector (#677)
2021-08-14 12:21:24 +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
fd9090a133 Updated Rector to commit cc89395feeb3ed2a85b186a93722f9dd27e06ec1
cc89395fee [EarlyReturn] Handle Repetitive If_ on use ReturnBinaryOrToEarlyReturnRector (#670)
2021-08-13 20:42:45 +00:00
Tomas Votruba
080ee3ab60 Updated Rector to commit b53d44daeee982fd1d7a0711b86258e3d6ef70fe
b53d44daee [CodeQuality] Skip Closure call on CompleteDynamicPropertiesRector (#668)
2021-08-13 20:42:40 +00:00
Tomas Votruba
7ea1d2d574 Updated Rector to commit ceef3b3468aee7b96ac1d46f6f43e602e5f8b789
ceef3b3468 [Php80] Handle Default value in Else_ not null on NullsafeOperatorRector (#667)
2021-08-13 14:22:51 +00:00
Tomas Votruba
12a282027a Updated Rector to commit e6100c9d542f3e83da64734ab5c565c915dee660
e6100c9d54 [DeadCode] Skip RemoveUselessReturnTagRector on typed closure (#662)
2021-08-13 12:04:16 +00:00
Tomas Votruba
a7f6c29b52 Updated Rector to commit 5e16b6bab731d037893d7a24d4b5896dd405d152
5e16b6bab7 [CodeQuality] Handle IssetOnPropertyObjectToPropertyExistsRector on built in class (#659)
2021-08-13 11:59:25 +00:00
Tomas Votruba
ef86842067 Updated Rector to commit 1602dbaf3ed6cec96cf21f6dd319180ec0403930
1602dbaf3e [Php80] Handle method args on NullsafeOperatorRector (#665)
2021-08-13 11:59:07 +00:00
Tomas Votruba
c971497082 Updated Rector to commit 573fd6db8533ecb713d2fc475710f12855ddb617
573fd6db85 [DeadCode] Skip RemoveUselessParamTagRector on typed closure (#661)
2021-08-13 11:59:01 +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
40d9772df6 Updated Rector to commit de5c4c77a5fe06ed04d1b7b97b10e29be344c734
de5c4c77a5 [EarlyReturn] Allow usage ChangeOrIfReturnToEarlyReturnRector and RemoveAlwaysElseRector without elseif (#655)
2021-08-12 16:01:53 +00:00
Tomas Votruba
ca101a7486 Updated Rector to commit 99301b3daeee68add16582b47611059fd7df540d
99301b3dae Namespaces should use a case sensitive comparison (#652)
2021-08-12 15:32:43 +00:00
Tomas Votruba
a0b5bf612c Updated Rector to commit 48121fb6f4dd5c3a81c50fb8809256f9cd72fffa
48121fb6f4 [PHP 8.1] Add basic support for Spatie Enums to native Enums (#653)
2021-08-12 14:48:46 +00:00
Tomas Votruba
359cdb2450 Updated Rector to commit 8e48e498234ac51af25b584f866ddd200803f02f
8e48e49823 [EarlyReturn] Skip complex if cond and with ChangeAndIfToEarlyReturnRector and RemoveAlwaysElseRector (#654)
2021-08-12 13:13:24 +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
41608eeef0 Updated Rector to commit e00aa93d63b668f9d41cc73e5ec491e809603e93
e00aa93d63 Bump Symplify deps to 9.4.28 (#650)
2021-08-11 16:17:45 +00:00
Tomas Votruba
19c1eefae1 Updated Rector to commit e35724edaeebdf239489b2526ab29ad28f929e79
e35724edae [EarlyReturn] Move comment in If_ stmt for ChangeAndIfToEarlyReturnRector (#648)
2021-08-11 16:14:49 +00:00
Tomas Votruba
d252ae7f74 Rector 0.11.47 0.11.47 2021-08-11 16:00:13 +00:00
Tomas Votruba
812387db94 Updated Rector to commit 90fd207cf6c1b7e75301257918746d5d35946c24
90fd207cf6 add monorepo builder for faster relases
2021-08-11 15:56:53 +00:00
Tomas Votruba
8526b37468 Updated Rector to commit 5b98e931dc69dff0cec416fd6bfec7de31a14f72
5b98e931dc [TypeDeclaration] Skip void type for arrow funtcions (#649)
2021-08-11 15:52:10 +00:00
Tomas Votruba
a9d8480115 Updated Rector to commit c8a4625e7c5d08bc7556c50ef888267eec122d11
c8a4625e7c [Scoper] Unprefix Helmich\TypoScriptParser\Parser\AST\Statement (#647)
2021-08-11 13:39:20 +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