Tomas Votruba
0f5e5b911d
Updated Rector to commit 5b59337cedccda38caff556b0acfbe2c4a741d2d
...
5b59337ced
Use Type->getIterableKeyType() over ArrayType->getKeyType() (#6480 )
2024-11-23 10:35:10 +00:00
Tomas Votruba
707ad42e13
Updated Rector to commit 2f77705509ab9944375d34c5278e4383285f5096
...
2f77705509
[DeadCode] Handle crash on valid conditional type on RemoveUselessReturnTagRector (#6475 )
2024-11-22 18:45:24 +00:00
Tomas Votruba
6ddb4992d1
Updated Rector to commit 50496986f393c0ce7406301b7fe6887dfb7986f8
...
50496986f3
[Renaming] Fix space on union docblock during rename on RenameClassRector (#6463 )
2024-11-21 12:41:02 +00:00
Tomas Votruba
c75740ab0c
Updated Rector to commit ba57166d9eb828d5c0d62a591b46b774242961e9
...
ba57166d9e
cs
2024-11-20 19:59:31 +00:00
Tomas Votruba
9a4a5b2bc5
Updated Rector to commit eb5df4dde7515bbc497af6da84d5f9dbf96399d8
...
eb5df4dde7
Use vendor-patches main branch (#6453 )
2024-11-20 15:58:53 +00:00
Tomas Votruba
c8d4dd98ae
Updated Rector to commit e562253268ac3c2b37c3b267d1208148a0a313b5
...
e562253268
[dx] Add HTMLAverseRectorInterface to teach rules to skip HTML + PHP mix that would go wrong (#6445 )
2024-11-16 16:56:04 +00:00
Tomas Votruba
8353c66b11
Updated Rector to commit c2053c75d6c55d2ca64f2003915aa8953c376f98
...
c2053c75d6
[deprecation] Deprecate AbstractScopeAwareRector in favor of single AbstractRector (#6425 )
2024-11-12 22:22:48 +00:00
Tomas Votruba
7e09c8b171
Updated Rector to commit 84bb59697d2cf5d564b5a2ace9be4f3496d6f131
...
84bb59697d
[StaticTypeMapper] Reduce instanceof TypeWithClassName usage via ClassNameFromObjectTypeResolver (#6421 )
2024-11-12 13:18:09 +00:00
Tomas Votruba
7f755fff28
Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
...
2d862a7c77
[CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406 )
2024-11-03 23:41:59 +00:00
Tomas Votruba
d62daba49d
Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
...
2d862a7c77
[CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406 )
2024-10-30 21:50:53 +00:00
Tomas Votruba
a5a5200e52
Updated Rector to commit 54a66206986e685787d7e038929618a66e98ec42
...
54a6620698
[TypeDeclaration] Add isset(), empty(), and negation support on BoolReturnTypeFromBooleanStrictReturnsRector (#6339 )
2024-10-01 05:27:50 +00:00
Tomas Votruba
5095dcdca5
Updated Rector to commit 398b04db9fe8df75fd3b9d32805425a0b8a5ef6b
...
398b04db9f
[CodingStyle] Use double quote to escape quotes in EncapsedStringsToSprintfRector (#6326 )
2024-09-23 14:15:11 +00:00
Tomas Votruba
1e876747d5
Updated Rector to commit cb96062f3cd5891fd89b419eebdd762061e82f85
...
cb96062f3c
Clean up UseImportsTraverser (#6291 )
2024-09-05 22:11:12 +00:00
Tomas Votruba
41a5fd7eb0
Updated Rector to commit e2b96d4f6efda2db3bf6a1074b67fcf2439e848d
...
e2b96d4f6e
Ensure same behaviour as before on UseImportsTraverser (#6290 )
2024-09-05 21:45:45 +00:00
Tomas Votruba
93c6ecf140
Updated Rector to commit 246de2dd9f7ce39e4ff94de0d36307e4fc8067b5
...
246de2dd9f
[Performance] Remove unnecessary usage of SimpleCallableNodeTraverser on UseImportsTraverser (#6288 )
2024-09-05 21:19:51 +00:00
Tomas Votruba
86066d948c
Updated Rector to commit 9da99ea4370a4c11d5df2aa7af7de4cde129c626
...
9da99ea437
[deprecations] Remove deprecated GetClassToInstanceOfRector, UseIncrementAssignRector, DetectNodeCommand (#6278 )
2024-09-02 09:55:41 +00:00
Tomas Votruba
17e003bf59
Updated Rector to commit 1eb04d6fae817aa0bd79d8606724d5eddd2f54df
...
1eb04d6fae
[automated] Apply Coding Standard (#6269 )
2024-09-01 00:38:01 +00:00
Tomas Votruba
71850def81
Updated Rector to commit 4eacb1ccc94f378eec0f3a08dbd8c90935d8d248
...
4eacb1ccc9
[automated] Re-Generate preload.php (#6268 )
2024-09-01 00:37:22 +00:00
Tomas Votruba
2d115a2c54
Updated Rector to commit b2213fdb4431413ab027e9f83ffb97e0cb8d838f
...
b2213fdb44
[Refactor] Move bloated logic on NameImportingPostRector into ClassNameImportSkipper and NameImporter (#6267 )
2024-08-31 11:36:27 +00:00
Tomas Votruba
f85eb3d810
Updated Rector to commit fd4f6d037b20c9b02fa83c98c4fb1524c7374196
...
fd4f6d037b
[AutoImport] Skip auto import conflict aliased on no namespace (#6266 )
2024-08-30 06:37:33 +00:00
Tomas Votruba
dc2d69aa43
Updated Rector to commit 4f89b7498e7bfb7dccc8872e042fcbc3a687a7f1
...
4f89b7498e
[AttributeKey] Drop virtual_node attribute (#6239 )
2024-08-22 08:56:01 +00:00
Tomas Votruba
7aeb17c570
Updated Rector to commit ad36316e98182d42006195f66b2f3942639b97b9
...
ad36316e98
Rectify and clean up skip config (#6205 )
2024-08-01 07:43:24 +00:00
Tomas Votruba
608879e768
Updated Rector to commit 7d6b6ed95f9c6c4731a0915f9624ec342548de65
...
7d6b6ed95f
[AutoImport] Add new line for add use statement if next first stmt is not Use_ or GroupUse (#6194 )
2024-07-27 07:38:48 +00:00
Tomas Votruba
075bcc5773
Updated Rector to commit 07a3bdc597ce144a9ccbe370004b437d4118e0c2
...
07a3bdc597
[CodingStyle] Handle with trait use adaptations on SeparateMultiUseImportsRector (#6149 )
2024-07-15 17:30:41 +00:00
Tomas Votruba
f6e296c7c2
Updated Rector to commit 18ac56ba991202762fae3deb9e7ab190b2d369e4
...
18ac56ba99
refactor: Move function first-class-callable to a standalone rule (#6131 )
2024-07-08 13:48:56 +00:00
Tomas Votruba
738f33982e
Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
...
ef333502fb
Make NameScopeFactory simpler (#6092 )
2024-07-01 06:16:16 +00:00
Tomas Votruba
155105e737
Updated Rector to commit 52e95e83fcca59cb53d96fa664d8839b42c90ed9
...
52e95e83fc
Misc cleanup (#6078 )
2024-06-29 09:30:38 +00:00
Tomas Votruba
c09e34bbdb
Updated Rector to commit 1865d51f2f5e5045ac3b5e52fc45d79d8f36636b
...
1865d51f2f
docs
2024-06-28 14:06:32 +00:00
Tomas Votruba
3732dae0b1
Updated Rector to commit 9c41ee08fd90edc940ad117ea79d6a316138e867
...
9c41ee08fd
Make CatchExceptionNameMatchingTypeRector run without alias resolver (#6067 )
2024-06-28 13:08:07 +00:00
Tomas Votruba
b8a1ca3409
Updated Rector to commit 1a2fca653bb7f4c817cf624d0d4c317ef1a0115f
...
1a2fca653b
Add `always` config for EncapsedStringsToSprintfRector (#6050 )
2024-06-27 19:30:52 +00:00
Tomas Votruba
462ba01b9d
Updated Rector to commit d6102594b3dd109267e5e5448206373cba8ad043
...
d6102594b3
[DX] Inform about deprecated rules in config (#6047 )
2024-06-26 14:21:24 +00:00
Tomas Votruba
5e279558fc
Updated Rector to commit 5bb9cbafb58949e3e05c5c3a294d86df2c4902a0
...
5bb9cbafb5
Fix downgrade error: namespace Foreach should be Foreach_ (#6045 )
2024-06-26 10:52:45 +00:00
Tomas Votruba
253b752428
Updated Rector to commit 23597c551da3bd1f1477f4415b1b2cad4651307c
...
23597c551d
[Cleanup] Deprecate UseIncrementAssignRector as depends on context and might be intentional (#6042 )
2024-06-26 10:04:52 +00:00
Tomas Votruba
10e64410ff
Updated Rector to commit 87411545f3ddb40fef7cbefcac5b7a0d3c511242
...
87411545f3
[Cleanup] Remove @changelog as no longer maintained/used, use RuleDefinition instead (#6035 )
2024-06-26 03:35:12 +00:00
Tomas Votruba
c76721fedd
Updated Rector to commit 1f1a57a7ff3899dc19136c4ba245e98ec769162d
...
1f1a57a7ff
apply rector
2024-06-26 03:04:32 +00:00
Tomas Votruba
97b31838f3
Updated Rector to commit de31e6f73765bef8a7285a00114037c07712add7
...
de31e6f737
[Naming] Allow rename variable in multiple statements on RenameVariableToMatchMethodCallReturnTypeRector (#5963 )
2024-06-11 23:11:24 +00:00
Tomas Votruba
7e814dec04
Updated Rector to commit 62fae6ac5b798f3842de0042739c7ddaa42d3bd2
...
62fae6ac5b
[CodingStyle][Php80] Add join func call support on ConsistentImplodeRector (#5958 )
2024-06-10 11:25:15 +00:00
Tomas Votruba
d9a260cb29
Updated Rector to commit 1fac01a1b0c1e4b36f703bae1cca6b5f0bbaf9e9
...
1fac01a1b0
[CodingStyle] Use array value for "comments" attribute to set on UseImportsAdder::mirrorUseComments() (#5944 )
2024-06-05 12:06:54 +00:00
Tomas Votruba
f010267a7c
Updated Rector to commit 6b69971dfc740a58aed918782d02710e42004e9d
...
6b69971dfc
[NodeTypeCorrector] Directly use StringType on Intersection of strings on AccessoryNonEmptyStringTypeCorrector (#5933 )
2024-06-01 09:25:16 +00:00
Tomas Votruba
df92a40a00
Updated Rector to commit 756a45aa1a456e28af0b7ae2b78fecc6f6fee6b1
...
756a45aa1a
[DeadCode] Add RemoveUnusedPublicMethodParameterRector (#5925 )
2024-05-30 07:40:25 +00:00
Tomas Votruba
f07c3528a8
Updated Rector to commit eb8a76d2d1a19364f29e0f04b4d635ef751759c8
...
eb8a76d2d1
[AutoImport] No need RenamedClassesDataCollector usage on UsesClassNameImportSkipVoter (#5921 )
2024-05-29 10:02:24 +00:00
Tomas Votruba
b6e05a08f9
Updated Rector to commit c625b4cd7feda6cc9e51499d5fcdcd19141227ad
...
c625b4cd7f
[CodingStyle] Use specific mapper FullyQualifiedNodeMapper on NameImporter to get PHPStan type of FullyQualifiedNode (#5914 )
2024-05-26 16:28:54 +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
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
3fdaba944f
Updated Rector to commit 52aa64ffe2cc0add4cbffede6ce36cbec576ef2f
...
52aa64ffe2
[DeadCode] Clean up TypeHasher on Union Type (#5792 )
2024-04-03 06:21:54 +00:00
Tomas Votruba
664f4e3a6b
Updated Rector to commit 0f1987b0faa8dc1c5e086c9b95457d6018b2cd82
...
0f1987b0fa
Adds a link to the PHP Static Analysis Attributes rector rules (#5787 )
2024-04-01 16:51:34 +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
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