Commit Graph

257 Commits

Author SHA1 Message Date
Tomas Votruba
45e393bb77 Updated Rector to commit bc96ddefd4
bc96ddefd4 [Scoped] Fix downgrade AsciiSlugger (#1349)
2021-11-30 07:57:42 +00:00
Tomas Votruba
ccc5a527cd Updated Rector to commit 4ad4d16ac6
4ad4d16ac6 Fix child method check - both on native (#1336)
2021-11-29 00:11:21 +00:00
Tomas Votruba
8573f613c5 Updated Rector to commit fa9b4ef615
fa9b4ef615 [Transform] Remove unused ClassConstFetchToValueRector (#1332)
2021-11-28 17:29:16 +00:00
Tomas Votruba
3d98187ea1 Updated Rector to commit 39a530c1f5
39a530c1f5 [DX] Add strict PHPStan rules - step #2 (#1330)
2021-11-28 17:01:20 +00:00
Tomas Votruba
918bdf5c32 Updated Rector to commit 3786e3830a
3786e3830a [Transform]Fix keep args on StaticCallToNewRector (#1326)
2021-11-28 09:50:22 +00:00
Tomas Votruba
40882e2c8b Updated Rector to commit a8a2577c40
a8a2577c40 [automated] Re-Generate Nodes/Rectors Documentation (#1325)
2021-11-28 00:36:13 +00:00
Tomas Votruba
27e200d0ed Updated Rector to commit 3844627c63
3844627c63 [DX] make all configure() methods accept direct value object configuration (#1322)
2021-11-27 13:43:28 +00:00
Tomas Votruba
48f2d98170 Updated Rector to commit 40ec551978
40ec551978 [DeadCode] Add support remove unused in between private method parameter for RemoveUnusedPrivateMethodParameterRector (#1321)
2021-11-27 09:53:00 +00:00
Tomas Votruba
b86475b1ef Updated Rector to commit 5a0947d9a2
5a0947d9a2 [Renaming] Handle rename template tag of class on RenameClassRector (#1318)
2021-11-26 17:20:22 +00:00
Tomas Votruba
738852dc1a Updated Rector to commit 1255b91c20
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 9ba0f6305f
9ba0f6305f [DeadCode] Add RemoveUnusedParamInRequiredAutowireRector (#1301)
2021-11-25 05:43:26 +00:00
Tomas Votruba
00645c017c Updated Rector to commit 0e96615c36
0e96615c36 [DX] Explicitly inject visibility manipulator service instead of parent constructor (#1298)
2021-11-24 11:00:16 +00:00
Tomas Votruba
786528284b Updated Rector to commit f8e8efa728
f8e8efa728 Update how_it_works.md (#1293)
2021-11-24 00:11:27 +00:00
Tomas Votruba
b21c7e2dc8 Updated Rector to commit 21c9c1c16d
21c9c1c16d fix symfony/console compatibility break with psr/log
2021-11-23 13:20:36 +00:00
Tomas Votruba
3c750baf30 Updated Rector to commit f5d4f9dd76
f5d4f9dd76 [Php81] Apply constructor promotion on NewInInitializerRector (#1288)
2021-11-22 09:01:31 +00:00
Tomas Votruba
cae65c2537 Updated Rector to commit 63ed131c3f
63ed131c3f [automated] Re-Generate Nodes/Rectors Documentation (#1284)
2021-11-21 00:34:01 +00:00
Tomas Votruba
cd31960a43 Updated Rector to commit 60c06a7fbf
60c06a7fbf fix downgrade
2021-11-20 10:43:40 +00:00
Tomas Votruba
7e333cd42a Updated Rector to commit 7143376acb
7143376acb [EarlyReturn][Php73] Handle JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1272)
2021-11-19 09:08:20 +00:00
Tomas Votruba
5e0eef55a5 Updated Rector to commit c6473c6a0b
c6473c6a0b [Php81] Fix NewInInitializerRector code sample (#1264)
2021-11-18 07:58:51 +00:00
Tomas Votruba
ee29ff17d4 Updated Rector to commit f0b639bbaa
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 50096d7955
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 5154b53518
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 9c52c95848
9c52c95848 [automated] Re-Generate Nodes/Rectors Documentation (#1228)
2021-11-14 00:36:15 +00:00
Tomas Votruba
750add220d Updated Rector to commit 305c524662
305c524662 [TypeDeclaration] Improve typed property (#1221)
2021-11-13 00:51:27 +00:00
Tomas Votruba
3a883b2fc9 Updated Rector to commit af81708d80
af81708d80 [TypeDeclaration] Skip conditional Throw_ on ReturnNeverTypeRector (#1217)
2021-11-12 09:48:23 +00:00
Tomas Votruba
9131fc62e0 Updated Rector to commit 2ed0430f4e
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 f32035d12f
f32035d12f [TypeDeclaration] Skip Conditional on ReturnNeverTypeRector (#1200)
2021-11-10 10:27:52 +00:00
Tomas Votruba
3601e07ec8 Updated Rector to commit 65b3892563
65b3892563 bump deps
2021-11-09 12:04:54 +00:00
Tomas Votruba
cf975f7d4d Updated Rector to commit b2d1749999
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 66800f00f1
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba
b5ad3a2e08 Updated Rector to commit 824df97e93
824df97e93 [DX] Move from CLASS_METHOD node attribute to parent finder (#1167)
2021-11-06 14:25:01 +00:00
Tomas Votruba
a42ac7439f Updated Rector to commit c3b6efea7e
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 c31cabf0b3
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 f9f4b93ab9
f9f4b93ab9 Add UseManipulatorTest (#1149)
2021-11-05 00:25:28 +00:00
Tomas Votruba
504a41770d Updated Rector to commit f8e04774ad
f8e04774ad Fixing scoped build (#1143)
2021-11-04 15:30:20 +00:00
Tomas Votruba
4ca6af551e Updated Rector to commit aab9bcfa92
aab9bcfa92 Trigger CI to test removed classes in separate packages (#1135)
2021-11-03 00:08:12 +00:00
Tomas Votruba
40f2bcdb1e Updated Rector to commit 29b79786e2
29b79786e2 add getStringValue() to value resolver (#1130)
2021-11-02 15:11:40 +00:00
Tomas Votruba
e19ec3e214 Updated Rector to commit 8e9ef8786e
8e9ef8786e [DeadCode] Skip Union with Interface on RemoveUselessParamTagRector (#1127)
2021-11-02 08:10:20 +00:00
Tomas Votruba
607db8843e Updated Rector to commit f3556e6d6d
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 da4d598bf0
da4d598bf0 [PHPStan 1.0] resolve FunctionReflection getFileName() from main interface (#1117)
2021-10-31 15:30:19 +00:00
Tomas Votruba
9eb3a9755c Updated Rector to commit e5186a79b4
e5186a79b4 Improve InflectorSingularResolver (#1108)
2021-10-30 00:06:50 +00:00
Tomas Votruba
76ed56b260 Updated Rector to commit c6d2339cb7
c6d2339cb7 Add InflectorSingularResolverTest (#1107)
2021-10-29 23:49:05 +00:00
Tomas Votruba
03298f1783 Updated Rector to commit 0db02e27aa
0db02e27aa [Core] Remove template-extends check as well on FileProcessor (#1098)
2021-10-29 03:37:36 +00:00
Tomas Votruba
0e12053207 Updated Rector to commit 0a704afcef
0a704afcef Improve configure() method types (#1094)
2021-10-28 15:29:52 +00:00
Tomas Votruba
756ef832ec Updated Rector to commit e2bbc2fd9d
e2bbc2fd9d [DowngradePhp74] fix uses for nested arrow functions with same param names (#1090)
2021-10-28 12:01:11 +00:00
Tomas Votruba
2b6e4f5909 Updated Rector to commit d1e09e3d5e
d1e09e3d5e [ECS] remove ignored rules that are now fixed, use SimplePhpParser for ad-hoc node resolving (#1076)
2021-10-27 08:50:45 +00:00
Tomas Votruba
50818a1498 Updated Rector to commit 87a6907172
87a6907172 [PSR4] Fix test on NormalizeNamespaceByPSR4ComposerAutoloadRector (#1063)
2021-10-26 00:21:45 +00:00
Tomas Votruba
20d4f35d27 Updated Rector to commit b305c4edf2
b305c4edf2 [DX] Decouple PropertyTypeDecorator (#1055)
2021-10-25 11:14:32 +00:00
Tomas Votruba
a23095a462 Updated Rector to commit 8e2908c2a1
8e2908c2a1 Cleanup (#1054)
2021-10-24 20:43:49 +00:00
Tomas Votruba
f4b82f4b45 Updated Rector to commit 7f73cf0172
7f73cf0172 [automated] Re-Generate Nodes/Rectors Documentation (#1050)
2021-10-24 00:34:27 +00:00