13539 Commits

Author SHA1 Message Date
Tomas Votruba
903c96a6c2 Updated Rector to commit 6ea0032a70a530b4934c153b253d01456a7c7b6b
6ea0032a70 [CodeQuality] Do not add \ on static on CallableThisArrayToAnonymousFunctionRector (#1671)
2022-01-14 09:27:49 +00:00
Tomas Votruba
af70a0a3ce Updated Rector to commit a84d9511bc69b509039b87fad7f8868c5bef0a93
a84d9511bc [Php80] Handle nested attribute with constant on AnnotationAttributeRector (#1661)
2022-01-13 13:12:19 +00:00
Tomas Votruba
89982c6c94 Updated Rector to commit 2607c2a79b01e01665a09f125c4bda516f6d66d0
2607c2a79b [Php81] Add NullToStrictStringFuncCallArgRector (#1655)
2022-01-13 13:02:46 +00:00
Tomas Votruba
885bf1ee5e Updated Rector to commit a82a18edd366575db60151880ca44f1a8c2a0120
a82a18edd3 Prevent UnionTypes rule from removing  in favor fo -typed  (#1667)
2022-01-12 15:50:28 +00:00
Tomas Votruba
c6d9c4e26b Updated Rector to commit fd34e6c9252f7ae85e6f1631be5edddfef54b48d
fd34e6c925 Do not remove final modifier from private constructors (#1663)
2022-01-12 10:12:35 +00:00
Tomas Votruba
3bf32aa1f9 Updated Rector to commit bbe05673172d341c31282b9411290f3a1cebafd2
bbe0567317 [DX] Use type safe access with PrivatePropertyAccessor (#1660)
2022-01-11 19:06:30 +00:00
Tomas Votruba
5fc2efb4ad Updated Rector to commit bbe05673172d341c31282b9411290f3a1cebafd2
bbe0567317 [DX] Use type safe access with PrivatePropertyAccessor (#1660)
2022-01-11 15:49:28 +00:00
Tomas Votruba
4b845ca404 Updated Rector to commit fb76afb25c5046c44f00f61f27ab7cd13222d9ce
fb76afb25c [Parallel] Increase ParallelFileProcessor::TIMEOUT_IN_SECONDS to 120 (#1657)
2022-01-11 15:27:59 +00:00
Tomas Votruba
ddc2f64433 Updated Rector to commit 2676f89d1334e9d3a42c9f502a9004b153694aa3
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 e27e4830944bb418e5b48abc206778be11e20527
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
c553da1f2e Updated Rector to commit 3fd890bd89401bfe84259501a2b6e6ae90539399
3fd890bd89 [Core] Reduce getNewStmts() call on FormatPerservingPrinter (#1652)
2022-01-09 14:45:03 +00:00
Tomas Votruba
84f7817be9 Updated Rector to commit 6cc687059719ed962c18b08ea173b71714f215cf
6cc6870597 [DowngradePhp80] Use ArgsAnalyzer for has named args check (#1651)
2022-01-09 13:31:36 +00:00
Tomas Votruba
3df670f627 Updated Rector to commit 4ab2ab5850f7a5f9baee4fc698582bc59368703e
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
d799d58c0e Updated Rector to commit 1dc94831c504b3f99936f12d140401aeb10835d2
704b1bec11 [DowngradePhp80] Add DowngradeNumberFormatNoFourthArgRector 37e2e84500 [ci-review] Rector Rectify c6f84fa033 [ci-review] Rector Rectify 31b5cbf4b2 skip named arg 490dbb6365 skip different func call 05854d69d0 skip has fourth arg d7bf81e064 skip no third arg 8f18542a00 add failing test case 7df7bcae20 implemented 7702d5df1f register efcd01a961 phpstan 6f7b8a2788 phpstan d54672face phpstan 2fd995c396 [ci-review] Rector Rectify 3c2abcb79d [ci-review] Rector Rectify 2b16ac9761 phpstan 58f3574328 phpstan 620d2b3125 [ci-review] Rector Rectify ec364cbd03 [ci-review] Rector Rectify 0355abcde2 rectify fix 1dc94831c5 Merge pull request #1649 from rectorphp/downgrade-php80-numberformat
2022-01-08 17:02:43 +00:00
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
ac14a3b594 Updated Rector to commit 0af102a818bfabbe236069470e8922d657d2655a
03e3762693 more precise BetterNodeFinder types 682b1d1d26 fixes 7af077b3ac fix 0af102a818 Merge pull request #1645 from staabm/finder
2022-01-07 19:48:45 +00:00
Tomas Votruba
efcc6f135a Rector 0.12.12 0.12.12 2022-01-07 16:49:17 +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
ff1735e468 Updated Rector to commit 111bf5d78adbd38f740505bd5a98292834407897
b1dbbd65c8 Add failing test fixture for TypedPropertyFromStrictGetterMethodReturnTypeRector 8da054709b Prevent existing type override by mixed 111bf5d78a Merge pull request #1642 from zingimmick/patch-1
2022-01-07 06:43:54 +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
348f392aa1 Rector 0.12.11 0.12.11 2022-01-05 18:37:59 +00:00
Tomas Votruba
8e36a87120 Updated Rector to commit 49f1596404278c63a37841eb720aabf97601311e
2eb244c116 Add failing test fixture for AddArrayReturnDocTypeRector 9102b49763 add dump_with_depth helper function 679be3801a add strict return type based return doc 8fc175912f check for iterable type before adding return type d8e153153f remove non-array test fixtures ff5f80c568 keep nullable array type b45ff7a562 remove unused test 49f1596404 Merge pull request #1639 from rectorphp/tv-make-array-return-doc-work-only-with-arrays
2022-01-05 11:55:03 +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
74a8bc1aba Updated Rector to commit a66be5920506820182d0208d20f02e5e8a4096d7
4d500ab27d [Scoped] Enable src to be downgraded via parallel 056a8b170f enable src/Config 6e78e9d513 more specific path a66be59205 Merge pull request #1635 from rectorphp/enable-src-parallel
2022-01-04 18:28:17 +00:00
Tomas Votruba
5e2900341c Updated Rector to commit 05a8666b96700f0f4c16d0399a93379ecb64fdc5
da658ed4d6 [Scoped] Exclude rules/Naming from parallel process 05a8666b96 Merge pull request #1633 from rectorphp/exclude-rules-naming-parallel
2022-01-04 17:39:44 +00:00
Tomas Votruba
08a395bddd Updated Rector to commit 0e1150596d9e0661d82f57a916be69fda63ff20c
4dafc07229 [Scoped] Enable vendor/rector/extension-installer vendor/rector/rector-cakephp vendor/rector/rector-doctrine vendor/rector/rector-generator vendor/rector/rector-laravel vendor/rector/rector-nette vendor/rector/rector-phpoffice vendor/rector/rector-phpunit vendor/rector/rector-symfony to be downgraded with parallel 0e1150596d Merge pull request #1631 from rectorphp/enable-vendor-rector-parallel
2022-01-04 17:08:42 +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
c88dc245e8 Updated Rector to commit 4fbeda1e1cc0d4d3c67dac552d766031f1da3449
377b363726 the process() result is always array df4291c7e7 require always File[] in resolvePhpFilePaths() 4fbeda1e1c Merge pull request #1630 from rectorphp/tv-result-arra
2022-01-04 16:43:56 +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
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