13554 Commits

Author SHA1 Message Date
Tomas Votruba
3d189d0552 Updated Rector to commit 0a0e0fdab5c5fc474add253cd61c2927eb370704
0a0e0fdab5 [Downgrade PHP 7.0] Add Exception fallback for instanceof Throwable (#1608)
2022-01-04 09:29:33 +00:00
Tomas Votruba
eaa95768d6 Updated Rector to commit f900476469c411ad0ae25e1cb32637b392d72d22
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
be823c625a Updated Rector to commit 37e26d5ce4001cd77cf1af3ace08e51662f1bc9c
37e26d5ce4 [Core] Fix undefined array key 0 on FormatPerservingPrinter (#1619)
2022-01-03 23:48:04 +00:00
Tomas Votruba
9f3110a4a1 Updated Rector to commit c3d008cd0ecba4b70968bf5aa348cff8fb72a6a5
c3d008cd0e [Downgrade 7.0] Make catch clauses catching Throwable also catch Exception (#1609)
2022-01-03 12:59:17 +00:00
Tomas Votruba
dd6ffa61b2 Updated Rector to commit 9baf531477df018156d0c12019c16f8bf638af74
9baf531477 Avoid clearing the cache while saving it on parallel (#1616)
2022-01-03 05:20:02 +00:00
Tomas Votruba
8200b3b6f8 Updated Rector to commit b76243b41682edd072da3ca149461283c779415b
b76243b416 BinaryOpConditionsCollector: Add tests and fix edge case (#1614)
2022-01-02 11:32:22 +00:00
Tomas Votruba
ffcf6171ac Updated Rector to commit 9c6a6b04228e3af56893d9c995459b37b879e802
9c6a6b0422 [automated] Re-Generate Nodes/Rectors Documentation (#1612)
2022-01-02 00:31:07 +00:00
Tomas Votruba
b6caca19d7 Updated Rector to commit 7ba13adac2dd854e9ae2dfc6399aaf57720b59d8
7ba13adac2 BinaryOpConditionsCollector: add documentation (#1611)
2022-01-01 22:41:46 +00:00
Tomas Votruba
b5d89bc18d Updated Rector to commit 34c61ba4498150972db843fca807416540ca71e8
34c61ba449 Bump EndBug/add-and-commit from 7.4.0 to 7.5.0 (#1607)
2022-01-01 11:27:52 +00:00
Tomas Votruba
907bc4b9b8 Updated Rector to commit 7d927c9a41a68ed456a9ba3a69b3bc11f704a717
7d927c9a41 [Downgrade PHP 7.0] Move Throwable out of type hints (#1602)
2022-01-01 11:19:05 +00:00
Tomas Votruba
1a5260ef5d Updated Rector to commit b8a527c07e519d5d2b6d5a15396540d77e04e2d6
b8a527c07e DowngradeSelfTypeDeclarationRector: Fix example output (#1606)
2022-01-01 11:02:34 +00:00
Tomas Votruba
8c823197be Rector 0.12.10 0.12.10 2021-12-31 12:57:22 +00:00
Tomas Votruba
63acd7901b Updated Rector to commit fee8a47d1a627b01bfba2d85293c84692715506a
fee8a47d1a [DeadCode] Add Scope check on RemoveParentCallWithoutParentRector (#1603)
2021-12-31 12:29:34 +00:00
Tomas Votruba
e732d06e52 Updated Rector to commit fee8a47d1a627b01bfba2d85293c84692715506a
fee8a47d1a [DeadCode] Add Scope check on RemoveParentCallWithoutParentRector (#1603)
2021-12-31 12:16:48 +00:00
Tomas Votruba
b88b7fa079 Updated Rector to commit eac5313f26a57e418ef66e55028319b339065d49
eac5313f26 [DeadCode] Fix remove unreachable after mark test skipped (#1601)
2021-12-31 11:37:44 +00:00
Tomas Votruba
fd3e7425db Updated Rector to commit 4399f28ee1aeec1bfe4446a97d741cee60c5eaf5
4399f28ee1 [Core] Apply CREATED_BY_RULE attribute as array collection of applied Rector rule (#1600)
2021-12-31 10:33:05 +00:00
Tomas Votruba
b1cba49930 Updated Rector to commit 311ffc6ec3270cef54b3e243cf042d247195b6ac
311ffc6ec3 [Php81] Skip ReadOnlyPropertyRector on Clone  (#1599)
2021-12-31 09:04:07 +00:00
Tomas Votruba
c638bf24a8 Updated Rector to commit bc09bdc203c39fafb0616a9ea0c1d89d342c900a
bc09bdc203 [DowngradePhp80] Skip array on 2nd arg on DowngradeArrayFilterNullableCallbackRector (#1598)
2021-12-30 16:54:57 +00:00
Tomas Votruba
3110b1c6b7 Updated Rector to commit 18fbe1d0ded286436557c3ecc3e91cf553efb6c9
18fbe1d0de [Downgrade PHP 7.4] Add false to downgraded typed property (#1596)
2021-12-30 16:27:57 +00:00
Tomas Votruba
825d9bd12b Updated Rector to commit 8648410c86d2775821b15ee20c3665dc1e34a806
8648410c86 [Scoped] Fixing downgrade part 2 (#1597)
2021-12-30 16:07:15 +00:00
Tomas Votruba
486b7bee9f Updated Rector to commit 068369e632408225fe89991c08485ceb07f89664
068369e632 fix: add failing test and fix for repeated numeric strings (#1591)
2021-12-30 08:15:26 +00:00
Tomas Votruba
ffceafdc35 Updated Rector to commit 322e5b67b5c9dd2e19a3d3e79a8c1fa1523f1dc8
322e5b67b5 [PHPStanStaticTypeMapper] Do not crash on numeric string on ReturnTypeDeclarationRector (#1588)
2021-12-29 23:57:29 +00:00
Tomas Votruba
3e4ee54479 Updated Rector to commit be1c7915c3a3dedbd09a47466d03eb03f14d3da8
be1c7915c3 Faking scope context for trait reflections (#1575)
2021-12-29 23:48:39 +00:00
Tomas Votruba
5f4bbd4591 Updated Rector to commit 5181bf901638052b401617e46734e4d4d2967fb6
5181bf9016 Update to PHPStan ^1.3 (#1589)
2021-12-29 23:18:00 +00:00
Tomas Votruba
6f59bc8f4b Updated Rector to commit 29838d0c0df88974453465ed21042b32166abfb1
29838d0c0d [Parallel] Process smaller chunk of files at once (#1587)
2021-12-28 14:03:15 +00:00
Tomas Votruba
aced4967b7 Updated Rector to commit fa7249028c579f405ed61704b215c87a417b97f5
fa7249028c [Scoped] Fix PHP71_BIN_PATH: unbound variable on local full_build.sh (#1586)
2021-12-28 12:08:43 +00:00
Tomas Votruba
fc5610bdbd Updated Rector to commit b0936667c8b0c707cbdbd63875c75335fb4941fc
b0936667c8 [DowngradePhp56] Add DowngradeArrayFilterUseConstantRector (#1573)
2021-12-27 19:30:54 +00:00
Tomas Votruba
27cabcdf40 Updated Rector to commit 8c6a966741ca3f75c0e1f563b8c951f073c323be
8c6a966741 [TypeDeclaration] Include trait in AddVoidReturnTypeWhereNoReturnRector (#1582)
2021-12-27 19:07:28 +00:00
Tomas Votruba
feb1acabfc Updated Rector to commit cb8fe8474ce23ada4e7bd7a0b3b4625050bda919
cb8fe8474c [PHP 8.1] Skip abstract class in NewInInitializerRector (#1581)
2021-12-27 19:05:02 +00:00
Tomas Votruba
36d8639374 Updated Rector to commit ac90adcc323155ef1fb423fff9ebf7d75d3630d9
ac90adcc32 [TypeDeclaration] Add symfony route annotation support (#1580)
2021-12-27 18:59:06 +00:00
Tomas Votruba
9ce09af15a Updated Rector to commit 1c30e96024701504245b0f54e5e867def359de68
1c30e96024 [Scoped] Fix scoped Uninitialized string offset -1 error (#1579)
2021-12-27 17:42:16 +00:00
Tomas Votruba
915ec2228d Updated Rector to commit 602aa13f7c692ad9ea22de7a58bad50cf7c883b5
602aa13f7c [Transform]Move ReservedFnFunctionRector to Php74 namespace (#1471)
2021-12-27 17:16:09 +00:00
Tomas Votruba
6a7bbbeda7 Updated Rector to commit 35ef77b4f2dd3f055d12e0f748c9c26f33b19a84
35ef77b4f2 [Transform][Php81] Add configurable ReturnTypeWillChangeRector (#1548)
2021-12-27 15:34:11 +00:00
Tomas Votruba
5a1382b023 Updated Rector to commit 5af50aff136dbb5d56403f779625bbca54c57098
5af50aff13 [TypeDeclaration] Add symfony route annotation support (#1578)
2021-12-27 12:50:18 +00:00
Tomas Votruba
901fe8ed44 Updated Rector to commit 68dde1af511a5cb3b0296ee20e31d61f1ae02bea
68dde1af51 [TypeDeclaration] Skip controller render method on @var to type declaratoin (#1576)
2021-12-27 11:31:14 +00:00
Tomas Votruba
dcce86f7e2 Updated Rector to commit 889a682d12e870364e01c17c20e01fe81c368b8b
889a682d12 add phpstan php-parser extension (#1574)
2021-12-26 17:15:28 +00:00
Tomas Votruba
39175c2ff5 Updated Rector to commit dbd934ee66dd836294670893416f3e2c8121e960
dbd934ee66 [TypeDeclaration] Skip callable on return type of control (#1572)
2021-12-26 11:33:23 +00:00
Tomas Votruba
f42120a67b Updated Rector to commit 3a2e85d9cb2345e369b59e3f9c3625acdb0eae44
3a2e85d9cb [TypeDeclaration] Fix ReturnTypeAlreadyAddedChecker on return key of array (#1571)
2021-12-26 10:48:46 +00:00
Tomas Votruba
12ae680f84 Updated Rector to commit 1ac835fca7733fa5743ccb0a165f88bc513391f1
1ac835fca7 [automated] Re-Generate Nodes/Rectors Documentation (#1570)
2021-12-26 00:38:36 +00:00
Tomas Votruba
ca5bac5cf9 Updated Rector to commit efded8b04b5a6d2c3932a0d92f025cc0a604223c
efded8b04b explicit int type (#1569)
2021-12-25 21:58:09 +00:00
Tomas Votruba
2348dc3fc5 Updated Rector to commit b3b6de853924da92be2d9a4b9b28f1ffd0ab5c71
b3b6de8539 [TypeDeclaration] Keep original return type if same as unioned (#1568)
2021-12-25 21:44:04 +00:00
Tomas Votruba
fe031927f5 Updated Rector to commit 1c89d2456df6774098983352a58e82a172264aff
1c89d2456d [Scoped] Remove duplicate skip vendor/symfony/console/Tester (#1567)
2021-12-25 19:48:39 +00:00
Tomas Votruba
520356e040 Updated Rector to commit e9b9358a3a3ffe08e7520bb3a64d564b1ce03cf3
e9b9358a3a Add scalar pseudo-type to union type unwrap (#1566)
2021-12-25 18:56:10 +00:00
Tomas Votruba
ceb700cba7 Updated Rector to commit a5624ca0b99108543b5ad94b3a5894df99327ad1
a5624ca0b9 [TypeDeclaration] Fix return type union with null/mixed (#1565)
2021-12-25 18:03:06 +00:00
Tomas Votruba
f4c08ee6e7 Updated Rector to commit 9b51302be952a206b14eed9c138a358a82deae14
9b51302be9 [TypeDeclaration] Fix ParamTypeByParentCallTypeRector union type printing (#1564)
2021-12-25 17:15:28 +00:00
Tomas Votruba
969dcc2775 Updated Rector to commit 3b673afbe323037bf4c87d880a39d6c02f4d15dd
3b673afbe3 [TypedProperty] Add property type guard in case of parent class (#1563)
2021-12-25 15:28:06 +00:00
Tomas Votruba
4c463f51f8 Updated Rector to commit 09fa15238a6436f9160bc08b8a328c282d8f4d45
09fa15238a [Core] Use StaticNonPhpFileSuffixes value object in PhpFilesFinder (#1562)
2021-12-25 12:44:33 +00:00
Tomas Votruba
fa918122b3 Updated Rector to commit b7da222d01ddf6bc0e304bc87bdcdcd46eef01b4
b7da222d01 [Php74] Skip protected property on final class with parent not loaded on TypedPropertyRector (#1560)
2021-12-24 21:04:40 +00:00
Tomas Votruba
370f3d4a81 Updated Rector to commit fe18774733b802743b1f6d100be17ab36bfce2cf
fe18774733 [NodeCollector] Merge BitwiseOrAnalyzer + BooleanAndAnalyzer to BinaryOpConditionsCollector (#1561)
2021-12-24 20:48:33 +00:00
Tomas Votruba
143f4b8549 Updated Rector to commit b7da222d01ddf6bc0e304bc87bdcdcd46eef01b4
b7da222d01 [Php74] Skip protected property on final class with parent not loaded on TypedPropertyRector (#1560)
2021-12-24 20:47:54 +00:00