18383 Commits

Author SHA1 Message Date
Tomas Votruba
a523c407d7 Updated Rector to commit 06622fe175ee9859b414ba2ea2b6c6d46adb360c
06622fe175 Bump to phpstan/phpdoc-parser:1.32.0 and run composer preload (#6328)
2024-09-26 12:47:37 +00:00
Tomas Votruba
eadafbe596 Updated Rector to commit 06622fe175ee9859b414ba2ea2b6c6d46adb360c
06622fe175 Bump to phpstan/phpdoc-parser:1.32.0 and run composer preload (#6328)
2024-09-26 08:44:25 +00:00
Tomas Votruba
569cb9f7eb Updated Rector to commit e74ecfb6599f75dbd1463a6ac0b43d99c6dad466
e74ecfb659 [TypeDeclaration] Handle crash on func call not found on BoolReturnTypeFromBooleanStrictReturnsRector (#6327)
2024-09-26 08:25:20 +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
8acfec7036 Updated Rector to commit 51700181bcbd4d2b2f2904bb5a2fe517fea30132
51700181bc [PhpParser] Alternative PR for findInstancesOfScoped() to keep existing performance (#6324)
2024-09-22 19:14:45 +00:00
Tomas Votruba
3c4a159a55 Updated Rector to commit 51700181bcbd4d2b2f2904bb5a2fe517fea30132
51700181bc [PhpParser] Alternative PR for findInstancesOfScoped() to keep existing performance (#6324)
2024-09-22 18:17:47 +00:00
Tomas Votruba
426bac90a3 Updated Rector to commit c5940d2cc1adbe39945e0a0f9029823a883671e6
c5940d2cc1 [TypeDeclaration] Reduce double traverse on StrictReturnNewAnalyzer ReturnTypeFromStrictNewArrayRector (#6321)
2024-09-21 14:32:39 +00:00
Tomas Votruba
ebc5937a0e Updated Rector to commit 92f64ffc17e7ad969edf8e48cf02ba68f72b2efc
92f64ffc17 [Performance] Reduce double traverse on StrictNativeFunctionReturnTypeAnalyzer (#6320)
2024-09-21 13:09:46 +00:00
Tomas Votruba
541989a0ce Updated Rector to commit fbcf76dec9cfc313288233d93b22efeb24bbc97f
fbcf76dec9 [NodeTypeResolver] Remove normalize iterable type on TypeHasher (#6319)
2024-09-21 01:24:06 +00:00
Tomas Votruba
169f83fb56 Updated Rector to commit 3c50a47e30e962033f72376b47be8a8ca65dbde5
3c50a47e30 Bump to PHPStan 1.12.4 and fix test (#6318)
2024-09-20 02:01:20 +00:00
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