Commit Graph

5324 Commits

Author SHA1 Message Date
Tomas Votruba 4c2b400cdb Updated Rector to commit ff0705b18b7f2e8e7e9062d0d4fd87a4c5c1b20e
ff0705b18b [CodeQuality] Add Goto_ possible return null on SilentVoidResolver under Do_ (#5773)
2024-03-25 15:52:31 +00:00
Tomas Votruba cc37bbf217 Updated Rector to commit 82d71724f2e2fff036a859e3fe2589fa82adb633
82d71724f2 [TypeDeclaration] Ensure always return with Expr on maybe continued in next stmt on SilentVoidResolver (#5771)
2024-03-25 08:45:48 +00:00
Tomas Votruba be393d497b Updated Rector to commit fc250dd8da281cb79f5657d2f5d6c6c0053e54d1
fc250dd8da [DeadCode] Fix array callable with constructor args (#5770)
2024-03-24 14:10:21 +00:00
Tomas Votruba 078e4b92d7 Updated Rector to commit 25f3af626f841f7e62606a3a9aa64789a460f74c
25f3af626f [automated] Apply Coding Standard (#5769)
2024-03-24 00:29:59 +00:00
Tomas Votruba ca1cc37af8 Updated Rector to commit 087f07ae43a3842cf06b257b0ac69e20cac5a14a
087f07ae43 [automated] Re-Generate preload.php (#5768)
2024-03-24 00:29:17 +00:00
Tomas Votruba 5d8e196d67 Updated Rector to commit 11ce9fcc2ca9283af47d2aee343befc111a4e595
11ce9fcc2c More fixture on Do_ maybe returned (#5767)
2024-03-23 20:38:12 +00:00
Tomas Votruba 52addb1dde Updated Rector to commit 879feb8931f1465fa463d539e9ce99ebfae4e948
879feb8931 [CodeQuality] Handle do { } while maybe returned on ExplicitReturnNullRector (#5766)
2024-03-23 20:33:11 +00:00
Tomas Votruba e14c8a528b Updated Rector to commit aac889be3d845974d3ab924ff7ad22784b9e3cb5
aac889be3d [AutoImport] Remove unused compare removed use on FullyQualifiedNameClassNameImportSkipVoter (#5764)
2024-03-23 16:49:42 +00:00
Tomas Votruba bb8b99d70c Updated Rector to commit e3e741edd3ca55fc2c24c040f43c8974bda7e953
e3e741edd3 [AutoImport] Allow auto import same namespace with sub use with docblock short name (#5763)
2024-03-23 14:36:19 +00:00
Tomas Votruba 0e57251e46 Updated Rector to commit c45f0e2cef30cb0b3090d51fd14dc6ffaa1fc095
c45f0e2cef [CodeQuality] Add Function_ support on ExplicitReturnNullRector (#5762)
2024-03-23 06:38:28 +00:00
Tomas Votruba e18e5ef364 Updated Rector to commit 97e2433a8378ccc6666c67d4a01ace3abc97589f
97e2433a83 [CodeQuality] Allow transform return; to return null; when there is other return with Expr on ExplicitReturnNullRector (#5761)
2024-03-23 06:28:38 +00:00
Tomas Votruba 74b8ed7cd4 Updated Rector to commit cae06912ed7d7274d900fdc996448f100be2ed34
cae06912ed [CodeQuality] Skip do { } while always returned on ExplicitReturnNullRector (#5760)
2024-03-23 05:12:50 +00:00
Tomas Votruba e6bfc79aa2 Updated Rector to commit 8874f25347004e0c19043e8b97b69470193f0941
8874f25347 [CodeQuality] Move Yield_ and YieldFrom check to SilentVoidResolver (#5759)
2024-03-22 20:34:36 +00:00
Tomas Votruba 024ebc62a1 Updated Rector to commit b042152eae866b5578ea15cb38e27ce493937001
b042152eae [CodeQuality] Skip __construct() method on ExplicitReturnNullRector (#5758)
2024-03-22 19:55:35 +00:00
Tomas Votruba e10d636f62 Updated Rector to commit 61c7e9288885218b76a4a9431bba33a37059dea5
61c7e92888 [CodeQuality] No need to re-update doc when already union null doc on ExplicitReturnNullRector (#5757)
2024-03-22 18:09:58 +00:00
Tomas Votruba ce9cc3aafc Updated Rector to commit 576198cf701684dd85ed42530bcb8c54b6c41a02
576198cf70 [CodeQuality] Transform type|void docblock to type|null as well on ExplicitReturnNullRector after add return null (#5756)
2024-03-22 17:50:28 +00:00
Tomas Votruba dd51f7ceed Updated Rector to commit 32bf5c7e7a8da2100f12cbef185c958655d4292d
32bf5c7e7a [CodeQuality] Skip if else return on ExplicitReturnNullRector (#5755)
2024-03-22 16:53:50 +00:00
Tomas Votruba 9811962c70 Updated Rector to commit b4eb883e9110f50607ce2eed629c237b5e7e7356
b4eb883e91 [DeadCode] Skip isset() from property fetch from docblock on RemoveAlwaysTrueIfConditionRector (#5754)
2024-03-21 18:38:10 +00:00
Tomas Votruba de2b2cf2b4 Updated Rector to commit dc69b1a963dc78ea9fe4ab07b70bc0716e1be341
dc69b1a963 [CodeQuality] Add new rule - ExplicitReturnNullRector (#5753)
2024-03-21 14:39:02 +00:00
Tomas Votruba 1a710b92cc Updated Rector to commit f32dff3ddb3bb8062fced070984017352f2b653a
f32dff3ddb [DeadCode] Skip From docblock on ReduceAlwaysFalseIfOrRector (#5752)
2024-03-21 11:54:51 +00:00
Tomas Votruba c1338c4c07 Updated Rector to commit aaf006c8f534230b1bbc4c4fb3747cd660305718
aaf006c8f5 [DeadCode] Skip use docblock on BooleanAnd check on RemoveDeadInstanceOfRector (#5751)
2024-03-21 11:37:34 +00:00
Tomas Votruba 50c2e61f1d Updated Rector to commit 0dd1a43904e7d12c76e810b1bbd87d99a0f835c3
0dd1a43904 [DeadCode] Add new rule - ReduceAlwaysFalseIfOrRector (#5750)
2024-03-21 11:36:43 +00:00
Tomas Votruba 7a69e542ca Updated Rector to commit 98a2a6fd6c6d1e2db5c0143e3e66e8421904b428
98a2a6fd6c Add test fixture on boolean && in RemoveAlwaysTrueIfConditionRector (#5749)
2024-03-21 11:23:24 +00:00
Tomas Votruba c950e4d97b Updated Rector to commit da67bb97a141fd0feb2ab90f5576138489f2f67d
da67bb97a1 Add boolean and support to RemoveDeadInstanceOfRector (#5748)
2024-03-21 11:05:56 +00:00
Tomas Votruba 00697fa4b6 Updated Rector to commit 0c177409ed477e978433597639335fb2a78bc331
0c177409ed Add support for getOneOrNullResult() method in ChildDoctrineRepositoryClassTypeRector (#5747)
2024-03-21 10:03:58 +00:00
Tomas Votruba 817ab2f7cb Updated Rector to commit f4070bb2b2f5c8f7a11063ce35549364c437a9cf
f4070bb2b2 Fix ChildDoctrineRepositoryClassTypeRector for generic type (#5746)
2024-03-21 09:55:11 +00:00
Tomas Votruba b38b8f3e85 Updated Rector to commit 26890958bc539e9a2234f1457a81d37f5972bf79
26890958bc [Php80] Use identical compare on PromotedPropertyCandidateResolver (#5745)
2024-03-20 14:21:32 +00:00
Tomas Votruba e94ff85194 Updated Rector to commit 765338ec5a4a725ce9b6788582372f24c09a3f82
765338ec5a [Php80] Skip var property usage on ClassPropertyAssignToConstructorPromotionRector (#5744)
2024-03-20 14:11:05 +00:00
Tomas Votruba 5ac9de7a83 Updated Rector to commit 685ba8a63e904c776033ba85c13f8903952e73e4
685ba8a63e [Renaming][AutoImport] Handle after change annotation to attribute with rename on AnnotationToAttributeRector + RenameClassRector with auto import (#5741)
2024-03-19 14:48:00 +00:00
Tomas Votruba ceff1cad27 Updated Rector to commit 1bf3947959e10f213a04e4eb626fc2ce428add60
1bf3947959 [CodingStyle] Remove usage of Reflection::expandClassName() from nette/utils 4.0 as cause bug on downgrade (#5740)
2024-03-19 10:36:18 +00:00
Tomas Votruba dac0717196 Updated Rector to commit a78fb1b970be42619495215a2612d032a6ecdbee
a78fb1b970 Fix scoper (#5739)
2024-03-19 02:28:26 +00:00
Tomas Votruba d028a05e61 Updated Rector to commit b052ed9ca971f97105ac93712853ea5b897d4dd3
b052ed9ca9 Handle readonly class with attrs (#5736)
2024-03-19 01:20:27 +00:00
Tomas Votruba b1eb18f499 Updated Rector to commit b71d0fea8eaf051d6d55aee74c9eece0028e2165
b71d0fea8e Bump rule-doc-generator to prefixed version (#5737)
2024-03-18 22:09:15 +00:00
Tomas Votruba 0268ca2b1c Updated Rector to commit bf856e2ffa55c669e018e773341d7c05794f075e
bf856e2ffa Bump to php-parser ^4.19.1 (#5734)
2024-03-17 08:46:45 +00:00
Tomas Votruba 8d1aee03a3 Updated Rector to commit 560172463933f21b51b8ef306a068dc299f742e5
5601724639 [Dep] Temporary pin to use nikic/php-parser 4.18.0 (#5733)
2024-03-17 07:47:19 +00:00
Tomas Votruba 51090bc214 Updated Rector to commit ac2bd3f825b11233c07235a195f442be4113d99c
ac2bd3f825 [Php81] Skip $this::class on trait on NullToStrictStringFuncCallArgRector (#5732)
2024-03-17 07:10:56 +00:00
Tomas Votruba b50605a40a Updated Rector to commit 1764c19455ce55ee49ec1d678d422c788e7c4fff
1764c19455 [Configuration] Do not sets, skip, rules on empty array on RectorConfigBuilder (#5731)
2024-03-17 01:39:59 +00:00
Tomas Votruba 2bf9bab235 Updated Rector to commit a94605a3c00447f1f3348b66d0719652cb2aa8ce
a94605a3c0 [automated] Apply Coding Standard (#5730)
2024-03-17 00:29:09 +00:00
Tomas Votruba 29535d04eb Updated Rector to commit 0a07bf39b8c3852a0bd289280ee6e60080561447
0a07bf39b8 [automated] Re-Generate Nodes/Rectors Documentation (#5729)
2024-03-17 00:28:32 +00:00
Tomas Votruba dd371cdca2 Updated Rector to commit 6477094d5af502e65c75c30af7ce59ef3b8cc2d7
6477094d5a Update ArrayDimFetchToMethodCall to use ObjectType (#5728)
2024-03-16 10:32:26 +00:00
Tomas Votruba d5d197b9bf Updated Rector to commit d9b64c78e33ef461605ac08578c8159b01839c98
d9b64c78e3 Fixes for ArrayDimFetchToMethodCallRector (#5727)
2024-03-16 09:11:08 +00:00
Tomas Votruba 9ab2b8bc07 Updated Rector to commit d1ed5f03202cb9325f861ac7b8c1976173b45826
d1ed5f0320 [php84] Clean up contains null check type on ExplicitNullableParamTypeRector (#5726)
2024-03-16 08:29:12 +00:00
Tomas Votruba ae50c0e5a3 Updated Rector to commit cdde425c2224a1357d70d6784936fe47fe3ffee0
cdde425c22 [Transform] Adds ArrayDimFetchToMethodCallRector rule (#5723)
2024-03-15 19:25:11 +00:00
Tomas Votruba d3357ab3eb Updated Rector to commit a844e40a3f84f120866198401f9b3640575f7c06
a844e40a3f [Composer] Fix double / on illuminate-container-container-php.patch url on extra:patches config (#5725)
2024-03-15 14:15:54 +00:00
Tomas Votruba c0820093ad Updated Rector to commit ff32c0c08a89f27ea34187d00cf707734a7e39c8
ff32c0c08a [Php84] Add ExplicitNullableParamTypeRector (#5724)
2024-03-15 10:45:55 +00:00
Tomas Votruba edd8901ea0 Updated Rector to commit 23e3da2d6eee90e4f2a31c31062aabaeba77ba69
23e3da2d6e [CodeQuality] Remove BoolvalToTypeCastRector and FloatvalToTypeCastRector as well from code-quality set (#5722)
2024-03-14 20:16:36 +00:00
Tomas Votruba d7faacd4a0 Updated Rector to commit ea0f1c1351b68e3a0863d8460e2abea06099df87
ea0f1c1351 [code-quality] Remove intval/strval from sets, as no clear difference and personal preference (#5721)
2024-03-14 15:05:15 +00:00
Tomas Votruba c59507a909 Rector 1.0.3 2024-03-14 15:04:18 +00:00
Tomas Votruba e293557ea0 Updated Rector to commit b870d8f434c4ff0718c970620285dbb7088c5d86
b870d8f434 Remove --skip-type Rector\Core\Rector\AbstractCollectorRector on composer docs command as no longer exists (#5720)
2024-03-14 08:53:16 +00:00
Tomas Votruba ea97f93f74 Updated Rector to commit fbba8606a56e0643a7b3d1ae9af5fded082eea06
fbba8606a5  [Php80] Skip ObjectType on ChangeSwitchToMatchRector  (#5719)
2024-03-14 08:27:29 +00:00