Commit Graph

5241 Commits

Author SHA1 Message Date
Tomas Votruba 670c768551 Updated Rector to commit 0621d672f946aabc8bd6c9f70feae32d6a390b9f
0621d672f9  [Php80] Skip mixed doc with description and valid doc on MixedTypeRector  (#5906)
2024-05-21 09:36:37 +00:00
Tomas Votruba cee60661e8 Updated Rector to commit b8847be9d485ec1b3cde5ee5e099ab3626479eb7
b8847be9d4 [TypeDeclaration] Add ReturnTypeFromReturnCastRector (#5905)
2024-05-20 11:36:06 +00:00
Tomas Votruba 39908b6b4e Updated Rector to commit f30405751176cf6504a86a8f9e6661c55806b38e
f304057511 Convert time() to Carbon::now()->timestamp (#5901)
2024-05-20 00:15:21 +00:00
Tomas Votruba fce5bf1293 Updated Rector to commit 0e5343cb24ce394701c5321eb5976573dd8c0afe
0e5343cb24 Few PHPStan fixes (#5900)
2024-05-19 17:46:36 +00:00
Tomas Votruba 9a455bf300 Updated Rector to commit 7d65537690d8d788b595b46f026920b4b17eaaf5
7d65537690 Fix few static errors (#5899)
2024-05-19 17:16:04 +00:00
Tomas Votruba 9f86c20c73 Updated Rector to commit b2613baaf6dbf85c9a784b3baf652925c2f480d2
b2613baaf6 make refactorWithClass() private as it should be
2024-05-19 08:27:29 +00:00
Tomas Votruba f7ce209bd1 Updated Rector to commit fe31e195e3797b13d296899dda27f30e4980b079
fe31e195e3 [Carbon] Add immutable support to other rules (#5896)
2024-05-19 02:29:27 +00:00
Tomas Votruba 4cadabfe9a Updated Rector to commit 1fd156bddbfece24ad48f83e2a65fb44ccb5392d
1fd156bddb Convert DateTimeImmutable to CarbonImmutable (#5895)
2024-05-19 02:09:52 +00:00
Tomas Votruba 3f56884569 Updated Rector to commit b2ec1f0b413e16760c41707b74c936f7445e13ab
b2ec1f0b41 [Carbon] Skip first class callable on DateTimeMethodCallToCarbonRector (#5893)
2024-05-18 14:48:45 +00:00
Tomas Votruba b98d0a8754 Updated Rector to commit 575921d2bca4a0ef36d55c6fa4ebf1ea01bacc4d
575921d2bc [Carbon] Init set to migrate DateTime to Carbon (#5868)
2024-05-18 13:30:48 +00:00
Tomas Votruba c6998bfca9 Updated Rector to commit 19863767c63503e19aed359d849fa55bbf3a1df9
19863767c6 [TypeDeclaration] Skip unitialized property on EmptyOnNullableObjectToInstanceOfRector (#5889)
2024-05-17 02:56:57 +00:00
Tomas Votruba 049336a81a Updated Rector to commit 8ab5e979db19845b9dd3c39bec566830870845dc
8ab5e979db [Performance] Call cached class names collection on FamilyRelationsAnalyzer (#5879)
2024-05-15 01:48:39 +00:00
Tomas Votruba 89f91b63be Updated Rector to commit a5bf80cb2fdd49d64777cf13250e7205ddd0a3be
a5bf80cb2f [TypeDeclaration] Skip possible array on StrictStringParamConcatRector (#5876)
2024-05-14 13:50:22 +00:00
Tomas Votruba 5dfd1c664c Updated Rector to commit 7182e19c4b0696ee48ff8c828afe47fd34d36d1c
7182e19c4b [TypeDeclaration] Skip array by doc with different assign on ReturnTypeFromStrictNewArrayRector (#5875)
2024-05-14 13:14:40 +00:00
Tomas Votruba 4bcc8bbea0 Updated Rector to commit 8f59d4e23ed974bf9eba52a075ef4d1e2604c80d
8f59d4e23e [Php80] Skip remove non-mixed type doc on MixedTypeRector (#5874)
2024-05-14 08:30:55 +00:00
Tomas Votruba 5ca50de6b7 Updated Rector to commit b18da7d458c2d240dd50682b31670e134f2b1ed3
b18da7d458 [CodeQuality] Skip on property and class const on CallableThisArrayToAnonymousFunctionRector (#5869)
2024-05-11 18:18:48 +00:00
Tomas Votruba efb3c476c7 Updated Rector to commit ca2988edc997d76a1d7d4b2c6a4f7226478cac7c
ca2988edc9 [CodeQuality] Skip increment variable on else on TernaryFalseExpressionToIfRector (#5867)
2024-05-10 09:40:07 +00:00
Tomas Votruba fe891363d5 Updated Rector to commit 558f44d5939be4314d76f4850a34be3590e65bfd
558f44d593 [TypeDeclaration] Skip more detailed type on AddMethodCallBasedStrictParamTypeRector (#5866)
2024-05-10 03:14:36 +00:00
Tomas Votruba dcdff77130 Updated Rector to commit 8371040f72445fda4e96f29783b5de5351524c8a
8371040f72 [TypeDeclaration] Handle array with index assigned on TypedPropertyFromAssignsRector (#5861)
2024-05-08 13:00:27 +00:00
Tomas Votruba 87c26777cb Updated Rector to commit 28e84d24d0f618a8a7e0ff6ea561f1aade554df9
28e84d24d0  [EarlyReturn] Skip with AssignOp on PreparedValueToEarlyReturnRector  (#5857)
2024-05-03 14:46:34 +00:00
Tomas Votruba ee17c27a72 Updated Rector to commit d8f262aa6252740d3a3f17d1f429b7dcf2cc760a
d8f262aa62 [CodeQuality] Skip dynamic second arg or has uppercase second arg on SimplifyStrposLowerRector (#5855)
2024-05-02 09:08:24 +00:00
Tomas Votruba 346b5723b4 Updated Rector to commit 6525345f4d3e594311a7186982087ec17ef8b0ee
6525345f4d [CodeQuality] Fix tautology transformation on identical check on SimplifyTautologyTernaryRector (#5854)
2024-05-02 08:08:51 +00:00
Tomas Votruba 12c115e6f6 Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
5193d43b64 [NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852)
2024-05-02 02:21:56 +00:00
Tomas Votruba 78e3d54584 Updated Rector to commit 57275efac450b9b0466e9dc934d3c07e2e9a1e43
57275efac4 [TypeDeclarations] Add IncreaseDeclareStrictTypesRector to raise level of declare() coverage (#5849)
2024-04-30 13:26:50 +00:00
Tomas Votruba c747b603a3 Updated Rector to commit ce1033d8e6434f3111307dd274dec753eb6481b1
ce1033d8e6 Fixes typo in FinalizeTestCaseClassRector.php (#5850)
2024-04-30 12:43:57 +00:00
Tomas Votruba 7141ae6e56 Updated Rector to commit 8281a06bc8432d9d7f8e20842e3961df99a277bc
8281a06bc8 [PHP 7.2] Add error suppres support to each() rule (#5844)
2024-04-24 08:56:31 +00:00
Tomas Votruba d5e203a6e9 Updated Rector to commit d5069f0fccf649646eeea05b5291c0ac34e511d6
d5069f0fcc [Php83] Handle default native constant on AddTypeToConstRector (#5843)
2024-04-23 12:10:57 +00:00
Tomas Votruba a3b725126c Updated Rector to commit 775916c6416e68507e846421f04e2cabbfa2d737
775916c641 [Naming] Skip DateTime as individual in name resolver (#5842)
2024-04-23 09:06:40 +00:00
Tomas Votruba fdfd07f062 Updated Rector to commit 6eac87db32eff9308a037fb32ce973ccf905fc92
6eac87db32 Ignore phpdoc type in RecastingRemovalRector (#5841)
2024-04-22 09:35:50 +00:00
Tomas Votruba c041415e42 Updated Rector to commit 71c6dd929f07d6491847ee9004224441265d0197
71c6dd929f Support NullSafeProperty fetches in unused-code analysis (#5839)
2024-04-21 19:25:07 +00:00
Tomas Votruba 3e1d355024 Updated Rector to commit 4cd2622ccbe9989cdf76a16aa6d282b5ba73adb0
4cd2622ccb Support NullSafeMethod calls in unused-code analysis (#5838)
2024-04-21 19:23:11 +00:00
Tomas Votruba b9839a24cb Updated Rector to commit 068799f59b289bef06b9c1f384df4301b19e726e
068799f59b [Performance] Early skip func call name on ClassRenamer (#5837)
2024-04-20 19:29:23 +00:00
Tomas Votruba 1e8aeb3de9 Updated Rector to commit 9ce6af83b6996631fe2a13cca64d25142dc9fb15
9ce6af83b6 [Performance] Early skip NativeFunctionReflection on OptionalParametersAfterRequiredRector (#5836)
2024-04-20 19:24:39 +00:00
Tomas Votruba 8aefc5e967 Updated Rector to commit 1374e15d742f4f36f0bef45db9f8920a589865b3
1374e15d74 [CodeQuality] Add Function_ and FuncCall support on OptionalParametersAfterRequiredRector (#5835)
2024-04-20 11:01:46 +00:00
Tomas Votruba 6db496ec6b Updated Rector to commit b81ef2f28aee9da0861eb67d90d134ec1c537786
b81ef2f28a [Renaming] Skip func call name on RenameClassRector (#5833)
2024-04-19 21:54:58 +00:00
Tomas Votruba 61037dab6c Updated Rector to commit 25c1b437061df8d1361f457c603dcd17b10a29c4
25c1b43706 [Php81] Use PHPStan ParametersAcceptor to detect allowed argument types on NullToStrictStringFuncCallArgRector (#5829)
2024-04-18 07:39:11 +00:00
Tomas Votruba f42da12667 Updated Rector to commit 56e2031ba3eb1886f534e87d6fb533f8b24f6889
56e2031ba3 [CodeQuality] Skip $counter variable exists on ForRepeatedCountToOwnVariableRector (#5828)
2024-04-17 21:03:14 +00:00
Tomas Votruba 83bfbc18b8 Updated Rector to commit d67342e4e23b577a259e2d2af0ed64461db9968b
d67342e4e2 Fix original quotes in PregReplaceEModifierRector (#5827)
2024-04-17 10:04:21 +00:00
Tomas Votruba b7b08c4396 Updated Rector to commit 7574abd469cbfe569dd47dd9ae9e6aa668a0cf1b
7574abd469 [Php81] Skip mixed type on ArrayDimFetch on NullToStrictStringFuncCallArgRector (#5826)
2024-04-17 09:30:28 +00:00
Tomas Votruba 284531ceed Updated Rector to commit 2b811afb584aa7a3c569a2ce23d78edbf126d556
2b811afb58 [Php81] Skip always string if else DomElement on NullToStrictStringFuncCallArgRector (#5822)
2024-04-15 12:27:37 +00:00
Tomas Votruba 7d4734bb64 Updated Rector to commit 86eb512e4f78f909856b90bc18e41704b48ee57a
86eb512e4f [automated] Apply Coding Standard (#5821)
2024-04-14 00:31:32 +00:00
Tomas Votruba 3a03381bf8 Updated Rector to commit 3df5a626e5ae8e13aaef8abfc41a136dbf1f367e
3df5a626e5 Clean up SafeLeftTypeBooleanAndOrAnalyzer (#5819)
2024-04-12 09:51:06 +00:00
Tomas Votruba 6059061e25 Updated Rector to commit ec59456217e4e2c212c0486cd0ee33221e5ab86c
ec59456217 [DeadCode] Skip $this in trait on RemoveDeadInstanceOfRector (#5818)
2024-04-12 09:47:55 +00:00
Tomas Votruba f2cac5e2a0 Updated Rector to commit 7d69fc226cab739ec6c47b09bfdd784a24445fe1
7d69fc226c [DeadCode] Skip $this instanceof in Trait on RemoveAlwaysTrueIfConditionRector (#5817)
2024-04-12 09:19:41 +00:00
Tomas Votruba 76a58d63f0 Updated Rector to commit 879a36b44d6b43e4c4d268a3d7e96e0830cac478
879a36b44d [Php81] Skip __invoke() usage from non-class code on FirstClassCallableRector (#5816)
2024-04-11 20:55:59 +00:00
Tomas Votruba d495dc4fe7 Updated Rector to commit a67952f6d15ef954da70898c58aa10567b51c11e
a67952f6d1 [Php81] Skip on property and class const on FirstClassCallableRector (#5813)
2024-04-08 13:35:12 +00:00
Tomas Votruba e56fb5adb0 Updated Rector to commit 1bbb3faaed01bd234f8e53564d1686529551e75a
1bbb3faaed [TypeDeclaration] Skip maybe not returned on while on ReturnUnionTypeRector (#5812)
2024-04-08 13:19:12 +00:00
Tomas Votruba 415f0bbf34 Updated Rector to commit 54e2e110d506d6e06e45cb808ce87824306ddd4f
54e2e110d5 [CodeQuality] Skip while(true) always returned on ExplicitReturnNullRector (#5810)
2024-04-08 12:23:14 +00:00
Tomas Votruba 8fba5b95f7 Updated Rector to commit b292010edec6f45b5a48d1f001edce95e05162f3
b292010ede [Performance][TypeDeclaration] Avoid double loop on SilentVoidResolver use NeverFuncCallAnalyzer (#5809)
2024-04-08 09:44:15 +00:00
Tomas Votruba 53fb366ec6 Updated Rector to commit 9939ced45eb3479a1d8b2b9339512398118b92d9
9939ced45e [CodeQuality] Skip never type on default switch on ExplicitReturnNullRector (#5808)
2024-04-08 09:20:15 +00:00