Tomas Votruba
83531b9b9d
Updated Rector to commit 4ac2cf87c569ec8ebea4d631d684439c16dd296d
...
4ac2cf87c5
[Restoration] Remove RemoveFinalFromEntityRector as used only to revert very old Rector bug (#3847 )
2023-05-14 15:50:50 +00:00
Tomas Votruba
98e78b2b7c
Updated Rector to commit ec61753f20dbabd4b4b350f9d7a994ac61315e82
...
ec61753f20
[PHP 8.0] Deprecate old UnionTypesRector that is dangerously moving docblocks, use type declaration rules instead (#3846 )
2023-05-14 15:41:53 +00:00
Tomas Votruba
535f180737
Updated Rector to commit 37f0942c0976630ce9479c7499099a67d1f07bc4
...
37f0942c09
cs fix
2023-05-14 15:29:04 +00:00
Tomas Votruba
f844a1b873
Updated Rector to commit 8be7ac6830f0f7191af7118814c779da3ebd9b56
...
8be7ac6830
Remove unused offset correction (#3843 )
2023-05-14 15:14:10 +00:00
Tomas Votruba
5d75a302b5
Updated Rector to commit f554fe1a836dc1b7015cda99e7e71f5dbe46d731
...
f554fe1a83
Fix nullable param in ClassPropertyAssignToConstructorPromotionRector (#3842 )
2023-05-14 15:10:59 +00:00
Tomas Votruba
29b68cfe1e
Updated Rector to commit 25d01632e1b6a3fd0b1b1e86c232079118828983
...
25d01632e1
Remove unused narrowArrayKeysUnionType() patch for PHPStan types (#3840 )
2023-05-14 14:05:31 +00:00
Tomas Votruba
1c17924ff5
Updated Rector to commit f3b6bfa35f7509815cbc6f40473c1698d82f9a21
...
f3b6bfa35f
Workaround fix for missing newline in attributes in ReadOnlyClassRector (#3839 )
2023-05-14 13:52:56 +00:00
Tomas Votruba
33a05b3e73
Updated Rector to commit 07a7876d8a4c93097c966730acbc4aeb7d9e1765
...
07a7876d8a
[CodingStyle] Remove OrderAttributesRector, as rather coding standard and does not have specific PSR example (#3838 )
2023-05-14 13:22:44 +00:00
Tomas Votruba
b381887836
Updated Rector to commit ad7012054f92137311b202c0322a62dd480fe3bb
...
ad7012054f
[Traverser] Add ScopeResolverNodeVisitorInterface (#3831 )
2023-05-14 10:54:13 +00:00
Tomas Votruba
f613b7a98a
Updated Rector to commit 499fdbc3af1779929444c170a778678e28be957a
...
499fdbc3af
Drop AttributeKey::SCOPE in various classes (#3836 )
2023-05-14 10:01:33 +00:00
Tomas Votruba
1c529e1b8f
Updated Rector to commit 6482c594e4b554a814165d11baeece9498868caa
...
6482c594e4
Update test expectations (#3837 )
2023-05-14 09:35:45 +00:00
Tomas Votruba
aceca9ea6e
Updated Rector to commit 6322d7c7c5bf262524b254cb329644cd051f94b2
...
6322d7c7c5
[automated] Re-Generate Nodes/Rectors Documentation (#3832 )
2023-05-14 00:32:54 +00:00
Tomas Votruba
6a4afec13c
Updated Rector to commit 7b3612414201f08bb451d15ea3e1b94e4b61a0a8
...
7b36124142
Fix ChangeReadOnlyVariableWithDefaultValueToConstantRector for dupicated variable override (#3830 )
2023-05-14 00:09:02 +00:00
Tomas Votruba
2ef8a4b237
Updated Rector to commit 39ae81f5b6477247c4345d8496ef368ff359aaa2
...
39ae81f5b6
Fix instanceof check (#3829 )
2023-05-13 20:26:08 +00:00
Tomas Votruba
0ec9edd835
Updated Rector to commit 60cfcfc50f84d28c304bf332acd6268bb9175dc8
...
60cfcfc50f
Remove useless clear cache (#3828 )
2023-05-13 19:26:58 +00:00
Tomas Votruba
f59444dfd6
Updated Rector to commit 9c74d611dc8567de47658624f6f0d0d4792f21ee
...
9c74d611dc
[Core] Change ChangedNodeScopeRefresher modifier to private on AbstractRector (#3827 )
2023-05-13 18:59:47 +00:00
Tomas Votruba
722cf05380
Updated Rector to commit 2406dc813a3eba3e25522fcb69af879fbc4a60cd
...
2406dc813a
[Traverser] Add ByRefReturnNodeVisitor (#3826 )
2023-05-13 18:07:42 +00:00
Tomas Votruba
6eead6b8f7
Updated Rector to commit a74c640bc1043f19006c7403461108f61d8bf2a5
...
a74c640bc1
[Traverser] Add ByRefVariableNodeVisitor (#3821 )
2023-05-13 17:37:31 +00:00
Tomas Votruba
c27fd387f2
Updated Rector to commit 623a0770e9f64738b6e88eb02691fc954b1e230b
...
623a0770e9
Fix integer range phpdoc types being treated as useless (#3825 )
2023-05-13 17:31:00 +00:00
Tomas Votruba
42ce080a7a
Updated Rector to commit 156d28cc16a35822d6739d8c5337efa6fddda1dc
...
156d28cc16
Remove unused PregMatchTypeCorrector, the 3rd param in preg_match_* is now handled natively by PHPStan (#3824 )
2023-05-13 17:27:05 +00:00
Tomas Votruba
da149bb5b0
Updated Rector to commit 645071a650fc50d7e084378facaebcc868a52ba1
...
645071a650
Add test fixture for sprintf number + make use of getArgs() to get always an Arg type (#3822 )
2023-05-13 17:20:02 +00:00
Tomas Votruba
900facbf32
Updated Rector to commit 6dea82deb1e64a47c0284a86b1b448dc8b1fc05f
...
6dea82deb1
Drop AttributeKey::SCOPE in Rector classes (#3791 )
2023-05-13 16:50:14 +00:00
Tomas Votruba
af39f1cc41
Updated Rector to commit 56e13466c3ba3c23c0eb5e7e3af6908433c0c6af
...
56e13466c3
[CI] Enable zend.assertions=1 on CI (#3823 )
2023-05-13 16:44:37 +00:00
Tomas Votruba
c8378bb7c9
Updated Rector to commit ed494161ee091037ea7cb791e569abb1bf2ff990
...
ed494161ee
Drop AttributeKey::SCOPE in ClassRenamer (#3806 )
2023-05-13 13:41:02 +00:00
Tomas Votruba
059ea469aa
Updated Rector to commit 3f8cc390d07486978300abe3dea9f36eeb017c5a
...
3f8cc390d0
Define default test-suite (#3819 )
2023-05-13 11:56:22 +00:00
Tomas Votruba
cd43839d2e
Updated Rector to commit 1828db5f0f3b8424ac0183a5672f58c6689d3233
...
1828db5f0f
[Traverser] Add StaticVariableNodeVisitor (#3817 )
2023-05-13 10:37:59 +00:00
Tomas Votruba
41a479f910
Updated Rector to commit 0d3a9a263b6649548270dd503b8ac3bb0df107c4
...
0d3a9a263b
[Traverser] Add GlobalVariableNodeVisitor (#3816 )
2023-05-13 10:12:10 +00:00
Tomas Votruba
5249938e50
Updated Rector to commit 849459b441b76b62a57dfe227232b22695a0b4c2
...
849459b441
[CodingStyle] Refactor CatchExceptionNameMatchingTypeRector to use StmtsAwareInterface (#3788 )
2023-05-13 10:10:59 +00:00
Tomas Votruba
60642b5bf0
Updated Rector to commit 846953d0925e07eef6a01aeeaf95faf7325ae64c
...
846953d092
CI: separate rules-tests in 2 parallel jobs (#3815 )
2023-05-13 08:00:17 +00:00
Tomas Votruba
c79a9a46c8
Updated Rector to commit 7da67eebfc9011b316e08d80be83a6223f83a371
...
7da67eebfc
Fix WorkerCommandLineFactoryTest (#3811 )
2023-05-12 13:48:48 +00:00
Tomas Votruba
eb43965b45
Updated Rector to commit 42c97056d9015cb01aa6fd39150a92f3dab5042d
...
42c97056d9
Find slow phpunit tests in CI (#3813 )
2023-05-12 13:23:24 +00:00
Tomas Votruba
588cf413f9
Updated Rector to commit 55410904edd98b4a243c12b140cfda9ce171f919
...
55410904ed
Prevent unnecessary IO in tests (#3814 )
2023-05-12 11:55:32 +00:00
Tomas Votruba
1b9a810bf5
Updated Rector to commit 52295356ab5e31c2226f6ff96984bb08b7529937
...
52295356ab
CI: Fix composer unused job (#3812 )
2023-05-12 11:03:25 +00:00
Tomas Votruba
e9ea2d0dfd
Updated Rector to commit 0d51657b8f4c157d248d50f534f4247ad12ec3d6
...
0d51657b8f
test fixture duplicate
2023-05-12 10:42:31 +00:00
Tomas Votruba
6401ff0114
Updated Rector to commit 18af399494c5de1d75db67782cad566e65b534bb
...
18af399494
Drop AttributeKey::SCOPE in FuncCallStaticCallToMethodCallAnalyzer (#3807 )
2023-05-11 19:57:34 +00:00
Tomas Votruba
f49ec8a9f1
Updated Rector to commit dd970ac29023b0e6e27f54d79d98cf7415a638c5
...
dd970ac290
Drop AttributeKey::SCOPE in FullyQualifyStmtsAnalyzer (#3805 )
2023-05-11 19:37:52 +00:00
Tomas Votruba
2b9f121320
Updated Rector to commit 0e4a46d75ac336dfdfc268bf8c2019121593a7b2
...
0e4a46d75a
Drop AttributeKey::SCOPE in CountableAnalyzer (#3804 )
2023-05-11 19:27:18 +00:00
Tomas Votruba
55e711a3e6
Updated Rector to commit f4ecf4a033e45042e659440e81281895cb343555
...
f4ecf4a033
Drop AttributeKey::SCOPE in CurrentAndParentClassMethodComparator (#3803 )
2023-05-11 19:11:09 +00:00
Tomas Votruba
b98616208b
Updated Rector to commit 257395af44e623a0f3a8827ebab4c7d9afbeef36
...
257395af44
[Testing] Remove unnecessary iterator_to_array() on FixtureFileFinder (#3800 )
2023-05-11 16:55:10 +00:00
Tomas Votruba
e241ac1961
Updated Rector to commit 4db20ca6d5c2106a71d6c7113889f263aa379904
...
4db20ca6d5
[Console] Allow https url instead of git:// on SetupCICommand (#3799 )
2023-05-11 15:16:47 +00:00
Tomas Votruba
e947b0aeed
Updated Rector to commit 218d1dd561c49e3afbbaa60fa85b6fd327e62dac
...
218d1dd561
Update docs (#3798 )
2023-05-11 13:07:24 +00:00
Tomas Votruba
18da0a6802
Updated Rector to commit 8d96ad5c8c895252b5ef8e98dde18e5b8de6a006
...
8d96ad5c8c
Don't neon-decode phpstan configs over and over again (#3796 )
2023-05-11 12:44:42 +00:00
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
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