536 Commits

Author SHA1 Message Date
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d8ab4c9f051aff92ae20701436cd0fc
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba
8c4aedacef Updated Rector to commit fa31841d4da7d9fd155acc7310873c799cd0d560
fa31841d4d [DX] Warn about deprecated constant configuration (#1444)
2021-12-10 00:25:09 +00:00
Tomas Votruba
6472f7f4fb Updated Rector to commit fc383cc0114c4ebc5ffd2ec6c28729a4d5c02173
fc383cc011 [Scoped] Fix exclude symfony/console/Tester (#1438)
2021-12-09 13:05:29 +00:00
Tomas Votruba
e20b5e5d47 Updated Rector to commit 2800a83dad2741b98977bf89b8f811e840522906
2800a83dad [DX] Decouple AssignVariableNameResolver (#1427)
2021-12-08 15:55:52 +00:00
Tomas Votruba
4a64f24f19 Updated Rector to commit 7053e9acd1aacd2aeb9e936d67210095251a7af8
7053e9acd1 [DX] Replace deprecated danielstjules/stringy with Symfony\String (#1425)
2021-12-08 09:09:46 +00:00
Tomas Votruba
6ee24b2d05 Updated Rector to commit b2947fd96f04e19f558bf0875a808e074bc56e03
b2947fd96f [Alternative][Validation] Add AllowEmptyConfigurableRectorInterface interface for alternative to not show warning on allowed rector rule to have default fallback config (#1422)
2021-12-08 05:39:17 +00:00
Tomas Votruba
616997a2f0 Updated Rector to commit fb58a4d54a90cb95d479358bbbdb490ba792d87b
fb58a4d54a [vendor-patches] Add back patches/danielstjules-stringy-src-stringy-php.patch to patches directory (#1411)
2021-12-07 03:18:07 +00:00
Tomas Votruba
d66e622e1b Updated Rector to commit dda87fc6d2b8632967f4907bab94918c18822807
dda87fc6d2 [VendorLocker] Allow both in vendor for child and parent on ParentClassMethodTypeOverrideGuard (#1399)
2021-12-06 06:57:16 +00:00
Tomas Votruba
e0bea39594 Updated Rector to commit 5bf6e17af006445dced02834ae312b6be6d37248
5bf6e17af0 Revert [DowngradePhp81] Follow parent return type on DowngradeNeverTypeDeclarationRector (#1395) (#1397)
2021-12-05 17:32:40 +00:00
Tomas Votruba
d7a85fe86b Updated Rector to commit 96cf57b15bbc4e3b9d5f2f4b58820460c7de448e
96cf57b15b [DowngradePhp81] Follow parent return type on DowngradeNeverTypeDeclarationRector (#1395)
2021-12-05 13:55:36 +00:00
Tomas Votruba
e6aa910018 Updated Rector to commit 2fbc1d4742f67806c06d27d427b6cbcaa6a5be0f
2fbc1d4742 [automated] Re-Generate preload.php (#1393)
2021-12-05 00:35:00 +00:00
Tomas Votruba
c726969380 Updated Rector to commit fc10fce13dcf9767f54e4202b509020fed338645
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba
4a5f1c82b3 Updated Rector to commit 8547bdba9dd5bf24ce08df2f7891e120ad2aad4f
8547bdba9d [Php81] Skip ReadOnlyPropertyRector on Entity id (#1379)
2021-12-04 07:57:42 +00:00
Tomas Votruba
8a92b6daba Updated Rector to commit 49d6cc0dfa08a5d36fa63f0533482722257c3534
49d6cc0dfa [Php 8.1 Dep] Update stringy vendor patches to update with #[\ReturnTypeWillChange] (#1370)
2021-12-03 04:56:40 +00:00
Tomas Votruba
768d809544 Updated Rector to commit 3f07f384269bb16ad855eb249d12692511a47283
3f07f38426 VisibilityManipulator adjustment (#1362)
2021-12-02 07:34:16 +00:00
Tomas Votruba
0988a578ae Updated Rector to commit 9e81001c68167a6a6187f2ea6520a62c9574926d
9e81001c68 [Config] Re-enable Config SetList on rector.php (#1360)
2021-12-01 09:10:03 +00:00
Tomas Votruba
45e393bb77 Updated Rector to commit bc96ddefd4b9cef09a4c389ac180da623f64f942
bc96ddefd4 [Scoped] Fix downgrade AsciiSlugger (#1349)
2021-11-30 07:57:42 +00:00
Tomas Votruba
ccc5a527cd Updated Rector to commit 4ad4d16ac63bd20127e23389c40e5cf7296c41ea
4ad4d16ac6 Fix child method check - both on native (#1336)
2021-11-29 00:11:21 +00:00
Tomas Votruba
11660d59a5 Updated Rector to commit 185ee1b473147fd620d3da2c42eb52b1756f2a18
185ee1b473 [DX] Add strict PHPStan rules - step #4 (#1333)
2021-11-28 18:05:13 +00:00
Tomas Votruba
3d98187ea1 Updated Rector to commit 39a530c1f5b4cb2cbb6cca37b9e6947d735bac14
39a530c1f5 [DX] Add strict PHPStan rules - step #2 (#1330)
2021-11-28 17:01:20 +00:00
Tomas Votruba
0562d594e0 Updated Rector to commit f985e811be98213dc0f0f6422f1a6e63ccc90ee5
f985e811be [DX] Add strict PHPStan rules - step #1 (#1324)
2021-11-28 16:42:02 +00:00
Tomas Votruba
40882e2c8b Updated Rector to commit a8a2577c407c60ac535fee5ca5208ce2ea21e57b
a8a2577c40 [automated] Re-Generate Nodes/Rectors Documentation (#1325)
2021-11-28 00:36:13 +00:00
Tomas Votruba
48f2d98170 Updated Rector to commit 40ec5519781b40b38a9168d002c82924c885261b
40ec551978 [DeadCode] Add support remove unused in between private method parameter for RemoveUnusedPrivateMethodParameterRector (#1321)
2021-11-27 09:53:00 +00:00
Tomas Votruba
738852dc1a Updated Rector to commit 1255b91c20378fcbab6e086fc056d6eb955a1f98
1255b91c20 [PHP 8.2] Add rule for AllowDynamicProperties attribute (#1225)
2021-11-26 11:19:23 +00:00
Tomas Votruba
27f9fb751d Updated Rector to commit 9ba0f6305f9f1bce54ba73afbacad2d62ccc1022
9ba0f6305f [DeadCode] Add RemoveUnusedParamInRequiredAutowireRector (#1301)
2021-11-25 05:43:26 +00:00
Tomas Votruba
786528284b Updated Rector to commit f8e8efa7289090f27ab78dbfac424f07fa5fad8b
f8e8efa728 Update how_it_works.md (#1293)
2021-11-24 00:11:27 +00:00
Tomas Votruba
b21c7e2dc8 Updated Rector to commit 21c9c1c16d75305875a52d27b6119fbbcb8469b2
21c9c1c16d fix symfony/console compatibility break with psr/log
2021-11-23 13:20:36 +00:00
Tomas Votruba
3c750baf30 Updated Rector to commit f5d4f9dd7621a0bdcb4352c34f6d574ab4c0d33e
f5d4f9dd76 [Php81] Apply constructor promotion on NewInInitializerRector (#1288)
2021-11-22 09:01:31 +00:00
Tomas Votruba
cae65c2537 Updated Rector to commit 63ed131c3faa8dc0f590c004d2cdd3e4b4d7bc28
63ed131c3f [automated] Re-Generate Nodes/Rectors Documentation (#1284)
2021-11-21 00:34:01 +00:00
Tomas Votruba
cd31960a43 Updated Rector to commit 60c06a7fbf77a7ad89e1c7a52114abd6ccc47883
60c06a7fbf fix downgrade
2021-11-20 10:43:40 +00:00
Tomas Votruba
7e333cd42a Updated Rector to commit 7143376acbff56d4e04cda04882087fc07ba3944
7143376acb [EarlyReturn][Php73] Handle JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1272)
2021-11-19 09:08:20 +00:00
Tomas Votruba
5e0eef55a5 Updated Rector to commit c6473c6a0b4ecaab710353e83f0c740e2e998d26
c6473c6a0b [Php81] Fix NewInInitializerRector code sample (#1264)
2021-11-18 07:58:51 +00:00
Tomas Votruba
ee29ff17d4 Updated Rector to commit f0b639bbaaf3a6bb2743e1e86e9ac7d25a24328f
f0b639bbaa Update to nikic/php-parser 4.13.1 (#1253)
2021-11-17 07:16:43 +00:00
Tomas Votruba
01b8ec09d1 Updated Rector to commit 50096d79555358278ee8a3e972fdec7d1bb6c3b0
50096d7955 [Renaming] Handle var static docblock in union on RenameClassRector (#1248)
2021-11-16 11:06:23 +00:00
Tomas Votruba
d8ebd1efd5 Updated Rector to commit 5154b53518632494ac07f740031ba6e8697ed4ab
5154b53518 [TypeDeclaration] Avoid error Rector\Core\Rector\AbstractRector::isObjectType() must implement interface PhpParser\Node, null given on AddParamTypeDeclarationRector (#1239)
2021-11-15 01:54:27 +00:00
Tomas Votruba
dacadf5e8f Updated Rector to commit 4b3a51cff96bcca65a8178465c3c00d6ff520da9
4b3a51cff9 [Naming] Add StaticPropertyFetch support on RenameForeachValueVariableToMatchExprVariableRector (#1232)
2021-11-14 08:50:26 +00:00
Tomas Votruba
a16c61358a Updated Rector to commit 9c52c9584822c6c4bae5f162a459d79e9f765c91
9c52c95848 [automated] Re-Generate Nodes/Rectors Documentation (#1228)
2021-11-14 00:36:15 +00:00
Tomas Votruba
2fe1ccafc6 Updated Rector to commit 096817b1afcd893e6c95677ff74058fc0c9f1628
096817b1af [CodeQuality] Add do whlie rule to set (#1223)
2021-11-13 08:43:40 +00:00
Tomas Votruba
7c15063ea7 Updated Rector to commit a26ed1a989d13dd18e1132959f5c2cc169761602
a26ed1a989 fix: ignore specified words while making it singularized (#1222)
2021-11-13 08:28:51 +00:00
Tomas Votruba
750add220d Updated Rector to commit 305c524662a3b21de171afd536ee3e3fc9db9178
305c524662 [TypeDeclaration] Improve typed property (#1221)
2021-11-13 00:51:27 +00:00
Tomas Votruba
3a883b2fc9 Updated Rector to commit af81708d80025b5af4a556370127b3946c046133
af81708d80 [TypeDeclaration] Skip conditional Throw_ on ReturnNeverTypeRector (#1217)
2021-11-12 09:48:23 +00:00
Tomas Votruba
9131fc62e0 Updated Rector to commit 2ed0430f4eba99a019db01f5eaee3678a5b6ac30
2ed0430f4e [NodeTypeResolver] Avoid error Uncaught TypeError: PHPStan\Type\Constant\ConstantIntegerType::__construct(): Argument #1 () must be of type int, string given (#1210)
2021-11-11 00:28:34 +00:00
Tomas Votruba
b5d03cf1f4 Updated Rector to commit f32035d12fe7a1e65457d42ff09521c357d282f6
f32035d12f [TypeDeclaration] Skip Conditional on ReturnNeverTypeRector (#1200)
2021-11-10 10:27:52 +00:00
Tomas Votruba
0fea0fdc92 Updated Rector to commit 08ce1d06edc631bbe6c92482cc82dd35f8d387f6
08ce1d06ed [Php70] Avoid error Undefined property: PhpParser\Node\Stmt\Class_:: on ThisCallOnStaticMethodToStaticCallRector (#1197)
2021-11-09 13:36:07 +00:00
Tomas Votruba
3601e07ec8 Updated Rector to commit 65b389256326b60656831862ebfb7c898326856f
65b3892563 bump deps
2021-11-09 12:04:54 +00:00
Tomas Votruba
cf975f7d4d Updated Rector to commit b2d174999982e504501d85a94fcaa0b4fcf7d693
b2d1749999 Fix issue of parsing PHP 8 sources on PHP 7.x (#1184)
2021-11-08 09:21:05 +00:00
Tomas Votruba
7f56f8ae35 Updated Rector to commit 66800f00f1ec158f96416b8e0b84c93f54abb1d5
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba
ee85d297c4 Updated Rector to commit 8e6701c3c93501bb84e388d9e3aae349012c5cc1
8e6701c3c9 Merge ParentFinder to BetterNodeFinder (#1168)
2021-11-06 14:57:23 +00:00
Tomas Votruba
a42ac7439f Updated Rector to commit c3b6efea7ee5351ce66461fe02c5f9b7282816bb
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00
Tomas Votruba
bf8d644cbf Updated Rector to commit c31cabf0b3a67d59000824836fa5fc42ec1a2d2f
c31cabf0b3 [MYSQL_TO_MYSQLI] Restore Mysql to Mysqli Behaviour when used with Dead Code SetList (#1161)
2021-11-06 00:53:30 +00:00