Commit Graph

226 Commits

Author SHA1 Message Date
Tomas Votruba
9875b5de97 Updated Rector to commit c6142e139f
c6142e139f [Php56][Php70] Handle ExceptionHandlerTypehintRector+CatchExceptionNameMatchingTypeRector+AddDefaultValueForUndefinedVariableRector (#1735)
2022-01-27 09:07:13 +00:00
Tomas Votruba
20964885f0 Updated Rector to commit 64d76cd11e
64d76cd11e [FinalizePublicClassConstantRector] Ignore final classes (#1730)
2022-01-26 10:10:51 +00:00
Tomas Votruba
d3e1bb7e5d Updated Rector to commit 084ac39f29
084ac39f29 Add option to configure followLinks of finder (#1703)
2022-01-25 00:12:31 +00:00
Tomas Votruba
7626873cdf Updated Rector to commit 386c97b914
386c97b914 [Naming][Php56] Do not add default value init for renamed variable from param on RenameParamToMatchTypeRector+AddDefaultValueForUndefinedVariableRector (#1716)
2022-01-24 04:18:32 +00:00
Tomas Votruba
12ec968038 Updated Rector to commit 88a32076c6
88a32076c6 [Php74] Skip readonly on RestoreDefaultNullToNullableTypePropertyRector (#1713)
2022-01-22 09:45:55 +00:00
Tomas Votruba
c4b2af01d7 Updated Rector to commit 2934929fac
2934929fac [CodingStyle] Handle more than one method contains try catch on CatchExceptionNameMatchingTypeRector (#1706)
2022-01-21 06:12:56 +00:00
Tomas Votruba
9abce1612b Updated Rector to commit 672b339ebd
672b339ebd [e2e][scoped] Add e2e global install on scoped (#1704)
2022-01-20 21:15:14 +00:00
Tomas Votruba
f2b4b95aa2 Updated Rector to commit dbf132092a
dbf132092a [Php71] Skip property fetch array assigned in method call on __construct on CountOnNullRector (#1698)
2022-01-19 08:54:57 +00:00
Tomas Votruba
c00c31fd50 Updated Rector to commit 1c7460bcfc
1c7460bcfc [Privatization] Skip ChangeReadOnlyVariableWithDefaultValueToConstantRector when local variable never used (#1693)
2022-01-18 07:55:51 +00:00
Tomas Votruba
165b238ab7 Updated Rector to commit 94e7ac8ef8
94e7ac8ef8 [Naming] Fix property interface and underscore naming (#1689)
2022-01-17 00:12:52 +00:00
Tomas Votruba
caf39c6999 Updated Rector to commit 72de31e70f
72de31e70f Ensure autoloader is loaded in globally installed Rector (#1683)
2022-01-16 01:39:16 +00:00
Tomas Votruba
7bec35aee9 Updated Rector to commit 80882ad175
80882ad175 [TypeDeclaration] Skip Throw_ in construct and as Expr on ReturnNeverTypeRector (#1679)
2022-01-15 08:52:41 +00:00
Tomas Votruba
903c96a6c2 Updated Rector to commit 6ea0032a70
6ea0032a70 [CodeQuality] Do not add \ on static on CallableThisArrayToAnonymousFunctionRector (#1671)
2022-01-14 09:27:49 +00:00
Tomas Votruba
89982c6c94 Updated Rector to commit 2607c2a79b
2607c2a79b [Php81] Add NullToStrictStringFuncCallArgRector (#1655)
2022-01-13 13:02:46 +00:00
Tomas Votruba
c6d9c4e26b Updated Rector to commit fd34e6c925
fd34e6c925 Do not remove final modifier from private constructors (#1663)
2022-01-12 10:12:35 +00:00
Tomas Votruba
ddc2f64433 Updated Rector to commit 2676f89d13
2676f89d13 [PhpAttribute] Fix array key of class constant reference (#1659)
2022-01-11 15:18:02 +00:00
Tomas Votruba
a5aef684ff Updated Rector to commit e27e483094
e27e483094 [Core] BetterStandardPrinter performance improvement with unnecessary regex check on no Closure Uses and no ClassMethod ReturnType (#1653)
2022-01-10 00:03:45 +00:00
Tomas Votruba
3df670f627 Updated Rector to commit 4ab2ab5850
ea2ea17385 [automated] Re-Generate Nodes/Rectors Documentation 4ab2ab5850 Merge pull request #1650 from rectorphp/automated-regenerated-nodes-rectors-documentation
2022-01-09 10:54:09 +00:00
Tomas Votruba
d60e53c3ca Updated Rector to commit 1f7170df9e
81b7411267 Fix access to optional array key when using  function 1f7170df9e Merge pull request #1648 from ste93cry/fix-phpstan-access-to-undefined-array-key
2022-01-08 00:28:55 +00:00
Tomas Votruba
300503afe6 Updated Rector to commit f42b3f91e2
8d64aee223 Fix memory leak b5dce9edd7 Further improvement f42b3f91e2 Merge pull request #1643 from ondrejmirtes/fix-memory-leak
2022-01-07 00:57:38 +00:00
Tomas Votruba
88a06d884f Updated Rector to commit 840bd5e3e6
d8609d9225 [Parallel] Unsupported files are not skipped 840bd5e3e6 Merge pull request #1638 from gander/main
2022-01-05 11:30:27 +00:00
Tomas Votruba
eaa95768d6 Updated Rector to commit f900476469
f900476469 [Downgrade 7.0] Fix value calls that do not lex in PHP 5.6 (#1615)
2022-01-04 01:08:47 +00:00
Tomas Votruba
dd6ffa61b2 Updated Rector to commit 9baf531477
9baf531477 Avoid clearing the cache while saving it on parallel (#1616)
2022-01-03 05:20:02 +00:00
Tomas Votruba
ffcf6171ac Updated Rector to commit 9c6a6b0422
9c6a6b0422 [automated] Re-Generate Nodes/Rectors Documentation (#1612)
2022-01-02 00:31:07 +00:00
Tomas Votruba
1a5260ef5d Updated Rector to commit b8a527c07e
b8a527c07e DowngradeSelfTypeDeclarationRector: Fix example output (#1606)
2022-01-01 11:02:34 +00:00
Tomas Votruba
b1cba49930 Updated Rector to commit 311ffc6ec3
311ffc6ec3 [Php81] Skip ReadOnlyPropertyRector on Clone  (#1599)
2021-12-31 09:04:07 +00:00
Tomas Votruba
486b7bee9f Updated Rector to commit 068369e632
068369e632 fix: add failing test and fix for repeated numeric strings (#1591)
2021-12-30 08:15:26 +00:00
Tomas Votruba
5f4bbd4591 Updated Rector to commit 5181bf9016
5181bf9016 Update to PHPStan ^1.3 (#1589)
2021-12-29 23:18:00 +00:00
Tomas Votruba
aced4967b7 Updated Rector to commit fa7249028c
fa7249028c [Scoped] Fix PHP71_BIN_PATH: unbound variable on local full_build.sh (#1586)
2021-12-28 12:08:43 +00:00
Tomas Votruba
901fe8ed44 Updated Rector to commit 68dde1af51
68dde1af51 [TypeDeclaration] Skip controller render method on @var to type declaratoin (#1576)
2021-12-27 11:31:14 +00:00
Tomas Votruba
12ae680f84 Updated Rector to commit 1ac835fca7
1ac835fca7 [automated] Re-Generate Nodes/Rectors Documentation (#1570)
2021-12-26 00:38:36 +00:00
Tomas Votruba
4c463f51f8 Updated Rector to commit 09fa15238a
09fa15238a [Core] Use StaticNonPhpFileSuffixes value object in PhpFilesFinder (#1562)
2021-12-25 12:44:33 +00:00
Tomas Votruba
d09e8c256a Updated Rector to commit 89c3483001
89c3483001 [TypeDeclaratoin] Add AccessoryLiteralStringType to static type mapper (#1558)
2021-12-24 01:23:52 +00:00
Tomas Votruba
80c023c646 Updated Rector to commit 8f8685af81
8f8685af81 [Scoped] Update full_build.sh Local script to test locally to avoid error on php 7.1 and 7.2 (#1552)
2021-12-23 10:41:56 +00:00
Tomas Votruba
e378a052e4 Updated Rector to commit 3f80cd0543
3f80cd0543 [Core] Refactor RectifiedAnalyzer: no longer need check PhpDocInfo->hasChanged() (#1545)
2021-12-22 11:07:14 +00:00
Tomas Votruba
16f4095ade Updated Rector to commit 6861ae9a4f
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +00:00
Tomas Votruba
84f68c601f Updated Rector to commit daa44253f9
daa44253f9 [DowngradePhp74][DowngradePhp80] Apply ternary with method_exists on DowngradeReflectionGetTypeRector + DowngradeReflectionGetAttributesRector (#1530)
2021-12-20 12:13:23 +00:00
Tomas Votruba
9ca383a82e Updated Rector to commit 0cc56b0a0b
0cc56b0a0b [automated] Re-Generate Nodes/Rectors Documentation (#1522)
2021-12-19 00:36:48 +00:00
Tomas Votruba
d358c43350 Updated Rector to commit 4e0a1ce694
4e0a1ce694 [Php80] Handle double quoted sql statement annotation on AnnotationToAttributeRector (#1516)
2021-12-18 10:25:56 +00:00
Tomas Votruba
0bc44a07f1 Updated Rector to commit 4bac761fc8
4bac761fc8 [DeadCode] Skip parent not found on RemoveParentCallWithoutParentRector (#1510)
2021-12-17 00:05:48 +00:00
Tomas Votruba
e24fd607c2 Updated Rector to commit 6bd25c8094
6bd25c8094 [CodingStyle] Skip new line on ConsistentPregDelimiterRector (#1506)
2021-12-16 10:12:20 +00:00
Tomas Votruba
0b00c0b487 Updated Rector to commit 3417ff434b
3417ff434b [TypeDeclaration] Remove CompleteVarDocTypePropertyRector, is handled by split rules (#1500)
2021-12-15 00:48:30 +00:00
Tomas Votruba
b2218b1dc3 Updated Rector to commit a7fe982fcb
a7fe982fcb [Renaming] Handle Rename before AttributeGroup on RenameClassRector (#1481)
2021-12-14 08:14:22 +00:00
Tomas Votruba
c2d4952c88 Updated Rector to commit 2bde6b3262
2bde6b3262 [Core] Fix undefined constant ReflectionClassConstant::IS_PUBLIC in php 7.x (#1474)
2021-12-13 12:09:12 +00:00
Tomas Votruba
b3d73e0955 Updated Rector to commit a9290c8911
a9290c8911 [automated] Re-Generate preload.php (#1468)
2021-12-12 00:33:56 +00:00
Tomas Votruba
a893773fb3 Updated Rector to commit f2e58a222f
f2e58a222f [Scoped] Fix downgrade rector-generator (#1461)
2021-12-11 09:27:25 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
8c4aedacef Updated Rector to commit fa31841d4d
fa31841d4d [DX] Warn about deprecated constant configuration (#1444)
2021-12-10 00:25:09 +00:00
Tomas Votruba
6472f7f4fb Updated Rector to commit fc383cc011
fc383cc011 [Scoped] Fix exclude symfony/console/Tester (#1438)
2021-12-09 13:05:29 +00:00
Tomas Votruba
6ee24b2d05 Updated Rector to commit b2947fd96f
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 fb58a4d54a
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 dda87fc6d2
dda87fc6d2 [VendorLocker] Allow both in vendor for child and parent on ParentClassMethodTypeOverrideGuard (#1399)
2021-12-06 06:57:16 +00:00
Tomas Votruba
e6aa910018 Updated Rector to commit 2fbc1d4742
2fbc1d4742 [automated] Re-Generate preload.php (#1393)
2021-12-05 00:35:00 +00:00
Tomas Votruba
4a5f1c82b3 Updated Rector to commit 8547bdba9d
8547bdba9d [Php81] Skip ReadOnlyPropertyRector on Entity id (#1379)
2021-12-04 07:57:42 +00:00
Tomas Votruba
8a92b6daba Updated Rector to commit 49d6cc0dfa
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 3f07f38426
3f07f38426 VisibilityManipulator adjustment (#1362)
2021-12-02 07:34:16 +00:00
Tomas Votruba
0988a578ae Updated Rector to commit 9e81001c68
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 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
97eb75a93d Updated Rector to commit 21c4a84cd6
21c4a84cd6 [DX] Add strict PHPStan rules - step #5 (#1334)
2021-11-28 19:07:44 +00:00
Tomas Votruba
11660d59a5 Updated Rector to commit 185ee1b473
185ee1b473 [DX] Add strict PHPStan rules - step #4 (#1333)
2021-11-28 18:05:13 +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
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
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
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
d4c101be43 Updated Rector to commit 24b8ea974a
24b8ea974a [PHP 8.1] Add IntersectionTypesRector (#1227)
2021-11-14 12:07:09 +00:00