3917 Commits

Author SHA1 Message Date
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