Commit Graph

15665 Commits

Author SHA1 Message Date
Tomas Votruba
f8706c58a3 Updated Rector to commit ffec9f0960d8f26c81b745a218b56a32e187c157
ffec9f0960 Remove parent node dependency from ReplaceEachAssignmentWithKeyCurrentRector (#3751)
2023-05-07 07:53:03 +00:00
Tomas Votruba
da6f698ff7 Updated Rector to commit 14fa8c914b12bfc6a4112d77e03057dab9b90cd4
14fa8c914b Cleanup phpstan errors (#3748)
2023-05-06 22:11:26 +00:00
Tomas Votruba
e7d9598446 Updated Rector to commit 3c592b05dc0aa78702a4b38d39711d78c404e279
3c592b05dc [CodeQuality] Remove ForToForeachRector, as overly deatiled and not reliable (#3747)
2023-05-06 21:47:33 +00:00
Tomas Votruba
b61a41bf01 Updated Rector to commit d13351c5b5800fdd9a25f1d8d9198749898ff2f6
d13351c5b5 Apply Rector + coding standard (#3745)
2023-05-06 18:23:35 +00:00
Tomas Votruba
67b4d9bb93 Updated Rector to commit 575e799aa59bc375fae671f469cb5b1574a96381
575e799aa5 Add SwapMethodCallArgumentsRector (#3726)
2023-05-06 18:21:26 +00:00
Tomas Votruba
69f023883a Updated Rector to commit c6cb214aa518e02f9cc0a13f1bae638de114189d
c6cb214aa5 Revert Performance: Early return in PhpDocNode refactoring for class renames (#3509) (#3744)
2023-05-06 16:56:43 +00:00
Tomas Votruba
a02530c7e5 Updated Rector to commit 6a8ebb97e32dbd283ebb1e83d9eae7dacdb2df2b
6a8ebb97e3 Fix ShortenedObjectType not resolving to correct class reflection (#3397)
2023-05-06 16:51:05 +00:00
Tomas Votruba
511bba65db Updated Rector to commit 48e431b52386ed8a200bc5f6e697fcf6f3a2db8f
48e431b523 Performance: Early return in PhpDocNode refactoring for class renames (#3509)
2023-05-06 16:33:33 +00:00
Tomas Votruba
5a69a7cac2 Updated Rector to commit e171f17abe66dfdc434edb87c3b695aa99654098
e171f17abe Support attributes in RemoveFinalFromEntityRector (#3727)
2023-05-06 16:27:08 +00:00
Tomas Votruba
b614e74d5b Updated Rector to commit dab0910a4e43f5ea999abb00bbb29041b2a66882
dab0910a4e Rename  to  (#3742)
2023-05-06 14:58:36 +00:00
Tomas Votruba
ab5dbb3f11 Updated Rector to commit 4c1544d2b44eb7ca65c2af2b034ed54da6b969d3
4c1544d2b4 Rename processFiles to processFile (#3741)
2023-05-06 14:57:55 +00:00
Tomas Votruba
d4a1cc70d1 Updated Rector to commit a3ea0cf7f46febb04f26db608463d791d9d98933
a3ea0cf7f4 [CodeQuality] Skip non-array type on SimplifyForeachToArrayFilterRector (#3738)
2023-05-06 11:33:17 +00:00
Tomas Votruba
8d0f018bc4 Updated Rector to commit 07e9ccf00a1318a1083bda3aaa0188cf14b3c39f
07e9ccf00a [CodeQuality][Php56] Do not add unnecessary init value on ThrowWithPreviousExceptionRector+OptionalParametersAfterRequiredRector+AddDefaultValueForUndefinedVariableRector (#3737)
2023-05-06 06:07:47 +00:00
Tomas Votruba
2125ff71ea Rector 0.16.0 2023-05-05 12:12:17 +00:00
Tomas Votruba
5eeea8840a Updated Rector to commit 4179a87aac262d7f38daf79f8a2f530808d1cf8e
4179a87aac [Caching] Fix dependent files not yet exists on ChangedFilesDetector::cacheFileWithDependencies() (#3736)
2023-05-05 10:24:42 +00:00
Tomas Votruba
e0ddc70719 Updated Rector to commit d9374ddfa6c8a1ae41c1ac271d102980c6eba8f5
d9374ddfa6 [Dep] Move phpstan-phpunit to require-dev (#3734)
2023-05-05 09:58:02 +00:00
Tomas Votruba
61359ad57c Updated Rector to commit d9374ddfa6c8a1ae41c1ac271d102980c6eba8f5
d9374ddfa6 [Dep] Move phpstan-phpunit to require-dev (#3734)
2023-05-05 09:34:50 +00:00
Tomas Votruba
1e2a0a6217 Updated Rector to commit 8b48059c347d98d191478504da236c4c2ba1e667
8b48059c34 [NodeTypeResolver] Simplify NodeTypeResolver: remove IdentifierTypeResolver dependency (#3733)
2023-05-05 08:16:16 +00:00
Tomas Votruba
4628b8b0cd Updated Rector to commit 657ec2e5af81361107cafc9c842b1d9cdf4ed760
657ec2e5af Fix ExplicitMethodCallOverMagicGetSetRector with a protected method (#3732)
2023-05-04 18:14:42 +00:00
Tomas Votruba
ab1fc21814 Updated Rector to commit 09b59efbc73c7cd28672d9605b9a17b8f14d2c2a
09b59efbc7 CI: make linting errors appear in PRs 'Files Changed' tab (#3729)
2023-05-04 17:59:55 +00:00
Tomas Votruba
68933a635e Updated Rector to commit 67ce52f0a8d6fff37ca569deba67c5635684dde6
67ce52f0a8 [PHPStan] Fix phpstan notice protected element usage (#3730)
2023-05-04 13:18:16 +00:00
Tomas Votruba
ad0c32ebbb Updated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89
05cc9af356 [CodingStyle] Skip concat on first arg on ConsistentImplodeRector (#3702)
2023-05-02 07:09:01 +00:00
Tomas Votruba
dd229e0b1b Updated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89
05cc9af356 [CodingStyle] Skip concat on first arg on ConsistentImplodeRector (#3702)
2023-05-02 02:01:37 +00:00
Tomas Votruba
254ea14c44 Updated Rector to commit 495c51f3761807948b6af26c38aa0f4950f3f6f8
495c51f376 [Util]: Use  instead of  (#3723)
2023-05-01 21:33:18 +00:00
Tomas Votruba
17b11d7934 Updated Rector to commit f6972de10fb2cee85fe3559c58f71b5e9fe4811e
f6972de10f Cache on successful file processing (#3614)
2023-05-01 21:32:35 +00:00
Tomas Votruba
940a47a580 Updated Rector to commit 1e085a0c5a47243c624c46ff7397a80bf983f776
1e085a0c5a [CodeQuality] Improve SimplifyIfElseToTernaryRector performance (#3721)
2023-05-01 13:51:24 +00:00
Tomas Votruba
38c5a7e717 Updated Rector to commit 3c7f2e8275e480d6555f8dd37316ea694d700774
3c7f2e8275 [NodeManipulator] Improve IfManipulator::collectNestedIfsWithNonBreaking() performance (#3720)
2023-05-01 13:29:39 +00:00
Tomas Votruba
9b43f2b910 Updated Rector to commit 0204a2353850c98a38dba36c9a8dd031ae2da0c3
0204a23538 Bump peter-evans/create-pull-request from 3 to 5 (#3719)
2023-05-01 12:13:59 +00:00
Tomas Votruba
4f456a1654 Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 11:37:03 +00:00
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