18556 Commits

Author SHA1 Message Date
Tomas Votruba
b555bd2c5e Updated Rector to commit d17d3e814eada2fa3ada3601034407df01d84568
d17d3e814e [TypeDeclaration] Better approach for native type check on ReturnStrictTypeAnalyzer (#6343)
2024-10-01 13:05:02 +00:00
Tomas Votruba
cdbdb1bd14 Updated Rector to commit 697b37b340c3b4c73ad6f8e4cea26b7bf60ddf62
697b37b340 Around PHPStan 1.12.4 handling on ParametersAcceptors with non-native return type (by docblock) (#6341)
2024-10-01 11:13:08 +00:00
Tomas Votruba
b86f33859b Updated Rector to commit a11fc615d18396cef284c18de269711114630676
a11fc615d1 [TypeDeclaration] Remove only void type on ReturnedNodesReturnTypeInfererTypeInferer (#6340)
2024-10-01 09:55:40 +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
32c2df7fcb Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007
6b065efef0 Bump php-parser to ^4.19.4 (#6338)
2024-09-30 08:25:23 +00:00
Tomas Votruba
3df699e80d Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007
6b065efef0 Bump php-parser to ^4.19.4 (#6338)
2024-09-29 22:47:07 +00:00
Tomas Votruba
2301ae1068 Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007
6b065efef0 Bump php-parser to ^4.19.4 (#6338)
2024-09-29 21:18:26 +00:00
Tomas Votruba
3c9b3f922c Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007
6b065efef0 Bump php-parser to ^4.19.4 (#6338)
2024-09-29 15:11:48 +00:00
Tomas Votruba
09e6c3f693 Updated Rector to commit 5a2bd5fd57cf4dfa99153a4c1f33a137f27f7b95
5a2bd5fd57 Temporary Pin nikic/php-parser to 4.19.2 (#6337)
2024-09-29 14:41:46 +00:00
Tomas Votruba
a454368807 Updated Rector to commit e38d2d90e75643e483b9c79b7967f221b1e8158f
e38d2d90e7 [PhpParser] Use general FunctionLike instanceof check for inner scope check on BetterNodeFinder (#6334)
2024-09-29 13:02:19 +00:00
Tomas Votruba
a05b07c1af Updated Rector to commit e38d2d90e75643e483b9c79b7967f221b1e8158f
e38d2d90e7 [PhpParser] Use general FunctionLike instanceof check for inner scope check on BetterNodeFinder (#6334)
2024-09-29 09:15:52 +00:00
Tomas Votruba
70e4672978 Updated Rector to commit e38d2d90e75643e483b9c79b7967f221b1e8158f
e38d2d90e7 [PhpParser] Use general FunctionLike instanceof check for inner scope check on BetterNodeFinder (#6334)
2024-09-29 09:04:45 +00:00
Tomas Votruba
4dcabd8124 Updated Rector to commit 80f7e5bdcb547515c1cc1d0143208d644e23ea8e
80f7e5bdcb Skip arrow function in scoped search (#6333)
2024-09-29 07:23:57 +00:00
Tomas Votruba
99536e7b6c Updated Rector to commit 80f7e5bdcb547515c1cc1d0143208d644e23ea8e
80f7e5bdcb Skip arrow function in scoped search (#6333)
2024-09-28 12:14:00 +00:00
Tomas Votruba
33ab785913 Updated Rector to commit 80f7e5bdcb547515c1cc1d0143208d644e23ea8e
80f7e5bdcb Skip arrow function in scoped search (#6333)
2024-09-28 10:29:07 +00:00
Tomas Votruba
4244745d9f Updated Rector to commit 319e244ed574585d8de4333b042aa034b81c028d
319e244ed5 [DeadCode] Skip extension load append variable on RemoveAlwaysTrueIfConditionRector (#6332)
2024-09-28 09:27:28 +00:00
Tomas Votruba
a264d32c28 Updated Rector to commit 319e244ed574585d8de4333b042aa034b81c028d
319e244ed5 [DeadCode] Skip extension load append variable on RemoveAlwaysTrueIfConditionRector (#6332)
2024-09-28 02:53:36 +00:00
Tomas Votruba
91ebadc6e8 Updated Rector to commit e2d96476a6386d05058b4bd6b35035b36ba6d05a
e2d96476a6 [Php81] Allow used as assign expr on ReadOnlyPropertyRector (#6331)
2024-09-27 17:13:56 +00:00
Tomas Votruba
2d8ed4af01 Updated Rector to commit 834c9ff6e0685b9d5a12fad9223aab7dd769c3cc
834c9ff6e0 keep newest phpstan versions
2024-09-26 18:56:04 +00:00
Tomas Votruba
2895385e35 Updated Rector to commit ae0bc675c1e956541bde8fa852a43f4d8322a25f
ae0bc675c1 bump deps
2024-09-26 18:54:51 +00:00
Tomas Votruba
d9b96f4460 Updated Rector to commit 1d80ecf67ffb4454579ebd158c7db6e8a016f1ac
1d80ecf67f Fix first class callable to use combineAcceptors() to avoid assert Arg instance error (#6330)
2024-09-26 18:03:57 +00:00
Tomas Votruba
3bd74e3059 Updated Rector to commit 1d80ecf67ffb4454579ebd158c7db6e8a016f1ac
1d80ecf67f Fix first class callable to use combineAcceptors() to avoid assert Arg instance error (#6330)
2024-09-26 17:05:53 +00:00
Tomas Votruba
3c7157c142 Updated Rector to commit f619d8670e85d0bd2859c475ca31178bc0e02254
f619d8670e Bump to PHPStan 1.12.5 and Fix deprecated ParametersAcceptorSelector::selectSingle() (#6329)
2024-09-26 16:51:04 +00:00
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