18573 Commits

Author SHA1 Message Date
Tomas Votruba
721d766ecd Updated Rector to commit 59958fe63445a7253156b10d6887279c26d65d33
59958fe634 [NodeTypeResolver] Clean up set attribute scope on Property (#6317)
2024-09-19 00:33:06 +00:00
Tomas Votruba
4929adcd5e Updated Rector to commit 886efb0d938e35698fbffbb485550997ef280ff0
886efb0d93 [NodeTypeResolver] Clean up unnecessary scope attribute set on Class_/Interface_/Enum_ (#6316)
2024-09-19 00:01:58 +00:00
Tomas Votruba
b76a31fd3c Updated Rector to commit 71a0da85b79bb112bdf2f8ac88fc9034a88a0f6e
71a0da85b7 [NodeTypeResolver] Clean up direct setAttribute() on attributes set scope (#6315)
2024-09-18 14:59:17 +00:00
Tomas Votruba
5c8a6df8c4 Updated Rector to commit e0c9c0453c1f95dde99c3ff8f14d2d87cc6e1016
e0c9c0453c [NodeTypeResolver] Decorate trait Attribute scope from trait context (#6314)
2024-09-18 14:34:58 +00:00
Tomas Votruba
a0344bed95 Updated Rector to commit db5f353410587977411ef72babbe7a9e91fca917
db5f353410 [Php81] Handle crash on ArrowFunction attribute on FirstClassCallableRector (#6313)
2024-09-18 13:48:51 +00:00
Tomas Votruba
fb6dd9de84 Updated Rector to commit a1cbff44f9b2adb60308748fa949ac8e51c9238b
a1cbff44f9 use rector/release-notes-generator:^0.3.0 (#6311)
2024-09-18 08:30:29 +00:00
Tomas Votruba
466f5a7cd9 Updated Rector to commit d2bbed9da2189dbbac2376e053a66e22ebb50ac3
d2bbed9da2 Fix LocallyCalledStaticMethodToNonStaticRector when static function is called using the class name (#6310)
2024-09-17 00:18:46 +00:00
Tomas Votruba
6006052f4b Updated Rector to commit bbdeb0ffaa2307b0271801a031f139c11ada52f8
bbdeb0ffaa [DeadCode] Add fixture to remove already known more specific type (#6309)
2024-09-16 07:10:12 +00:00
Tomas Votruba
408fed30ef Updated Rector to commit 04bd2bb922e9bb92560428db12c166e899bb1a04
04bd2bb922 [DX] Show paths not match any file/directory on ProcessCommand when given path not exists (#6307)
2024-09-16 05:56:38 +00:00
Tomas Votruba
8817a67e2d Updated Rector to commit db5688c285d6c02fedc1f9e9b4693e60a08e70ef
db5688c285 [TypeDeclaration] Skip nullable callable on TypedPropertyFromAssignsRector (#6308)
2024-09-16 01:31:24 +00:00
Tomas Votruba
a210f202ea Updated Rector to commit 5c30f2491c3fb03ff38fbc524a02b9baa2e3f96c
5c30f2491c [Performance] Reduce double traverse on AddNeverReturnType (#6305)
2024-09-15 01:23:46 +00:00
Tomas Votruba
056f7047c7 Updated Rector to commit 5da2f3302522508e64b7b74e649f06e45f7b70db
5da2f33025 [TypeDeclaration] Clean up never type check on AddNeverReturnType (#6304)
2024-09-15 01:15:15 +00:00
Tomas Votruba
a205fb67bd Updated Rector to commit dd93b38091aa7f5ff5ba15791f49d86059cd1ef8
dd93b38091 [automated] Apply Coding Standard (#6303)
2024-09-15 00:36:18 +00:00
Tomas Votruba
f4322e78eb Updated Rector to commit e9b21e08ac0cc8c41b795cfc979b849f93728c2b
e9b21e08ac Test for the fix to RemoveByType in PhpDocInfo (#6302)
2024-09-14 07:59:00 +00:00
Tomas Votruba
6f6009511c Updated Rector to commit 9620889bef4198a84ae6f4e2870fc3920595657e
9620889bef Fix incorrect result after using RemoveByType in PhpDocInfo (#6301)
2024-09-13 20:11:08 +00:00
Tomas Votruba
eb623ce3a0 Updated Rector to commit 7f9c6b0f0a2f6093c3da6b7d1326c4add4e7040f
7f9c6b0f0a [TypeDeclaration] Convert inline @var tag to assert() (#6300)
2024-09-13 07:50:10 +00:00
Tomas Votruba
61420a6bd4 Updated Rector to commit 71fb2e4c9346bf6ce6b057ff3d77511662f7913c
71fb2e4c93 Add MacOS troubleshooting to CONTRIBUTING.md (#6298)
2024-09-09 14:18:42 +00:00
Tomas Votruba
e98aa793ca Rector 1.2.5 1.2.5 2024-09-08 17:43:24 +00:00
Tomas Votruba
9c002d17ef Updated Rector to commit 1ebb7aa29bfff54059d455ee6f908fa47a7416c3
1ebb7aa29b [CodeQuality] Allow transform static to self on final class on ConvertStaticPrivateConstantToSelfRector (#6295)
2024-09-08 17:21:31 +00:00
Tomas Votruba
7d52cf2cdd Updated Rector to commit 1ebb7aa29bfff54059d455ee6f908fa47a7416c3
1ebb7aa29b [CodeQuality] Allow transform static to self on final class on ConvertStaticPrivateConstantToSelfRector (#6295)
2024-09-08 10:53:32 +00:00
Tomas Votruba
09d8db0ce9 Updated Rector to commit 393423fd3c87f1e915f252f8316f1616b623c320
393423fd3c always make paths absolute before processing files (#6293)
2024-09-08 01:39:53 +00:00
Tomas Votruba
f11e9d2990 Updated Rector to commit a4545b6fccbc6698fadce47a8454ce3acebf97ac
a4545b6fcc [automated] Apply Coding Standard (#6297)
2024-09-08 00:35:07 +00:00
Tomas Votruba
9011953565 Updated Rector to commit c9f4b4f843cef6757e6da1de8fb2a6f08987bced
c9f4b4f843 bump to laravel illuminate/container: ^11.22.0 (#6296)
2024-09-07 23:58:18 +00:00
Tomas Votruba
4cbb79dc5f Updated Rector to commit feaf6eae6b9a765fe229d65a9ba07c5715649dee
feaf6eae6b Update incorrect configuration example (#6294)
2024-09-06 12:11:39 +00:00
Tomas Votruba
99b1eff645 Updated Rector to commit 4a94d2e5049deffdfe4b5ce2597845ad1b4a0016
4a94d2e504 [PostRector] Allow remove unused use on conflict short name aliased on UnusedmportRemovingPostRector (#6292)
2024-09-05 23:45:38 +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
9fd26b514b Updated Rector to commit 1c20d81c56a0ec9cb7663421add2bd1004278370
1c20d81c56 Bump to PHPStan 1.12.2 and Fix test (#6289)
2024-09-05 21:15:47 +00:00
Tomas Votruba
e7b61135b9 Updated Rector to commit 340e5226000cba351cc282ca572af6f76418e1bd
340e522600 [deprecated] Remove deprecated closure return rules, return type from strict bool/scalar returns (#6287)
2024-09-04 08:17:49 +00:00
Tomas Votruba
be46a565ff Updated Rector to commit 8c9469092fa4735f54c58df220f22887c6e20e1f
8c9469092f Optimise checking the node types allowed for each rule (#6232)
2024-09-04 08:10:29 +00:00
Tomas Votruba
1eb91384ca Updated Rector to commit d97deb804b606a49d25452a0a5c4f0f07d240b16
d97deb804b [FileSystem] Add data and writable to not include on InitFilePathsResolver (#6285)
2024-09-02 12:14:03 +00:00
Tomas Votruba
4181935232 Updated Rector to commit ef3a23289ff312252e6a976138b1fa03d4b78674
ef3a23289f [NodeTypeResolver] Add test for usage namespaced_name on ClassConstFetchTypeResolver (#6284)
2024-09-02 11:30:17 +00:00
Tomas Votruba
edc61555d2 Updated Rector to commit 27b61b022c12d679350eb9d7926234929d587f5c
27b61b022c [DX] Use ClassLike in ClassConst usage on isObjectType() error message (#6282)
2024-09-02 11:14:43 +00:00
Tomas Votruba
f5ea40a973 Updated Rector to commit 97eb222b6b3954419bc6e22d9640859e97934c4d
97eb222b6b [DX] Type of class method/class const cannot be checked, use Class_ instead (#6281)
2024-09-02 11:00:48 +00:00
Tomas Votruba
230145ae37 Updated Rector to commit 13f3067288a5dcf8ef60148620f0a6c92b2132fc
13f3067288 [Cleanup] File helper is not used (#6279)
2024-09-02 10:17:05 +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
415dab3436 Updated Rector to commit 0ee9020ed439e535793d579540a994fef4536575
0ee9020ed4 Few tiny fixes (#6277)
2024-09-02 08:27:08 +00:00
Tomas Votruba
3936c30c7e Updated Rector to commit 3aa886f88d54d440d107577996d65cd968c0c8b0
3aa886f88d [deprecated] Remove deprecated ChangeAndIfToEarlyReturnRector, CallableThisArrayToAnonymousFunctionRector + casting rules (#6276)
2024-09-02 08:07:01 +00:00
Tomas Votruba
da9d971829 Updated Rector to commit a9575034c3c774fe8aa5c42a0adbea008efaf000
a9575034c3 [DX] Remove undocumented and single implementer of skip voter, keep it simple (#6275)
2024-09-02 00:42:26 +00:00
Tomas Votruba
ec69eaa46d Updated Rector to commit 0c37a47322c9d62a6dcfa2302d4775e71c20b69a
0c37a47322 [Config] Make with php set used, cleanup phpstan config (#6274)
2024-09-02 00:35:11 +00:00
Tomas Votruba
41f0665875 Updated Rector to commit ad30cfb302cb1e3ef1e04a5b55ffddc86be5f576
ad30cfb302 [Config] Improve ComposerJsonPhpVersionResolver API, make use of explicit php set files (#6273)
2024-09-01 23:51:23 +00:00
Tomas Votruba
ddcb4cdfc9 Updated Rector to commit 96b585bd2640cb09ef79271907f444f3218c42b2
96b585bd26 Adds AddClosureParamTypeFromObjectRector (#6265)
2024-09-01 12:00:53 +00:00
Tomas Votruba
1bad941971 Updated Rector to commit 03ea9b2c4e823b6b9800c2de052193326ebb2027
03ea9b2c4e [ReturnTypeInferer] Drop this/static docblock type check on ReturnTypeInferer (#6270)
2024-09-01 06:42:32 +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
334519dc5c Updated Rector to commit 07cfc2754d59ecfcd411e813d9d5fd48def7c035
07cfc2754d [Performance][AutoImport] Verify already use last name usage on long name on NameImportingPostRector (#6264)
2024-08-29 20:19:35 +00:00
Tomas Votruba
f9441cf43d Updated Rector to commit 816c73347df4a5e4da48903af1190c131fcccb8c
816c73347d [CodeQuality] Handle crash on first class callable inside match on OptionalParametersAfterRequiredRector (#6263)
2024-08-28 11:50:11 +00:00