237 Commits

Author SHA1 Message Date
Tomas Votruba
99edeb9629 Updated Rector to commit 52ea41240ecfb6f0a8310082419b1e61feecd0c3
47bea33c2e use changelog annotations to display useful into under the change 52ea41240e restore regex replaces
2022-05-12 19:17:07 +00:00
Tomas Votruba
bca89e29da Updated Rector to commit 33cd52e703d44690b91106f4752b5786420fa2db
33cd52e703 Fix position of class after non-reachable stmts (#2299)
2022-05-12 09:11:03 +00:00
Tomas Votruba
5147929731 Updated Rector to commit 43aa4d91f75ab9aa38f884e0a743d0bc6cda465b
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba
c91768f1b2 Updated Rector to commit 96601889449e4ff8b8090ed7d6f90480dd5593e1
9660188944 [phpstan] Add known array keys types (#1909)
2022-03-07 11:51:39 +00:00
Tomas Votruba
bcf1b8a018 Updated Rector to commit a9c5b1b456ea68da21a958ff85592079a531cb10
a9c5b1b456 [Core] Remove deprecated addNodes?(?:Before|After)Node method on AbstractRector (#1879)
2022-02-28 10:23:34 +00:00
Tomas Votruba
96d0db87e5 Updated Rector to commit 3f0006085529dfa4deedfb828898187d7c5118cc
3f00060855 end ; token on FollowedByCommaAnalyzer (#1865)
2022-02-24 19:09:08 +00:00
Tomas Votruba
28efce4d1b Updated Rector to commit b9734b410075038354d6df420ca163cf98f63465
b9734b4100 [Core] Do not show DowngradeAttributeToAnnotationRector when updated docblock, but not attribute (#1864)
2022-02-24 18:47:53 +00:00
Tomas Votruba
adcb702c28 Updated Rector to commit 78a42c7b8a9b3f56365241437c760d076af149b9
78a42c7b8a [DowngradePhp73] Add DowngradePhp73JsonConstRector (#1782)
2022-02-08 22:20:53 +00:00
Tomas Votruba
84f68c601f Updated Rector to commit daa44253f9b2f28c488d2b39d6f661a9356ff571
daa44253f9 [DowngradePhp74][DowngradePhp80] Apply ternary with method_exists on DowngradeReflectionGetTypeRector + DowngradeReflectionGetAttributesRector (#1530)
2021-12-20 12:13:23 +00:00
Tomas Votruba
280e7cc666 Updated Rector to commit 6d3155ce1195e87d700168a11ec08e3213f5949a
6d3155ce11 DowngradeTrailingCommasInFunctionCallsRector - also applies to New_ (#1526)
2021-12-19 12:40:01 +00:00
Tomas Votruba
4b35465629 Updated Rector to commit 42148012636a21d43d86ded247f9c94c772e9f4e
4214801263 [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478)
2021-12-13 17:05:39 +00:00
Tomas Votruba
56d505f641 Updated Rector to commit 41caea7156b1b431ab4b260006b67da7825f5d02
41caea7156 [TypeDeclaration] Add mixed support for AddParamTypeDeclarationRector (#1476)
2021-12-13 16:49:11 +00:00
Tomas Votruba
1742d3cab4 Updated Rector to commit 42148012636a21d43d86ded247f9c94c772e9f4e
4214801263 [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478)
2021-12-13 16:47:47 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35baeb2098395af6497f4bcac4fcd40c9
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
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
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
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
0dfa17da75 Updated Rector to commit 02905ca0f4823f29a2806b2b96a9f30d8c5e5a4a
02905ca0f4 Fix code sample (#1255)
2021-11-17 10:17:06 +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
a16c61358a Updated Rector to commit 9c52c9584822c6c4bae5f162a459d79e9f765c91
9c52c95848 [automated] Re-Generate Nodes/Rectors Documentation (#1228)
2021-11-14 00:36:15 +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
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
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
Tomas Votruba
bcf5df49d8 Updated Rector to commit f9f4b93ab9f63fd775391446f3b749d9abcca5b7
f9f4b93ab9 Add UseManipulatorTest (#1149)
2021-11-05 00:25:28 +00:00
Tomas Votruba
504a41770d Updated Rector to commit f8e04774ad93d0979b0a9eee8fd2e2c555ff19ad
f8e04774ad Fixing scoped build (#1143)
2021-11-04 15:30:20 +00:00
Tomas Votruba
4ca6af551e Updated Rector to commit aab9bcfa920b44e3316e4067dc2c91b0be4291b5
aab9bcfa92 Trigger CI to test removed classes in separate packages (#1135)
2021-11-03 00:08:12 +00:00
Tomas Votruba
e19ec3e214 Updated Rector to commit 8e9ef8786ecc1a1b122b55b361c36b3fec734c7e
8e9ef8786e [DeadCode] Skip Union with Interface on RemoveUselessParamTagRector (#1127)
2021-11-02 08:10:20 +00:00
Tomas Votruba
607db8843e Updated Rector to commit f3556e6d6d70e2550cc8f17d6c57a2eae1a4ccc5
f3556e6d6d require symfony/contracts, to make downgrade of console work
2021-11-01 14:32:25 +00:00
Tomas Votruba
54f8d6dc33 Updated Rector to commit da4d598bf0fc20b831e138407263b82645109bdf
da4d598bf0 [PHPStan 1.0] resolve FunctionReflection getFileName() from main interface (#1117)
2021-10-31 15:30:19 +00:00
Tomas Votruba
a94a50e863 Updated Rector to commit e525dad6ab1a005e79b751f4cfb1eaf94ae3c90f
e525dad6ab [PHPStan 1.0] Use Nette filesystem over phpstan filewriter (#1115)
2021-10-30 14:18:31 +00:00
Tomas Votruba
9eb3a9755c Updated Rector to commit e5186a79b48bd11252f78a6439d8cd43d65a7f64
e5186a79b4 Improve InflectorSingularResolver (#1108)
2021-10-30 00:06:50 +00:00
Tomas Votruba
03298f1783 Updated Rector to commit 0db02e27aa31748ea7e881ab76eb04e71e04be84
0db02e27aa [Core] Remove template-extends check as well on FileProcessor (#1098)
2021-10-29 03:37:36 +00:00