16712 Commits

Author SHA1 Message Date
Tomas Votruba
867dc4426c Updated Rector to commit 6b7aac835934de48c034aa8b2bad886616566e06
6b7aac8359 [Php81] Remove IntersectionTypesRector as rely on docblock (#4784)
2023-08-14 06:41:08 +00:00
Tomas Votruba
480a54b9d7 Updated Rector to commit b0105f24cf32cfe12438e85c5033aa79bce9a1a4
b0105f24cf [PHPStanStaticTypeMapper] Allow Closure type on ClosureTypeMapper based on PHP versions (#4785)
2023-08-14 06:39:54 +00:00
Tomas Votruba
a8b42110be Updated Rector to commit 7899f2b186919d8b6bec30272f5e3046ec0793bd
7899f2b186 [NodeNameResolver] Remove EmptyNameResolver (#4782)
2023-08-14 06:35:46 +00:00
Tomas Votruba
81362af021 Updated Rector to commit 72815588219a43f3881295c77bd5c97239e4721a
7281558821 [TypeDeclaration] Skip @param int on StrictStringParamConcatRector (#4780)
2023-08-13 16:51:50 +00:00
Tomas Votruba
9891ab5633 Updated Rector to commit 092b6115b0e0642d0c20836673415ece4a3d0084
092b6115b0 Bump nikic/php-parser to 4.17 (#4781)
2023-08-13 16:46:42 +00:00
Tomas Votruba
5034b0a7f0 Updated Rector to commit 2970fa114ef632768f4704c8eefd2f5d0310703c
2970fa114e [TypeDeclaration] Skip in conditional on AddParamTypeFromPropertyTypeRector (#4779)
2023-08-13 07:18:25 +00:00
Tomas Votruba
68e8b4f8d1 Updated Rector to commit 697ce5de0230bd4aeddd17288fca625bcfebfa47
697ce5de02 Cleanup tests (#4778)
2023-08-13 00:07:19 +00:00
Tomas Votruba
180c8d9798 Updated Rector to commit 052c00654d1f0060e1af8308d33f08abbeeeddb5
052c00654d Various improvements (#4777)
2023-08-12 23:39:23 +00:00
Tomas Votruba
6e99aeb054 Updated Rector to commit 3e9de3dd3f4dc6f88bf89b9e8879b26380d69e41
3e9de3dd3f rebuild docs
2023-08-12 23:15:09 +00:00
Tomas Votruba
0527325554 Updated Rector to commit 73eea785622200d731f9d8188323380581e5dcf2
73eea78562 regenerate docs on build
2023-08-12 23:04:40 +00:00
Tomas Votruba
df1b348d30 Updated Rector to commit 56baeef8851a621b1a290c728c2fc162b95baf60
56baeef885 [Docs] Update rule-doc-generator to 12 (#4776)
2023-08-12 21:46:32 +00:00
Tomas Votruba
435adccb1e Updated Rector to commit d02cfa14472309287e8ab741197440718a243fbd
d02cfa1447 [TypeDeclaration] Skip param re-assign on Strict Param rules (#4775)
2023-08-12 05:16:06 +00:00
Tomas Votruba
997543819d Updated Rector to commit 3f863a78c33218b94632431cc16ef5024d835f3e
3f863a78c3 [TypeDeclaration] Handle crash on concat param append returned used on Arg on StrictStringParamConcatRector (#4774)
2023-08-11 17:54:04 +00:00
Tomas Votruba
66f7957611 Updated Rector to commit 130f07b3da5cd6024b1e03265f75e70666a95473
130f07b3da [DeadCode] Skip used by trait inside Closure on RemoveUnusedPrivateMethodRector (#4773)
2023-08-11 17:24:11 +00:00
Tomas Votruba
09bae2b903 Updated Rector to commit 3243f1b482fb62949d4abbcd6090e59ede0eb0cf
3243f1b482 Misc cherry picks (#4771)
2023-08-11 16:45:13 +00:00
Tomas Votruba
e36ad5d27c Updated Rector to commit 6923113ff2994cfb0c76298c7dc7d038655fbc95
6923113ff2 [DeadCode] Skip used by trait on RemoveUnusedPrivateMethodRector (#4770)
2023-08-11 13:30:03 +00:00
Tomas Votruba
4bb1802e5e Updated Rector to commit d88803add852dade958647efa5c2c24fb452b8af
d88803add8 tidy fixtures
2023-08-11 12:28:19 +00:00
Tomas Votruba
652edbc08b Updated Rector to commit ccaedcc7628247ec28a86068a4c1925c113a87d1
ccaedcc762 make PhpFileProcessor support always true, as alwasy checks with same values
2023-08-11 12:24:44 +00:00
Tomas Votruba
8bc2ceabb8 Updated Rector to commit e5c0b505ca7e91a8d71dee6d55a3faaa2587cf0e
e5c0b505ca remove empty parent tearDown ref
2023-08-11 12:23:02 +00:00
Tomas Votruba
ead2b5fcdc Updated Rector to commit 08a9ab7031a4cc74b85040b3dba917106f84ec03
08a9ab7031 [build] Remove phtml from downgrade, as not needed anymore
2023-08-11 12:21:38 +00:00
Tomas Votruba
705e925e68 Updated Rector to commit 28a64fd972f9015b31c2d10c1c14aed0ccedeca4
28a64fd972 [Config] Move from magic loading of all PHPStan extensions, their bootstrap files etc. under control with explicit file listing (#4769)
2023-08-11 11:56:34 +00:00
Tomas Votruba
987f47e02b Updated Rector to commit 645190ad31421260caf8fa202df9e03b93a12cbb
645190ad31 [DX] Remove $nodeScopeResolver->setAnalysedFiles() usage as on parallel, it only lookup inside scheduled jobs (#4768)
2023-08-11 11:32:21 +00:00
Tomas Votruba
16cc359e15 Updated Rector to commit a75341c2beaa9e732920328c675cf2184bb409af
a75341c2be Cleanup few test fixtures to make them more readable (#4767)
2023-08-11 11:18:30 +00:00
Tomas Votruba
9d88bf87a6 Updated Rector to commit dc6e83c69ff9848d5bbfeedc9c596a042239a840
dc6e83c69f [e2e] Handle $rectorConfig->paths() with wilcards * config (#4765)
2023-08-11 10:21:07 +00:00
Tomas Votruba
7abf8380e8 Updated Rector to commit cf1d5b0a492598b893c3fe0ac1ec1d2fcd5018c6
cf1d5b0a49 Remove SwapMethodCallArgumentsRector as could lead to infinite swapping, use custom rule with type/value check instead (#4766)
2023-08-11 10:13:56 +00:00
Tomas Votruba
9c230e80b6 Updated Rector to commit 575c8d86349fae3144987da1ee705495b31335e7
575c8d8634 add type parser alias (#4764)
2023-08-11 09:37:27 +00:00
Tomas Votruba
ba0b1de8cb Updated Rector to commit 6154cb9e54a8812e4b2d61672f1c43c6940b7f46
6154cb9e54 [Cleanup] Remove unused easy-ci config (#4763)
2023-08-11 09:31:44 +00:00
Tomas Votruba
3fe8eb8e32 Updated Rector to commit a29e3afdb65a6378eb91a9fec7c706d54366633b
a29e3afdb6 Make indent size and char fetchable (#4762)
2023-08-11 09:14:44 +00:00
Tomas Votruba
7bb4bad572 Updated Rector to commit 1659ca292848fc1722b4b084d9fd1625b21e69c9
1659ca2928 [DX] Deprecate NonPhpRectorInterface, the only rule and its file processor, to make Rector handle exlusively PHP (#4761)
2023-08-10 19:26:52 +00:00
Tomas Votruba
d45a7ad902 Updated Rector to commit cbe3255f7e6b66af6c979131e200e7c01b4a0971
cbe3255f7e Remove Dumper::dump() in print_node function (#4760)
2023-08-10 18:44:03 +00:00
Tomas Votruba
af3a14a8a9 Rector 0.17.12 0.17.12 2023-08-10 15:22:02 +00:00
Tomas Votruba
4b4f578689 Updated Rector to commit fa2a806a07ca9279af5a69391d0556098f0cdbb1
fa2a806a07 [DX] deprecated build shipped debug fuctions, allow using custom debug package instead; add local d() and dd() functions (#4759)
2023-08-10 15:20:53 +00:00
Tomas Votruba
fb1f63e38b Updated Rector to commit 0bdace5619d44c2ab3b30254f3ef06fe5e90e6fa
0bdace5619 [Php80] Handle crash Property ReflectionEnum::$betterReflectionClass does not exist on AddParamBasedOnParentClassMethodRector on Enum usage (#4758)
2023-08-10 14:35:27 +00:00
Tomas Votruba
77447fc516 Updated Rector to commit e9ff73fa36a3e8afcbbdefd2cc0675fdb239fb21
e9ff73fa36 fix cs
2023-08-10 12:18:13 +00:00
Tomas Votruba
fd27dcf231 Updated Rector to commit a4bc873216f6d468524f95ca2746224c48311c2e
a4bc873216 cs
2023-08-10 12:16:13 +00:00
Tomas Votruba
852f522cbd Updated Rector to commit f4b71a5406b7a79e7fa09659c6a1ca0014a558e1
f4b71a5406 [TypeDeclaration] Use native type detection instead of docblock on AssignToPropertyTypeInferer for TypedPropertyFromAssignsRector (#4754)
2023-08-10 12:12:18 +00:00
Tomas Votruba
90a98ad57b Updated Rector to commit fe4d90d829b8bd17eff843f0e3de7a5a9cf0e023
fe4d90d829 [DX] Remove complementary interface, as not practical (#4757)
2023-08-10 12:02:49 +00:00
Tomas Votruba
f594570cda Rector 0.17.11 0.17.11 2023-08-10 12:01:42 +00:00
Tomas Votruba
0dd5cd28c3 Updated Rector to commit e0167e6f750106355909fd7933b8cae23f9cc543
e0167e6f75 cleanup phpstan errors (#4756)
2023-08-10 11:55:04 +00:00
Tomas Votruba
50e22e8613 Updated Rector to commit bcb51e81bc9cbc667017eea9240d7f8564848768
bcb51e81bc [Renaming] Deprecate PseudoNamespaceToNamespaceRector as too dynamic and unreliable, use the RenameClassRector instead (#4755)
2023-08-10 11:47:33 +00:00
Tomas Votruba
dde9963adf Updated Rector to commit f294e6df400814dbd8125ba141b16d96930716c5
f294e6df40 Cleanup test fixture (#4753)
2023-08-10 10:13:56 +00:00
Tomas Votruba
2802271875 Updated Rector to commit 9fcc5ba0771cfe693845f5a4ab2755d28c70d461
9fcc5ba077 Use direct VoidType definition on Return_ expr is null on ReturnedNodesReturnTypeInfererTypeInferer (#4752)
2023-08-10 07:14:40 +00:00
Tomas Votruba
c050eb8443 Updated Rector to commit d32040ff25de17c3a84a8fb1e556501bf8a939a7
d32040ff25 [TypeDeclaration] Skip void type on caller on ReturnTypeFromStrictTypedCallRector (#4751)
2023-08-10 04:48:30 +00:00
Tomas Votruba
e9ded638e3 Updated Rector to commit 9f4d232d605875d9feaea285c13fd9debafb0550
9f4d232d60 [DX] Cleanup and simplify class naming tests (#4749)
2023-08-09 20:14:10 +00:00
Tomas Votruba
0034aa1ce6 Updated Rector to commit db0388feecd977d5bb8cda662b9aee14a53ecfc6
db0388feec misc (#4748)
2023-08-09 19:20:00 +00:00
Tomas Votruba
6af22196e7 Updated Rector to commit ecdf208042cf256ae0269c0f059cf866e3bbca82
ecdf208042 cleanup (#4747)
2023-08-09 16:25:45 +00:00
Tomas Votruba
136d8e9a39 Updated Rector to commit 5293dab1de037a3ea8fb25efd6136b899049b902
5293dab1de Remove Php80NestedAttributesRector test as coverage in PHP 8 test (#4746)
2023-08-09 16:21:32 +00:00
Tomas Votruba
d23a5ea440 Updated Rector to commit b23294698f066a48e35be76ba0f25616f48f375e
b23294698f [Renaming] Remove callables from class renames to avoid missed rename bugs, better handle with PHSPtan and custom rule (#4745)
2023-08-09 16:15:16 +00:00
Tomas Votruba
0ae3d3835f Updated Rector to commit 6272769869e6de54b4cf172b8825af96ce51e11d
6272769869 [DX] Less rename class tests to keep readable and unique (#4744)
2023-08-09 16:03:32 +00:00
Tomas Votruba
048ea39b8c Updated Rector to commit fa1fe742b81ff7142111ce284c54873efed7c72e
fa1fe742b8 skip phpstan error
2023-08-09 15:45:27 +00:00