Commit Graph

15706 Commits

Author SHA1 Message Date
Tomas Votruba
26bbf728d6 Updated Rector to commit d8da061308902cf4ef7a30963d5c9f32b6b9ec02
d8da061308 Make SimplifyIfNullableReturnRector + ChangeNestedIfsToEarlyReturnRector work without next/prev (#3794)
2023-05-11 11:52:57 +00:00
Tomas Votruba
b08682957f Updated Rector to commit 0e2b39c2841b845417775936177d2425edac09d3
0e2b39c284 Improve ParamTypeFromStrictTypedPropertyRector performance (#3795)
2023-05-11 09:24:38 +00:00
Tomas Votruba
c0d9ece267 Updated Rector to commit 662986980adce40be299cc221b715fba883e86cd
662986980a Drop AttributeKey::SCOPE in Rector classes (#3792)
2023-05-11 08:30:47 +00:00
Tomas Votruba
8afa5f961e Updated Rector to commit 074b1781b3fa7c7e23470c57ab85c0bd5fe0bfd2
074b1781b3 Remove RemoveUnusedVariableAssignRector, as could be breaking code in order of excution and hard to do reliable (#3793)
2023-05-11 07:56:32 +00:00
Tomas Votruba
34a9ea6ade Updated Rector to commit c63dd46e8d8881b576cee60ef09d68f52789a5ee
c63dd46e8d Drop AttributeKey::SCOPE in Rector-classes (#3790)
2023-05-10 18:50:31 +00:00
Tomas Votruba
039864701c Updated Rector to commit 764ef74406bf794b30f64d6c5a94e6abfebc4833
764ef74406 [DeadCode] Reduce findFirstPrevious() on RemoveUnusedvariableAssignRector (#3789)
2023-05-10 14:43:48 +00:00
Tomas Votruba
653075e6d9 Updated Rector to commit d87113675bbaaf8de972069779b48f706d2c73d6
d87113675b Ease finding slow files (#3785)
2023-05-10 10:08:41 +00:00
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