106 Commits

Author SHA1 Message Date
Tomas Votruba
9e4b848150 Updated Rector to commit 48ccb539d49aede106e02c5a855b51f8548f3c07
48ccb539d4 [DeadCode] Handle null start token position attribute in NodeByTypeAndPositionCollector (#469)
2021-07-20 14:23:43 +00:00
Tomas Votruba
0ead874fad Updated Rector to commit 75c06eab69f50725add0c315bc6dfaf4a7b2f5c5
75c06eab69 Fix match static method name in annotation (#446)
2021-07-19 05:06:26 +00:00
Tomas Votruba
d77b300a95 Updated Rector to commit 2fc18bd2c0f1a0f5a3183e9115abd597e87f2241
2fc18bd2c0 [Rectify] Manual twice run rector against rules directory (#448)
2021-07-18 02:11:18 +00:00
Tomas Votruba
e3f781999f Updated Rector to commit 2a28758894a0a5668f6d369714c5d731737ec6fd
2a28758894 [Core] Fix --no-progress-bar option not applied (#447)
2021-07-17 03:01:09 +00:00
Tomas Votruba
cc15e42d73 Updated Rector to commit a0f2ad97896e7b0afc830e0f51c89679948dd2be
a0f2ad9789 [Privatization] Skip ChangeGlobalVariablesToPropertiesRector on read only global variable (#442)
2021-07-16 09:16:38 +00:00
Tomas Votruba
816016aac7 Updated Rector to commit 294bea2d1850fb65aca43119b7692932846f2d86
294bea2d18 [FileProcessor] Run untill the file is fixed completelly (#432)
2021-07-15 03:40:51 +00:00
Tomas Votruba
68e641029b Updated Rector to commit 4f2d2d12ddfc2cebe4511c7de381bfb861afdc4a
4f2d2d12dd [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on array param has default null (#433)
2021-07-14 07:23:54 +00:00
Tomas Votruba
adc6b8148a Updated Rector to commit f7eeebaa7bdb96a6bc7311b1fa4a4e8a19789b35
f7eeebaa7b [DeadCode] Fix non-null type check on RemoveUnusedNonEmptyArrayBeforeForeachRector (#430)
2021-07-13 05:50:47 +00:00
Tomas Votruba
55c47b9663 Updated Rector to commit d08a87f692fcea45633084a12889324a19da49d8
d08a87f692 added promoted property test for annotation to attribute rule (#425)
2021-07-12 08:28:11 +00:00
Tomas Votruba
4a9dac4d4c Updated Rector to commit 3b0e8b64866125b42f2d06fd84715c6263e41a12
3b0e8b6486 [DowngradePhp80] Add DowngradePhpTokenRector (#426)
2021-07-11 22:22:32 +00:00
Tomas Votruba
f3645ab6a9 Updated Rector to commit fb9ad83c32770022a3816ee06c88d92cd84dc322
fb9ad83c32 [CodeQuality] Skip InlineIfToExplicitIfRector on constant definition (#422)
2021-07-11 15:30:37 +00:00
Tomas Votruba
54dcc7b361 Updated Rector to commit a49c8612af4d99e6ab0b41db60d3829c81110b54
a49c8612af [Downgrade PHP 8.0] Fix DowngradeNullsafeToTernaryOperatorRector for trait (#412)
2021-07-10 00:43:27 +00:00
Tomas Votruba
ebde8d4ca2 Updated Rector to commit cf0284b07503197948cbf8e036c46049a35164ee
cf0284b075 [DowngradePhp80] Handle Attribute in DowngradePropertyPromotionRector (#410)
2021-07-09 23:55:05 +00:00
Tomas Votruba
8883574049 Updated Rector to commit 6f1f047087a496a41745c1ea994273e3bc8dcdb4
6f1f047087 add RenameParamValueObjectInterface to trusted downgrade widening types
2021-07-09 23:00:32 +00:00
Tomas Votruba
207c620c29 Updated Rector to commit 311a96fbf8a6f71faee4620db786669c76bbf015
311a96fbf8 bump php-parser to 4.11, phpstan to 0.12.91 (#402)
2021-07-08 00:06:13 +00:00
Tomas Votruba
09e84aa431 Updated Rector to commit 20153a915bbbbd665084f44f725a10fc8c6b778f
20153a915b [TypeDeclaration] Skip mixed union return on ReturnTypeDeclarationRector (#393)
2021-07-07 00:20:29 +00:00
Tomas Votruba
8a32b5f563 Updated Rector to commit 150da023db4a54a72f1a8225dba52754c5295cf3
150da023db include standalone traits in downgrade too
2021-07-06 08:19:07 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992ccc8e6d4b20e92a5833316d381921391
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
a79e6f56df Updated Rector to commit ff1ad31d6a1d327542ef2326a84b71554856b9ef
ff1ad31d6a [PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380)
2021-07-05 07:47:59 +00:00
Tomas Votruba
bb3e86de23 Updated Rector to commit 904a5a7a1c8dd041524cb51ec3a689ad4cbef436
904a5a7a1c Make use of ClassMethodReturnVendorLockResolver (#377)
2021-07-04 21:21:47 +00:00
Tomas Votruba
4333c09758 Updated Rector to commit dfbbb02dec1ee271ee4da600a93a430178d1f9d2
dfbbb02dec [PHP 8.0] Fix DowngradeNamedArgumentRector named arguments (#373)
2021-07-04 13:13:54 +00:00
Tomas Votruba
ec097d0fda Updated Rector to commit 9907e913af6ed37ec8b00273caf91a29a02263ad
9907e913af bump to fixed ECS
2021-07-03 10:57:19 +00:00
Tomas Votruba
79df1ed831 Updated Rector to commit 6238705e938a643cb84e0b4275cb682d26307975
6238705e93 mics
2021-07-02 00:08:09 +00:00
Tomas Votruba
1666838b21 Updated Rector to commit 9575dd2231f38d6dd04606e53c51919527c9333c
9575dd2231 [CodingStyle] Skip indirect version number on VersionCompareFuncCallToConstantRector (#344)
2021-07-01 08:50:15 +00:00
Tomas Votruba
6949a054ce Updated Rector to commit 1d1dc73fcbac8f15b4af03b7baa5ee90fe71f0e2
1d1dc73fcb [PHP 8.0] Fix attribute multi-line (#337)
2021-06-30 01:01:00 +00:00
Tomas Votruba
636eeecaf4 Updated Rector to commit dfd048342b88db3c2adcf20ec701a9fd9a4e2319
dfd048342b [PHP 8.0] Run union types for filled param type too (#331)
2021-06-29 14:24:45 +00:00
Tomas Votruba
a7f25f1444 Updated Rector to commit 2a394c750f518a33d56a0aa80fa2addf6ff1c140
2a394c750f Reflection cleanup + inline union types for couple of param docs (#330)
2021-06-29 13:37:16 +00:00
Tomas Votruba
ed4f2ecd4c Updated Rector to commit e666df703e78bed6a404315db4a8482b8f1b98ed
e666df703e More Reflection cleanup (#328)
2021-06-29 00:31:58 +00:00
Tomas Votruba
d8c2a5ac52 Updated Rector to commit 62bbaa56d25f109fe648949592bb50d94d30055d
62bbaa56d2 Cleanup stuff (#324)
2021-06-28 17:10:14 +00:00
Tomas Votruba
57002777fc Updated Rector to commit 1a87a3dfcc2caaaa74b05b4318035ba2c697c559
1a87a3dfcc [TypeDeclaration] Prevent checking class like has external fully qualifieds when class like is null (#319)
2021-06-28 09:39:23 +00:00
Tomas Votruba
791eb8723f Updated Rector to commit a43571607264ad82557fe869aab550dff21d01ec
a435716072 Unite any extra reflection parsing to single ReflectionResolver service (#313)
2021-06-27 17:35:23 +00:00
Tomas Votruba
5a0a45ded6 Updated Rector to commit 20ad16b1e6ad957009035498a8384b684c74f938
20ad16b1e6 [automated] Re-Generate Nodes/Rectors Documentation (#307)
2021-06-27 12:12:15 +00:00
Tomas Votruba
2037399677 Updated Rector to commit 04981badaadd4a5950b85cea5a39b9c03cb28c68
04981badaa Rename ReflectionAstResolver to simple AstResolver (#300)
2021-06-26 11:50:38 +00:00
Tomas Votruba
56f42aa88e Updated Rector to commit edd78eb3109e879ef3bf92ba0e678feb3f915d61
edd78eb310 fix cs
2021-06-25 15:48:58 +00:00
Tomas Votruba
c99e19b804 Updated Rector to commit 4f619aae7257f4ad2fa5e13b79d5a18797137db8
4f619aae72 NodeRepository usage cleanup (#287)
2021-06-25 06:35:08 +00:00
Tomas Votruba
fe83c379c5 Updated Rector to commit 29e9bf5610dd9a01cadc68e823e64562476a7517
29e9bf5610 Cleaning up NodeRepository dependency (#280)
2021-06-24 08:24:49 +00:00
Tomas Votruba
3419d090b1 Updated Rector to commit 5daf16907abbbe6657c4138acbf96893870f8a97
5daf16907a [DowngradePhp80] Fix Type boolan and array on DowngradeNamedArgumentRector (#279)
2021-06-23 17:04:26 +00:00
Tomas Votruba
0ef9715e0d Updated Rector to commit 3575ba0e47f81c072ec530674d020278457f6e32
3575ba0e47 [DowngradePhp80] Enable New_ on DowngradeNamedArgumentRector (#276)
2021-06-23 14:44:39 +00:00
Tomas Votruba
4982b19288 Updated Rector to commit 68d7671ee12da8d1c9a2f72796c9cb884f04195b
68d7671ee1 Handle nested arrays in CurlyListNode (#274)
2021-06-23 12:46:02 +00:00
Tomas Votruba
98ca09597d Updated Rector to commit 0c035c390d4afd73b76f186313d4b7f7d906e072
5689cbe017 remove passing extra fileInfo with file, already included 7bba40aa32 remove OPTION_ prefix c2ce6104d3 remove extra parma in value object 77a90c5fd4 remove is cache debug ff3de640d4 add shot options constant 0c035c390d misc
2021-06-22 15:56:17 +00:00
Tomas Votruba
5c17ab737b Updated Rector to commit a41384bc0064fa78211ac59a79a0debd89868eb1
a41384bc00 Fix doc importing on Doctrine annotation class rename (#264)
2021-06-22 10:43:16 +00:00
Tomas Votruba
89bf6477a6 Updated Rector to commit ff4a9883f9320f3289cc6f11f6339400dc30caac
ff4a9883f9 [automated] Re-Generate Nodes/Rectors Documentation (#252)
2021-06-21 19:24:28 +00:00
Tomas Votruba
dd0f41032c Updated Rector to commit dc90b45425c4921e221b7b6b826fa3cb22ccd981
dc90b45425 Alternative for 241 (Remove backslash from fallback var name) (#251)
2021-06-20 00:37:20 +00:00
Tomas Votruba
54f83536f1 Updated Rector to commit 9987001099543c79af8e2087524b2ec8c8335a99
9987001099 [Config] Clean up comment in rector.php config (#247)
2021-06-19 01:07:33 +00:00
Tomas Votruba
281d0518a0 Updated Rector to commit dce60231f7fe8777847a5f845572711999db650f
dce60231f7 [TypeDeclaration][Php 8] Enable ReturnTypeDeclarationRector (#184)
2021-06-18 17:31:16 +00:00
Tomas Votruba
6736aed6b9 Updated Rector to commit e783801584b7778aa0d0b15fc0ec918d81b2af6a
e783801584 [Php71] Handle variadic check inside function with function_exists() check (#244)
2021-06-18 17:14:06 +00:00
Tomas Votruba
dda18414a1 Updated Rector to commit 5e6a01145feda29e844606d161ff278c2297fa8f
5e6a01145f [README] fix ecs.php link
2021-06-17 09:46:43 +00:00
Tomas Votruba
26f92fe9e9 Updated Rector to commit 5157414f6ce53ddccf361f059c987648eda9b1b3
5157414f6c [Php80] Fix multiple cases and case mix up default for ChangeSwitchToMatchRector (#231)
2021-06-16 10:39:17 +00:00
Tomas Votruba
8f636d1e5d Updated Rector to commit f7ba591fd6216f067209a2236e3b5382c4172187
f7ba591fd6 rename fixture classes to differ from node names to avoid miss-type (#229)
2021-06-15 14:27:25 +00:00
Tomas Votruba
0f17e48d24 Updated Rector to commit fc17cc90a9dbee71396866d1baf7c3fd3fef419b
fc17cc90a9 [Php80] Test for misplaced } on multiline in AnnotationToAttributeRector (#218)
2021-06-14 02:16:47 +00:00