Tomas Votruba
7ecc9b6c23
Updated Rector to commit 388763c1b3151fbc9f2f934b349d9a7959d5d175
...
388763c1b3
[TypeDeclaration] Skip Arg unpack on AddMethodCallBasedStrictParamTypeRector (#3787 )
2023-05-10 09:38:23 +00:00
Tomas Votruba
2cb797e1b1
Updated Rector to commit 11b278ca27f23ba4a2c55df877664fc23413a81d
...
11b278ca27
[CodeQuality] Remove SimplifyUselessLastVariableAssignRector as overly complex and should be handled individually (#3784 )
2023-05-10 07:10:45 +00:00
Tomas Votruba
2cad3fa15d
Updated Rector to commit 76da9489fe16c5854d5fed29b81197940025e975
...
76da9489fe
Make ConsecutiveNullCompareReturnsToNullCoalesceQueueRector use of StmtsAwareInterface (#3783 )
2023-05-10 06:07:59 +00:00
Tomas Votruba
6da6d1d775
Updated Rector to commit 89bc4d80f5dd4c7e81a616c8b58a921a1470a47b
...
89bc4d80f5
Make use of StmtsAwareInterface (#3781 )
2023-05-10 05:18:05 +00:00
Tomas Votruba
bf29cbeb9e
Updated Rector to commit 376f6cbd4a51290c63a42d77ac9fc9a3a5d0ab67
...
376f6cbd4a
De-duplicate isAnonymous check (#3782 )
2023-05-09 19:13:23 +00:00
Tomas Votruba
7ec53f4a70
Updated Rector to commit e6fd26353fa114ac92ba4b0c9b572f508b850e7f
...
e6fd26353f
Get rid of in the (#3780 )
2023-05-09 16:39:58 +00:00
Tomas Votruba
91de512bfa
Updated Rector to commit 3f0753eca0da687f51d0c4ad1c09e689bd813e43
...
3f0753eca0
[Php70] Skip curly named variable on ThisCallOnStaticMethodToStaticCallRector (#3779 )
2023-05-09 07:47:22 +00:00
Tomas Votruba
3f1ac1628e
Updated Rector to commit 6655c2c4e3d72d513c38162da5087bbc2df25b83
...
6655c2c4e3
[PHPStanStaticTypeMapper] Reduce bool check on UnionTypeMapper (#3778 )
2023-05-09 07:42:34 +00:00
Tomas Votruba
6105d98780
Updated Rector to commit cb30fd90e2fafe2b0bc7f6bd3f3ec2e6c09a4b09
...
cb30fd90e2
[Transform] Remove MethodCallToAnotherMethodCallWithArgumentsRector as unused (#3777 )
2023-05-08 21:19:03 +00:00
Tomas Votruba
4e94212010
Updated Rector to commit d9e17ca2c6bfc750eade85131368c8a2c35a0ca1
...
d9e17ca2c6
[Transform] Remove FileGetContentsAndJsonDecodeToStaticCallRector as only for demo purposes (#3776 )
2023-05-08 21:11:06 +00:00
Tomas Votruba
dffd0b0f29
Updated Rector to commit 26550ca939279bf296f72b2457545c1a0ade3f8e
...
26550ca939
[Transform] Remove DimFetchAssignToMethodCallRector as unused (#3775 )
2023-05-08 20:52:46 +00:00
Tomas Votruba
fc5810aace
Updated Rector to commit 18770166ed5ac0c0c02a4de87d789182bbb36a76
...
18770166ed
[Transform] Remove ArgumentFuncCallToMethodCallRector as never used (#3774 )
2023-05-08 20:37:13 +00:00
Tomas Votruba
ef5c74799d
Updated Rector to commit ee666531b8270e996557198e0ea15908faa1787c
...
ee666531b8
Extend code-quality set (#3773 )
2023-05-08 20:28:23 +00:00
Tomas Votruba
9d9cee5a78
Updated Rector to commit 9a2fe2126433ad285790cd81ec8c05594de5b396
...
9a2fe21264
Make PreparedValueToEarlyReturnRector use StmtsAwareInterface (#3772 )
2023-05-08 14:07:26 +00:00
Tomas Votruba
8af1a1213f
Updated Rector to commit 1e052f588331717f87a8d610db6eb7f89f8690d3
...
1e052f5883
[cleanup] Make use of getArgs(), remove ignored from phpstan (#3771 )
2023-05-08 12:54:32 +00:00
Tomas Votruba
af500df8f4
Updated Rector to commit f6c4edcd0c3feaad4abc075bae39474ac34bb82d
...
f6c4edcd0c
[CodeQuality] Add CleanupUnneededNullsafeOperatorRector (#3767 )
2023-05-08 10:34:10 +00:00
Tomas Votruba
39697489d4
Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
...
5a32ed95b7
[cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770 )
2023-05-08 10:34:06 +00:00
Tomas Votruba
930a1a2ba2
Updated Rector to commit 2d583eba1512d3b51e79503eba46466a32cb7374
...
2d583eba15
[cleanup] Make use of getArgs() (#3769 )
2023-05-08 07:49:33 +00:00
Tomas Votruba
a2c39b778e
Updated Rector to commit 13d81f90894396f7e443cb5cb9198aeacb6bc05a
...
13d81f9089
[Cleanup] Make use of getArgs() directly (#3766 )
2023-05-08 07:37:37 +00:00
Tomas Votruba
eebb3e5a4f
Updated Rector to commit 103148c1af587421c31c68c6a7bc2ce623aaf7cf
...
103148c1af
Defer type-resolving in BinaryOpBetweenNumberAndStringRector (#3763 )
2023-05-08 04:38:58 +00:00
Tomas Votruba
359cac195c
Updated Rector to commit b116bc0cbda89ff560680be74e6e35c9831b0e07
...
b116bc0cbd
Defer type-resolving in RemoveJustPropertyFetchRector (#3761 )
2023-05-08 04:31:43 +00:00
Tomas Votruba
1a8369a7a5
Updated Rector to commit 01c1377112dacbc80e690fd3468220645fc8a363
...
01c1377112
[CodingStyle] Remove RemoveDoubleUnderscoreInMethodNameRector, as naming is not handled for breaking reasons (#3765 )
2023-05-07 20:14:55 +00:00
Tomas Votruba
4bf474e653
Updated Rector to commit be53013ca3dff5b3eca8cdb3e688d744585e2557
...
be53013ca3
[CodeQuality] Remove SimplifyIfExactValueReturnValueRector, as overly defensive + InlineSimplePropertyAnnotationRector as purely coding standard area (#3764 )
2023-05-07 19:35:01 +00:00
Tomas Votruba
82228b7056
Updated Rector to commit ea3d4f164337d11e757a0348d5445efb4b6d5b2f
...
ea3d4f1643
Defer type-resolving in SideEffectNodeDetector (#3762 )
2023-05-07 19:13:32 +00:00
Tomas Votruba
5a5e7223f6
Updated Rector to commit ce46293db40c0f89be5119215f71e5c1a11ad215
...
ce46293db4
Defer type-resolving in ForeachToInArrayRector (#3756 )
2023-05-07 19:04:44 +00:00
Tomas Votruba
546e7840f2
Updated Rector to commit 0f07aacd8626af970d2f60b911ba89259482d387
...
0f07aacd86
Defer type-resolving in TernaryEmptyArrayArrayDimFetchToCoalesceRector (#3758 )
2023-05-07 19:02:37 +00:00
Tomas Votruba
83ad95142a
Updated Rector to commit eee943bb0f4c83e7c016100c330b31ed3c9746c5
...
eee943bb0f
Defer type-resolving in UseIdenticalOverEqualWithSameTypeRector (#3755 )
2023-05-07 19:02:29 +00:00
Tomas Votruba
d79b1c7718
Updated Rector to commit 31c1deb3f939c43ca4224cd7fed0e6b0140d4736
...
31c1deb3f9
Defer type-resolving in IterableTypeAnalyzer (#3760 )
2023-05-07 19:01:30 +00:00
Tomas Votruba
fdffd78f22
Updated Rector to commit b44e008ed374f3c7f80974ef037e9236499d11d7
...
b44e008ed3
Defer type-resolving in AssignVariableTypeResolver (#3759 )
2023-05-07 18:59:42 +00:00
Tomas Votruba
2f18a080f8
Updated Rector to commit ca36485a2e8abbdb36873d55a59676080be306ed
...
ca36485a2e
Defer type-resolving in SimplifyBoolIdenticalTrueRector (#3757 )
2023-05-07 18:57:49 +00:00
Tomas Votruba
df93022ac5
Updated Rector to commit 3e5c7ba11e79c8d30a2136f63f2ec9e4996faa8e
...
3e5c7ba11e
Revert [Test] Re-try paratest (#3753 ) (#3754 )
2023-05-07 13:12:29 +00:00
Tomas Votruba
5f003eb898
Updated Rector to commit 6c1045f0907bb7b33f800e72846da88efa33cf4e
...
6c1045f090
[Test] Re-try paratest (#3753 )
2023-05-07 12:56:54 +00:00
Tomas Votruba
fff47a3319
Updated Rector to commit e97b7f5c5631588b9651ba09ab10ce081c9ec492
...
e97b7f5c56
Utilize MinPhpVersionInterface in more rules (#3752 )
2023-05-07 08:04:34 +00:00
Tomas Votruba
96d4917fc6
Updated Rector to commit 34eddacde286346ac36fe0862751b45ba8a76c5e
...
34eddacde2
Improve TypedPropertyFromAssignsRector performance (#3749 )
2023-05-07 08:00:09 +00:00
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
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
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
Tomas Votruba
d4a0c8ebe6
Updated Rector to commit 8425c9090832424c6c93638af5c71592151e92d6
...
8425c90908
[Php56][Php70] Handle infinite loop on TernaryToNullCoalescingRector+AddDefaultValueForUndefinedVariableRector (#3639 )
2023-04-20 13:50:26 +00:00
Tomas Votruba
ef3f017e7b
Updated Rector to commit fff22320cedf04f5aa2449592f1924bc5ebc5551
...
fff22320ce
Simplify AccessoryNonEmptyStringTypeCorrector (#3636 )
2023-04-20 13:44:42 +00:00
Tomas Votruba
91a5e19669
Updated Rector to commit ff899747379670edd250e653764e51ae592aac16
...
ff89974737
NodeTypeResolver: remove unnecessary check (#3626 )
2023-04-20 12:15:14 +00:00
Tomas Votruba
cee0e8f32f
Updated Rector to commit 9f5d6b9c9ab814382bacc1c127e1807ecc7aaec0
...
9f5d6b9c9a
Remove runtime autoloading from NodeTypeResolver (#3627 )
2023-04-20 10:43:06 +00:00
Tomas Votruba
1cb1664849
Updated Rector to commit f08216fc30ced0d29868a18cd1c2504a1a10ecd0
...
f08216fc30
[CodeQuality] Skip with break on SwitchTrueToIfRector (#3634 )
2023-04-20 00:27:18 +00:00
Tomas Votruba
9c020977b6
Updated Rector to commit f453969311462cd11987768ae1b2843f38cadcb3
...
f453969311
[TypeDeclaration] Using negation on BinaryOr on BinaryOpNullableToInstanceofRector (#3633 )
2023-04-20 00:20:55 +00:00
Tomas Votruba
37ad4fbc43
Updated Rector to commit a4c1d7e481d426cb82d5a5bf89bfcac21deb3764
...
a4c1d7e481
[TypeDeclaration] Add BinaryOpNullableToInstanceofRector (#3631 )
2023-04-19 11:05:06 +00:00
Tomas Votruba
203f525759
Updated Rector to commit e3e51469627756e976a8b8afb718d77caad3a0c4
...
e3e5146962
[CodingStyle] Handle inner closure on FuncGetArgsToVariadicParamRector (#3630 )
2023-04-19 07:14:37 +00:00
Tomas Votruba
4980a45b0b
Updated Rector to commit 581fba01dfcc247be5dcec00903b72739b7eca6d
...
581fba01df
[Php55] Add StaticToSelfOnFinalClassRector (#3629 )
2023-04-19 07:12:58 +00:00
Tomas Votruba
f00ddc261c
Updated Rector to commit 14cc7d49406c55acd1ce7e83c7cddd23b9fd12a2
...
14cc7d4940
[TypeDeclaration] Allow multiple declare on DeclareStrictTypesRector (#3628 )
2023-04-18 11:12:39 +00:00
Tomas Votruba
a5fb0da98c
Updated Rector to commit 8605fb95942c6433ba6c741d75e6fcdb65e92a49
...
8605fb9594
Apply strict declare (#3625 )
2023-04-17 16:23:36 +00:00
Tomas Votruba
d5695b8b03
Updated Rector to commit 8605fb95942c6433ba6c741d75e6fcdb65e92a49
...
8605fb9594
Apply strict declare (#3625 )
2023-04-17 15:52:08 +00:00
Tomas Votruba
f924c3de30
Updated Rector to commit 0dfc92f16f7d3d21a21ae5e6f6abb21467fb48da
...
0dfc92f16f
Add declare strict_types rule, finally 🥳 (#3619
2023-04-17 15:47:09 +00:00
Tomas Votruba
03e48b83b1
Updated Rector to commit fbb472feb11f34bb94a1e6869e93b505103fa27f
...
fbb472feb1
Rename PARALLEL_TIMEOUT_IN_SECONDS to PARALLEL_JOB_TIMEOUT_IN_SECONDS (#3613 )
2023-04-17 12:58:24 +00:00
Tomas Votruba
a411d4a1ec
Updated Rector to commit 88fb0ace4584fd2cc627b3ee052dd8d7764d8f29
...
88fb0ace45
Link to Rector CI blogpost (#3624 )
2023-04-17 11:35:06 +00:00
Tomas Votruba
c333025ba2
Updated Rector to commit 34e1cf13fdd613cb732d082cfcfa86bbdb7db5dc
...
34e1cf13fd
NodeTypeResolver: cheap checks first in isObjectTypeOfObjectType() (#3621 )
2023-04-16 15:11:00 +00:00
Tomas Votruba
4febb1e4a1
Updated Rector to commit 4f6de3f84ecb50aba2643f4b38dcfce6e04e1f4a
...
4f6de3f84e
ReadOnlyPropertyRector: do cheaper checks first (#3618 )
2023-04-16 10:42:58 +00:00
Tomas Votruba
6e25b4629b
Updated Rector to commit eb34dee89488a8869ae5b726b03c16fe2979f7f5
...
eb34dee894
[automated] Re-Generate Nodes/Rectors Documentation (#3617 )
2023-04-16 08:39:44 +00:00
Tomas Votruba
8754b18496
Updated Rector to commit eb34dee89488a8869ae5b726b03c16fe2979f7f5
...
eb34dee894
[automated] Re-Generate Nodes/Rectors Documentation (#3617 )
2023-04-16 08:10:58 +00:00
Tomas Votruba
b35ad51c2c
Updated Rector to commit eb34dee89488a8869ae5b726b03c16fe2979f7f5
...
eb34dee894
[automated] Re-Generate Nodes/Rectors Documentation (#3617 )
2023-04-16 07:57:18 +00:00
Tomas Votruba
c1432a728e
Updated Rector to commit eb34dee89488a8869ae5b726b03c16fe2979f7f5
...
eb34dee894
[automated] Re-Generate Nodes/Rectors Documentation (#3617 )
2023-04-16 00:32:04 +00:00
Tomas Votruba
aac13af5a4
Updated Rector to commit 4c06d4cf195113906ad93ee822993173fce17086
...
4c06d4cf19
Add e2e tests for dry run (#3616 )
2023-04-15 11:18:44 +00:00