4689 Commits

Author SHA1 Message Date
Tomas Votruba
d60e53c3ca Updated Rector to commit 1f7170df9efc5c67107e7b9cd4b4c4e692c198c4
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
a92c1d7023 Updated Rector to commit e33afe6434a9707374815bb977cff09b6e57c199
0eeaea9f4a [Configuration] Remove null bootstrap configs e33afe6434 Merge pull request #1647 from rectorphp/tv-configuration-null-config-cleanup
2022-01-07 15:47:35 +00:00
Tomas Votruba
300503afe6 Updated Rector to commit f42b3f91e27354411269caf3ce2636d90a2ba3aa
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 840bd5e3e6af1fd5474ec8717c75c6b5400e1737
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
aa590a1dc3 Updated Rector to commit 0f67baaea03e4e012a0d0d08bb644e42164b8b79
7e575a7ce0 [Parallel] Using RectorConfigsResolver to use set bootstrap config 0f67baaea0 Merge pull request #1637 from rectorphp/bootstrap-config
2022-01-04 22:51:50 +00:00
Tomas Votruba
a5ebb3a5d6 Updated Rector to commit c850701e384877b06d3c9c7caef9f6acf8a2f403
f64c849ee0 [e2e] Add test for e2e Class Not Found on Parallel fb38502be2 final touch: comment 60b4112170 final touch: move psr4 e2e autoload to root composer.json to make demo correctly as expected d3240653bf correct diff, make test runner use colors for easier discovery of differences 4d8eb8af92 make copy of no-parlalel e2e e08c96b540 add misisng paths in dynamicSourceLocatorDecorator 5233f22528 [e2e] add no parallel test a741faa3a3 use explicit path c850701e38 Merge pull request #1629 from rectorphp/tv-parallel-class-not-found-2
2022-01-04 16:58:25 +00:00
Tomas Votruba
d24d0b280d Updated Rector to commit 71c413136000fbf3d585ed420efa923568890352
61a58df44e [Scoped] Remove vendor/tracy/tracy/examples on downgrade 71c4131360 Merge pull request #1628 from rectorphp/remove-tracy-examples
2022-01-04 16:28:21 +00:00
Tomas Votruba
72567779cf Updated Rector to commit 74b90d35752d75433bc5fe5e6933bed8a1cb4dee
4e0e174435 Configuratoin provided type does not have to exists 74b90d3575 Merge pull request #1624 from rectorphp/tv-fix-optional-configuration-type
2022-01-04 15:24:24 +00:00
Tomas Votruba
eacdb4cfeb Updated Rector to commit 6903b4da5a6db826c25dd5d391f3be5416701ac4
597df29c44 Rephrase error message without file info 6903b4da5a Merge pull request #1623 from zingimmick/rephrase-error-message-without-file
2022-01-04 14:11:25 +00:00
Tomas Votruba
6f207e80a2 Updated Rector to commit a66729362638e40ab2e3b985575598b70d7042df
26d5ed893e fix cs c2fd4d22c9 apply Rector a667293626 Merge pull request #1622 from rectorphp/tv-fix-cs
2022-01-04 13:59:13 +00:00
Tomas Votruba
36ab25f533 Updated Rector to commit 373afbaadd32088d98f2f1a38107836eeb038e89
373afbaadd [Parallel] Fix system errors expected an instance of SystemError but got string (#1610)
2022-01-04 13:23:36 +00:00
Tomas Votruba
f56607d315 Updated Rector to commit 63908627ce59ed20709341ee5180d4ff9cda1030
63908627ce [e2e][parallel] Allow set custom config on Parallel (#1620)
2022-01-04 09:29:41 +00:00
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
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
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
b1cba49930 Updated Rector to commit 311ffc6ec3270cef54b3e243cf042d247195b6ac
311ffc6ec3 [Php81] Skip ReadOnlyPropertyRector on Clone  (#1599)
2021-12-31 09:04:07 +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
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
6a7bbbeda7 Updated Rector to commit 35ef77b4f2dd3f055d12e0f748c9c26f33b19a84
35ef77b4f2 [Transform][Php81] Add configurable ReturnTypeWillChangeRector (#1548)
2021-12-27 15:34:11 +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
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
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
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
Tomas Votruba
d09e8c256a Updated Rector to commit 89c3483001a4a5d01f6b51fcc196654193301d9b
89c3483001 [TypeDeclaratoin] Add AccessoryLiteralStringType to static type mapper (#1558)
2021-12-24 01:23:52 +00:00
Tomas Votruba
6847ad9b9f Updated Rector to commit 39580dbeefdbccc7ae2a3e9c7db72f6444fddddf
39580dbeef [TypeDeclaration] AddVoidReturnTypeWhereNoReturnRector turns  into less specific  (#1553)
2021-12-23 14:55:10 +00:00
Tomas Votruba
80c023c646 Updated Rector to commit 8f8685af81fbb352f2e83e996efe91bda7f03308
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
163ad0b1a3 Updated Rector to commit 650a8d6a13ee2edf5d9aa2b3aa0cfada95589fe4
650a8d6a13 [DowngradePhp80] Add #[\ReturnTypeWillChange] on DowngradeMixedTypeDeclarationRector on implements ArrayAccess (#1544)
2021-12-22 14:55:49 +00:00
Tomas Votruba
e378a052e4 Updated Rector to commit 3f80cd0543377e9e42bc8f997d185337e321fa9f
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 6861ae9a4fe8e52dd4633101d80c9c55c1093b9e
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +00:00
Tomas Votruba
f8cead443c Updated Rector to commit a16f614af3d7137a5d84e119d6a8a3417fdc4f31
a16f614af3 [Reflection] Clean up getAncestors() call, use merge parents and interfaces (#1536)
2021-12-20 18:14:56 +00:00
Tomas Votruba
09776f16ae Updated Rector to commit 2a18c59a0c0d7e56cb80c8fedfeb4452745e5501
2a18c59a0c [DowngradePhp80] Add DowngradeReflectionClassGetConstantsFilterRector (#1529)
2021-12-20 12:16:44 +00:00
Tomas Votruba
e888119375 Updated Rector to commit c4ffdb5d8e724c3a3142e912e481111240e01d82
c4ffdb5d8e [DeadCode] Handle parent:: call with assign when no parent on RemoveParentCallWithoutParentRector (#1531)
2021-12-20 12:15:10 +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
bcf638b187 Updated Rector to commit dd06dd46ad3e36e0a553b8ef5365531cd7d8d7a2
dd06dd46ad [Doctrine] Remove join columns on both PHP 8 and PHP 8.1 (#1525)
2021-12-19 12:21:32 +00:00
Tomas Votruba
07adffefcf Updated Rector to commit 8f6c99cde98bb3d817069e1b9abc519ca8bd533c
8f6c99cde9 Remove multiple nested items placeholder (#1524)
2021-12-19 11:24:31 +00:00
Tomas Votruba
0a0829c0ec Updated Rector to commit dbd10cf9f02bb4b31579adfe738bcd8d4df794ac
dbd10cf9f0 [Doctrine] Extend list of repeated nested attributes (#1523)
2021-12-19 01:56:48 +00:00