15621 Commits

Author SHA1 Message Date
Tomas Votruba
a4e6a42d08 Updated Rector to commit 14b6073057861d5547610084eb59a7b1826d2ad8
14b6073057 [CodeQuality] Using local variable  on NarrowUnionTypeDocRector (#3697)
2023-04-28 09:53:28 +00:00
Tomas Votruba
77a5400973 Updated Rector to commit 3cf8e880615b7e0ce9af411f0c023069c86e99f8
3cf8e88061 Add e2e tests for consecutive changing runs (#3666)
2023-04-28 07:31:52 +00:00
Tomas Votruba
259585c967 Updated Rector to commit ea454bb871796a2e9aaf48e3d842c92245809818
ea454bb871 [Renaming] Improve performance of RenameFunctionRector (#3699)
2023-04-28 05:49:18 +00:00
Tomas Votruba
35ce30249e Updated Rector to commit 181b6c9977d7834f57366d7edf39b25e04c49a0e
181b6c9977 [NodeManipulator] clean up multiple instanceof check on AssignManipulator (#3695)
2023-04-28 00:57:57 +00:00
Tomas Votruba
5ee794501a Updated Rector to commit 50378fc1cd17831d6a71948d82b109083547e0f4
50378fc1cd [Privatization]  Skip variable assign append on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#3687)
2023-04-27 18:53:05 +00:00
Tomas Votruba
6773471488 Updated Rector to commit f19c86c993bb1fe1b487fce587d6582ef9f29a6a
f19c86c993 [NodeTypeResolver] Add AssignedToNodeVisitor (#3694)
2023-04-27 18:21:20 +00:00
Tomas Votruba
4e81629b28 Updated Rector to commit 2996a6e89604bf835dd6edfd897cbd97f2c03de4
2996a6e896 [NodeAnalyzer] Remove unused ->reflectionProvider->hasClass() check on PropertyPresenceChecker::getClassContextProperty() (#3693)
2023-04-27 18:09:07 +00:00
Tomas Votruba
7844c3f141 Updated Rector to commit ae1f75a72dda4242e9e59030d0ba0c67629d67b1
ae1f75a72d [Preload] Add preload-split-package.php to bin/rector.php to fix overlap php-doc-parser (#3692)
2023-04-27 14:41:47 +00:00
Tomas Votruba
bc397e417b Updated Rector to commit c00475c746d1cff33dafb21e8d51815a0b711efc
c00475c746 Update phpdoc-parser to ^1.20.3 (#3691)
2023-04-27 11:55:52 +00:00
Tomas Votruba
62693051ca Updated Rector to commit 31e22ff70699ac52c0cd4faee5b5f42291bb8ccb
31e22ff706 [PHPStanStaticTypeMapper] Improve performance of UnionTypeMapper take 3 (#3690)
2023-04-26 13:34:46 +00:00
Tomas Votruba
c6bd0e5845 Updated Rector to commit 7e7b155023e00867ba3f061c4c6b01b5f2fc361a
7e7b155023 Add timeout to CI (#3689)
2023-04-26 11:13:55 +00:00
Tomas Votruba
0284fe8f94 Updated Rector to commit 931e6e24502a70dd19cd93c0ef10510b23213f87
931e6e2450 [PHPStanStaticTypeMapper] Improve UnionTypeMapper performance take 2 (#3688)
2023-04-26 04:39:15 +00:00
Tomas Votruba
1084c94b7d Updated Rector to commit bd478cc1b2fa2934e980e3d92c97a66ad7b260bd
bd478cc1b2 [PHPStanStaticTypeMapper] Improve UnionTypeMapper performance (#3686)
2023-04-25 21:31:09 +00:00
Tomas Votruba
d4fe88d8f2 Updated Rector to commit 92d38cfba31d2a2811c19dd57810e296a725c91e
92d38cfba3 [TypeDeclaration] Refactor UnionTypeMapper::narrowBoolType() to allow bool|int|false converted to bool|int (#3685)
2023-04-25 21:01:30 +00:00
Tomas Votruba
f9b7772a69 Updated Rector to commit 9b4f6003c8b6a015cc34ff536e1c2ee1c80f07b0
9b4f6003c8 [TypeDeclaration] Add do { } while support on WhileNullableToInstanceofRector (#3682)
2023-04-25 07:13:07 +00:00
Tomas Votruba
701d429812 Updated Rector to commit 2efca7308210405e65198d44a7521f84940fdd21
2efca73082 [TypeDeclaration] Handle regression multiple params no longer working on AddMethodCallBasedStrictParamTypeRector (#3681)
2023-04-24 17:11:45 +00:00
Tomas Votruba
d13bb4f126 Updated Rector to commit 52e213f80055305f3d1d46caf967c9834de09e24
52e213f800 [TypeDeclaration] Handle infinite loop on array_reverse with index on AddMethodCallBasedStrictParamTypeRector on php8+ feature (#3678)
2023-04-24 11:51:04 +00:00
Tomas Votruba
a93a36635a Updated Rector to commit fb89e317c52fb8a16e2db18edb80172adb17014e
fb89e317c5 [TypeDeclaration] Add WhileNullableToInstanceofRector (#3680)
2023-04-24 11:18:26 +00:00
Tomas Votruba
6becad5a83 Updated Rector to commit 26bd7485f3168e92e8e4dd7c7d81d816241454bf
26bd7485f3 [Test] Remove PropertyRenameFactoryTest.php (#3679)
2023-04-24 09:28:11 +00:00
Tomas Votruba
8f2079c8ca Updated Rector to commit 10c36b08fa0c980bd31b3059cafa12610852ebdd
10c36b08fa [Test] Rename fixture and refactor to solve random error (#3677)
2023-04-24 03:09:16 +00:00
Tomas Votruba
bad054cd43 Updated Rector to commit 07a0475e07e8802973beedd84050fd8a6c536b64
07a0475e07 Simplify PhpFilesFinder (#3649)
2023-04-23 20:01:56 +00:00
Tomas Votruba
518852ebcf Updated Rector to commit 84238315f8c2171e803832b14d9bc7e004bfb01a
84238315f8 Minor ClassMethodAssignManipulator improvements (#3662)
2023-04-23 18:12:51 +00:00
Tomas Votruba
fea2d9c334 Updated Rector to commit 092fb226b9278a741b26bb9277c159c1be009f21
092fb226b9 [Testing] Reduce IO on AbstractRectorTestCase take 2 (#3671)
2023-04-23 16:02:01 +00:00
Tomas Votruba
73a34b3d2c Updated Rector to commit c6d11cdbd6ee41a8b4e072a8fa76864174164358
c6d11cdbd6 [Testing] Reduce IO on AbstractRectorTestCase::doTestFile() (#3670)
2023-04-23 15:24:02 +00:00
Tomas Votruba
f94c1ec03d Updated Rector to commit bfd083e1c15a7d7e21ee0d1b3fd3b85a8ef80d74
bfd083e1c1 [Test] Remove XDEBUG_MODE=coverage on phpunit.xml (#3669)
2023-04-23 15:17:26 +00:00
Tomas Votruba
b12596d385 Updated Rector to commit b11c28e22b0e0e6e696a0e92d24d3d903f8020d5
b11c28e22b [Tests] Remove RunTestsInSeparateProcesses take 2 (#3668)
2023-04-23 11:46:19 +00:00
Tomas Votruba
a1fb65d02a Updated Rector to commit 7bcda1eb711cb866b9372bbfb845854a671b88f7
7bcda1eb71 [Test] Reduce RunTestsInSeparateProcesses usage (#3667)
2023-04-23 11:02:06 +00:00
Tomas Votruba
b211e37b4b Updated Rector to commit dc57cffad71a875b8ccd11be265260754c47d32e
dc57cffad7 [Skipper] Prevent unnecessary IO (#3664)
2023-04-23 06:42:15 +00:00
Tomas Votruba
dbf153e6a3 Updated Rector to commit 54663e7124c3d9b138007c52a6f64e6393edb104
54663e7124 Minor ParamTypeFromStrictTypedPropertyRector improvements (#3661)
2023-04-23 06:13:24 +00:00
Tomas Votruba
1e7e693624 Updated Rector to commit c7379ec641e50e8227f9d3b4ef1306fba324ce6e
c7379ec641 Improve ParentClassMethodTypeOverrideGuard performance (#3660)
2023-04-23 06:06:39 +00:00
Tomas Votruba
acf794f739 Updated Rector to commit a729d729e1e93a764494f3793ef3fff64cf5365a
a729d729e1 [automated] Apply Coding Standard (#3663)
2023-04-23 00:36:39 +00:00
Tomas Votruba
81b4b9d78f Updated Rector to commit ff6fa32a295de8808b26da08dad645953d2dab0d
ff6fa32a29 Improve ReflectionResolver performance (#3658)
2023-04-22 23:29:45 +00:00
Tomas Votruba
8f5010d680 Updated Rector to commit 16a20ef786b688eec60990c7913aebf85b51e8dc
16a20ef786 [BetterPhpDocParser] Simplify BetterTokenIterator (#3656)
2023-04-22 22:13:31 +00:00
Tomas Votruba
c0a781b4f1 Updated Rector to commit 731baeb619c884b4f9716a3a67dba3e3d8ac8403
731baeb619 Improve NodeComparator performance (#3659)
2023-04-22 22:11:30 +00:00
Tomas Votruba
bd36624100 Updated Rector to commit 81e7980962f1db29f0fc2be5800a822cfb07f656
81e7980962 Prevent unnecessary IO in ChangedFilesDetector (#3650)
2023-04-22 16:52:31 +00:00
Tomas Votruba
f84ec52872 Updated Rector to commit d777f36ffced045951e856ab22ed71591582147b
d777f36ffc fix typo (#3657)
2023-04-22 16:32:19 +00:00
Tomas Votruba
8f292260c6 Updated Rector to commit c935e91d0c13084537217f7b538a91d03b8bd4f5
c935e91d0c Improve LocalConstantFinder performance (#3652)
2023-04-22 16:24:45 +00:00
Tomas Votruba
425bfdde6c Updated Rector to commit 6374ccddd0facb7e8678a27c47e6749b0b02b3fe
6374ccddd0 Improve LocalMethodCallFinder performance (#3651)
2023-04-22 16:00:19 +00:00
Tomas Votruba
b4e10b9aac Updated Rector to commit d490fe55828f80aaf2f2a593fcddf4d3be5ff32f
d490fe5582 Improve PropertyFetchAnalyzer performance (#3654)
2023-04-22 15:51:31 +00:00
Tomas Votruba
4c33fd079a Updated Rector to commit f26a47636a3bb0b63d16dc6c3bde36406fbfd393
f26a47636a [BetterPhpdocParser] Remove getTokens() method on BetterTokenIterator (#3655)
2023-04-22 15:45:56 +00:00
Tomas Votruba
4564073a8a Updated Rector to commit 59720a1105eeec521130754510b7b1c8d4da50c1
59720a1105 Fix phpstan notice (#3653)
2023-04-22 15:32:02 +00:00
Tomas Votruba
ec5e44e489 Updated Rector to commit 61f2c4288bc6027fcdb347ace448d0936bbdcda4
61f2c4288b [TypeDeclaration] Handle mix InlineHTML on FileWithoutNamespace (#3648)
2023-04-22 08:33:24 +00:00
Tomas Votruba
7662f7e333 Updated Rector to commit 0a086a89cde5f219a5cfabcb34a6e5598a2e6e18
0a086a89cd NodeTypeResolver: prevent unncessary reflection calls (#3647)
2023-04-22 08:05:51 +00:00
Tomas Votruba
30c4c5527a Updated Rector to commit c203b601c98f4a93236c82179a2e9a5a519b48ae
c203b601c9 [Php80] Handle crash leaveNode() returned invalid value of type integer on TokenGetAllToObjectRector (#3644)
2023-04-21 15:28:50 +00:00
Tomas Votruba
3e22fca2fe Updated Rector to commit add55824f64b4b597a6b3bc3feb9a557708ace00
add55824f6 Fix SingleInArrayToCompareRector if array item is variadic (#3640)
2023-04-21 12:00:51 +00:00
Tomas Votruba
fc866d1d8d Updated Rector to commit ae99f13c3bb546659ee87450de554585a6c7974c
ae99f13c3b [Performance] Using cheap chekc first on UndefinedVariableResolver::shouldSkipVariable() (#3643)
2023-04-21 07:33:09 +00:00
Tomas Votruba
d784926da7 Updated Rector to commit 79a630987e9afffb7edda0380099472b04f2e211
79a630987e [Performance] Using findFirst() for cast to (bool) so no need search all found nodes (#3642)
2023-04-21 04:11:14 +00:00
Tomas Votruba
015935c7ed Rector 0.15.25 0.15.25 2023-04-20 16:07:39 +00:00
Tomas Votruba
72d660b556 Updated Rector to commit 20a586577e11b0fca6dc41ee9c7979f5d10725d1
20a586577e Regenerate preload (#3641)
2023-04-20 16:02:06 +00:00
Tomas Votruba
06ab496223 Updated Rector to commit 1184d2f30404844ce1c0fe161c5c6c0509127506
1184d2f304 Use faster paratest in complete-check composer script (#3637)
2023-04-20 14:58:34 +00:00