151 Commits

Author SHA1 Message Date
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
ccce5491a7 Updated Rector to commit 58c8a93698dd3087905c1aa4233ca61c447c16d3
58c8a93698 [DX] Make use of configure() method (#1344)
2021-11-30 13:55:08 +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
b426e4ba33 Updated Rector to commit 6340d263f40c31eae44c1c5c057eff253c002921
6340d263f4 [DX] Add strict PHPStan rules - step #3 (#1331)
2021-11-28 17:35:55 +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
40882e2c8b Updated Rector to commit a8a2577c407c60ac535fee5ca5208ce2ea21e57b
a8a2577c40 [automated] Re-Generate Nodes/Rectors Documentation (#1325)
2021-11-28 00:36:13 +00:00
Tomas Votruba
27e200d0ed Updated Rector to commit 3844627c63712742b218035ae9140603b5537d21
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 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
00645c017c Updated Rector to commit 0e96615c363cc0c29834f10461e16d25e74122e4
0e96615c36 [DX] Explicitly inject visibility manipulator service instead of parent constructor (#1298)
2021-11-24 11:00:16 +00:00
Tomas Votruba
7cca171153 Updated Rector to commit 759b5f9fcb1ceff7a7c372fa4087d6f7f42ef620
759b5f9fcb [Php71] Skip with If always array on CountOnNullRector (#1229)
2021-11-14 08:45: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
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
b3f23cffbf Updated Rector to commit fd72d082337152b5c606775396b6f444eaf7b088
fd72d08233 Extract ObjectReference enum for self, static and parent keywords (#1056)
2021-10-25 13:44:53 +00:00
Tomas Votruba
61389a9b2c Updated Rector to commit f6f7431ce7aa36124efcda10e1b9ed16a5ccc343
f6f7431ce7 [DX] Merge getObjectType() and getStaticType() methods to single getType() (#973)
2021-10-07 17:46:41 +00:00
Tomas Votruba
73d7212e05 Updated Rector to commit 17cfa9f376b5b4a00a34e3b09ac48e7bd812be3f
17cfa9f376 Update to nikic/php-parser 4.13.0 (#904)
2021-09-27 15:43:15 +00:00
Tomas Votruba
6dcaaef071 Updated Rector to commit 49314dc3d4918988d83270ab104e347a97e46d46
49314dc3d4 [DX] Add PhpUpgradeImplementsMinPhpVersionInterfaceRule (#910)
2021-09-24 14:11:08 +00:00
Tomas Votruba
901492ce0d Updated Rector to commit 241f8a9ce1d19a0dc10149269ce9a4cd588eeb0c
241f8a9ce1 [Php71] Ensure count() function parameter exists early (#742)
2021-08-23 00:40:14 +00:00
Tomas Votruba
ba205b46bb Updated Rector to commit 68d410ef00d15ca5e373a33fd66d593e0d3de346
68d410ef00 Trigger notification (#741)
2021-08-23 00:20:32 +00:00
Tomas Votruba
674f76ced2 Updated Rector to commit 877cbb2de8150b672a966d7a8907ed63769e1cdd
877cbb2de8 fix(scoper): prefix vendor classes from PHPDoc, close #6614 (#739)
2021-08-22 23:17:31 +00:00
Tomas Votruba
ee01133ea8 Updated Rector to commit e267f89b34c0a0aa71d408bc3ac0384b719ebcdc
e267f89b34 [Privatization][Php71] Handle CountOnNullRector + ChangeReadOnlyVariableWithDefaultValueToConstantRector usage on exactly array (#738)
2021-08-22 21:31:20 +00:00
Tomas Votruba
f41cfb1de8 Updated Rector to commit b4392749f4ab12077b8cadc6cc8745ad79dcdea8
b4392749f4 Fix some code samples (#535)
2021-07-28 12:55:48 +00:00
Tomas Votruba
d15985c4e5 Updated Rector to commit 242fa166104396ce6835c07b69eef3cd0936c653
242fa16610 avoid using deprecated method directly
2021-07-21 09:38:33 +00:00
Tomas Votruba
1127b0c4e2 Updated Rector to commit bc9d2d48d5c7bd9fe011377e46b0dca464c8dceb
bc9d2d48d5 [DX] Add MissedRectorDueVersionChecker (#465)
2021-07-21 09:35:57 +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
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
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
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
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
ba438584ff Updated Rector to commit 4f4dce928e5d6534caaf904349740f1d2a9bf1b1
4f4dce928e Improve reflection for Variadic analyzer (#310)
2021-06-27 14:06:45 +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
e814dc3e3e Updated Rector to commit 1fb8e54d9594d30f931b143a18f572fe3c9cb8c8
1fb8e54d95 [Php71] Skip interface type on RemoveExtraParametersRector (#237)
2021-06-17 16:05:13 +00:00
Tomas Votruba
30625b285f Updated Rector to commit 932458fd0908da16709e57750c1c18be1c6f1aa8
932458fd09 [Php71] Skip magic const __LINE__ on BinaryOpBetweenNumberAndStringRector (#200)
2021-06-10 23:31:36 +00:00
Tomas Votruba
512f2a21f3 Updated Rector to commit ed8487954dc7d76ca5a728605f55ebafe47caa67
ed8487954d [DowngradePhp80] Handle DowngradeMixedTypeDeclarationRector on Closure (#106)
2021-05-26 10:21:12 +00:00
Tomas Votruba
2fd5eeb7dc Updated Rector to commit 6782f9daae45481cf3569d7eb211b49b6157d869
6782f9daae [CodeQualityStrict] Skip MoveVariableDeclarationNearReferenceRector when next is inline HTML (#108)
2021-05-26 10:19:23 +00:00
Tomas Votruba
e6e5488a8c Updated Rector to commit 21dc1db94255056019e79df685ad0f2dc242d439
21dc1db942 [Doc] Fix ListToArrayDestructRector Rule Definition description (#107)
2021-05-26 10:18:16 +00:00
Tomas Votruba
cdc3b7adef Updated Rector to commit f451b0b8e1e6761ec7f50809745d44d01caba66d
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d6df5e83b7d17c78630506e361bede9
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94df4879885b9106773d2f8335cb40e49
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
TomasVotruba
0800c7cdc3 fix cs 2021-05-06 20:51:25 +02:00
Tomas Votruba
2037d55d6b
[PHP 8.1] Add ReturnNeverTypeRector (#6283) 2021-05-02 10:46:55 +00:00
Tomas Votruba
06f85e4a68
Refactor file processors towards universal collector (#6085)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-12 10:34:04 +00:00
Tomas Votruba
79621dbb99
Flip @see to @changelog links (#6092) 2021-04-10 18:47:17 +00:00
github-actions[bot]
ca8cfa103b
[automated] Apply Coding Standard (#6005)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-03-29 10:31:32 +02:00
Abdul Malik Ikhsan
45f657004f
[Php71] Skip AssignArrayToStringRector on assign var not defined before (#5985) 2021-03-24 23:36:56 +01:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks (#5939) 2021-03-21 19:41:17 +01:00
Tomas Votruba
751a7453dd
Apply new PHPStan rules from Symplify (#5843)
* apply new PHPStan rules from Symplify

* less directories to speedup CI
2021-03-14 14:11:24 +01:00