16728 Commits

Author SHA1 Message Date
Tomas Votruba
89d0c03325 Updated Rector to commit 525a4b206360d6f0728b7e492644cc57859f28a6
525a4b2063 restore contracts
2023-08-15 23:36:27 +00:00
Tomas Votruba
acc38e2215 Updated Rector to commit f77cf5af2c486ab2db77c0a88d1c982e76261e09
f77cf5af2c [DI] Remove symfony/dependency-injection dependency (#4796)
2023-08-15 23:30:13 +00:00
Tomas Votruba
0648bce658 Updated Rector to commit 7165002817bab1c4d4a17b40fcc6c5cc3d4b2af6
7165002817 cleanup
2023-08-15 22:36:59 +00:00
Tomas Votruba
97db597ce6 Updated Rector to commit 78e491aae512e1b354427621a3171c506477aabe
78e491aae5 load devs commands
2023-08-15 22:36:34 +00:00
Tomas Votruba
532732b102 Updated Rector to commit 78e491aae512e1b354427621a3171c506477aabe
78e491aae5 load devs commands
2023-08-15 22:32:37 +00:00
Tomas Votruba
e57e1c363e Updated Rector to commit 6d0f7da6e3d41e41781251d23f5ff934047d15cd
6d0f7da6e3 fix duplicated method
2023-08-15 22:27:51 +00:00
Tomas Votruba
61d0700b14 Updated Rector to commit 83fdfb3648e0c1a636ef0589e261cc48ea921456
83fdfb3648 [DeadCode] Handle duplicated annotation on space before close parentheses on RemoveUselessParamTagRector (#4795)
2023-08-15 15:20:12 +00:00
Tomas Votruba
1f172665e6 Updated Rector to commit d8d4e8d0b244ba368e3ce8767343c71b108ec93c
d8d4e8d0b2 Revert removed ErrorType handling on NullToStrictStringFuncCallArgRector (#4793)
2023-08-14 20:02:59 +00:00
Tomas Votruba
e2003ba7c5 Rector 0.17.13 0.17.13 2023-08-14 16:33:29 +00:00
Tomas Votruba
426abe14c5 Updated Rector to commit 514df0a319b75f86b9b381ee0db7f95aadca32fb
514df0a319 Make NullToStrictStringFuncCallArgRector run without scope (#4792)
2023-08-14 14:35:49 +00:00
Tomas Votruba
5b1b83ed61 Updated Rector to commit 685fe90cb8752c2a288ee982d03d15d8df6b59f2
685fe90cb8 Make SimplifyUselessVariableRector run without scope (#4791)
2023-08-14 14:31:01 +00:00
Tomas Votruba
8216388351 Updated Rector to commit 2fe68ad7649faf0ebec883dcdeb91ee6118297ce
2fe68ad764 [DI] Add resetable interface to reset services on new DI run (#4790)
2023-08-14 13:46:38 +00:00
Tomas Votruba
846609aadf Updated Rector to commit 98b203a5d9caa1aacb75bb22a45617f228c3516a
98b203a5d9 Fix name (#4788)
2023-08-14 10:12:37 +00:00
Tomas Votruba
951076fc19 Updated Rector to commit 90b832dc4f10d04b32f2c0cbc473082f6ccd11fb
90b832dc4f cleanup (#4787)
2023-08-14 09:58:25 +00:00
Tomas Votruba
34e7d4f989 Updated Rector to commit 29d9b7619d0d8bd68a62cc5ab3fcba5699a50558
29d9b7619d [PHPStanStaticTypeMapper] Remove TypeKind::ANY (#4786)
2023-08-14 09:24:11 +00:00
Tomas Votruba
46d23a1bc4 Updated Rector to commit 00a51146a06566467292db72c8e231330c7e41d9
00a51146a0 [PHPStanStaticTypeMapper] Allow standalone null type on NullTypeMapper on php 8.2 (#4783)
2023-08-14 09:18:43 +00:00
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