Commit Graph

3801 Commits

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