Commit Graph

15636 Commits

Author SHA1 Message Date
Tomas Votruba 65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba d5a112d946 Updated Rector to commit e3c1d08f3546a612a9f78a06cacc0a73b55eaaca
e3c1d08f35 update tomasvotruba/unused-public (#3716)
2023-04-30 12:47:54 +00:00
Tomas Votruba d8e30d57b8 Updated Rector to commit 8e1db4dad04d4abcbc36e8e8ddc58cc007877733
8e1db4dad0 [Ast] Improve AstResolver and ClassLikeAstResolver performance (#3714)
2023-04-30 04:05:26 +00:00
Tomas Votruba 4a2e921404 Updated Rector to commit c3aca95a7d1281beee8850ae001952760cce6658
c3aca95a7d Calculate diff only once per file after refactoring (#3711)
2023-04-30 02:34:57 +00:00
Tomas Votruba 442ebde599 Updated Rector to commit a39913ec9e3216b61fea7c90b634bc5a404323cf
a39913ec9e [automated] Re-Generate Nodes/Rectors Documentation (#3712)
2023-04-30 00:41:21 +00:00
Tomas Votruba 107da04b98 Updated Rector to commit 08d93e01b9341fdea9a22f52dc5fbce542c62245
08d93e01b9 [automated] Apply Coding Standard (#3713)
2023-04-30 00:40:55 +00:00
Tomas Votruba cbbeab8aac Updated Rector to commit d7a738c67ea10acaec04e1d49febe591aac96ed5
d7a738c67e Don't calculate diffs when  is given (#3710)
2023-04-29 15:46:58 +00:00
Tomas Votruba 1089ade96c Updated Rector to commit ed8e74e36b46076d1e4c8920b593b2dd43448049
ed8e74e36b [CodingStyle] Skip positive-int and negative-int over int on VarConstantCommentRector (#3709)
2023-04-29 15:37:29 +00:00
Tomas Votruba bd3ec63267 Updated Rector to commit 2bb26e36611fdee67ead9fac0b7cc18ead0d923b
2bb26e3661 [PostRector] Improve performance NameImportingPostRector (#3708)
2023-04-29 14:12:48 +00:00
Tomas Votruba b2bc547d46 Updated Rector to commit 0451834fd58ba9a7fddde47f47a60c4911388738
0451834fd5 [NodeTypeResolver] Improve ParametersAcceptorSelectorVariantsWrapper by directly use ParametersAcceptorSelector::combineAcceptors() (#3706)
2023-04-29 07:20:27 +00:00
Tomas Votruba 4ba18f5a6a Updated Rector to commit 28712b9f9c756a69fec7ca52f53a5549a55a5113
28712b9f9c [Naming] Improve performance by using findFirst() for casted to (bool) on BreakingVariableRenameGuard (#3703)
2023-04-29 04:13:11 +00:00
Tomas Votruba 9a8a2a24dd Updated Rector to commit 31f64cc2d45491304065e2f04343900110005a19
31f64cc2d4 [Php56][Php70][Php74] Handle infinite loop on AddDefaultValueForUndefinedVariableRector+IfToSpaceshipRector+ClosureToArrowFunctionRector (#3701)
2023-04-28 13:29:51 +00:00
Tomas Votruba 73330a66b6 Updated Rector to commit b3e269603f8d7162c906b2409497624661baa559
b3e269603f [Renaming] Prevent overly greed type resolving in RenamePropertyRector (#3700)
2023-04-28 11:58:31 +00:00
Tomas Votruba 2c70f375ca Updated Rector to commit 7d16e3d57e8942a535551e9c7d8725fc91329993
7d16e3d57e [Renaming] Improve performance of RenamePropertyRector (#3698)
2023-04-28 10:31:03 +00:00
Tomas Votruba d73b4dcf29 Updated Rector to commit 92a992ef6e5c5350a0e6de2b4e844e21f072fb1b
92a992ef6e [NodeManipulator] Clean up AssignManipulator take 2 (#3696)
2023-04-28 10:15:23 +00:00
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