Tomas Votruba
81d65055b2
Updated Rector to commit 2d5d72f3ba66a63acb991107ba763e147c9840f4
...
2d5d72f3ba
[Naming] Introduce startsWith() to acompany endsWith() naming check (#4953 )
2023-09-09 14:19:44 +00:00
Tomas Votruba
3f02794da2
Updated Rector to commit 27078e79628cb14866b69dc6b8c2181fbec1d4c6
...
27078e7962
[DX] Add FileProcessResult + kick of collectors (#4947 )
2023-09-09 14:15:49 +00:00
Tomas Votruba
7540a5e283
Updated Rector to commit 9a322af593a3ed9de20a535f613ed25e12ecc823
...
9a322af593
BC: Separated regex matching in NodeNameResolver->isName() (#4951 )
2023-09-09 14:08:25 +00:00
Tomas Votruba
c77e927087
Updated Rector to commit b82ad4ca58ebb42307093858a1c3dd60ecee13aa
...
b82ad4ca58
[DX] Move PostFileProcessor to FileProcessor, as always should run together (#4952 )
2023-09-09 13:58:57 +00:00
Tomas Votruba
e185753ce7
Updated Rector to commit ee6e3e0940eff60bb198b95899668d8222d551ec
...
ee6e3e0940
Reduce excessive regex use (#4950 )
2023-09-09 11:46:14 +00:00
Tomas Votruba
5102d25a1e
Updated Rector to commit 672df31993b36396c3987bf6082f6218ba5cd26c
...
672df31993
Remove UnSpreadOperatorRector as not clear value and spread used on purpose (#4949 )
2023-09-09 11:18:54 +00:00
Tomas Votruba
b687f1d77e
Updated Rector to commit 048effdf44726307b24df0d9abcb27e7d5be7d3f
...
048effdf44
Remove mixed doctype for tokens (#4944 )
2023-09-09 11:10:25 +00:00
Tomas Votruba
d7411e1be0
Updated Rector to commit 2da3246fdfae7387ac7fa0ea7ab6b4cada58b9bf
...
2da3246fdf
Cleanup PHPStan errors, fix json data contract doc types (#4948 )
2023-09-09 11:02:01 +00:00
Tomas Votruba
8e8434e575
Updated Rector to commit b8485c6c17c6e1f128a33eaf6b63dfc605d77db3
...
b8485c6c17
Fix Rector extension config loading (#4946 )
2023-09-09 10:50:11 +00:00
Tomas Votruba
2c9f64e0d6
Updated Rector to commit 41870cb493cbae9725b8fdb682d53d9deaa33eae
...
41870cb493
Add comment for macOS empty string on WorkerCommandLineFactoryTest (#4945 )
2023-09-09 10:38:56 +00:00
Tomas Votruba
148de73048
Updated Rector to commit 0a1835fc27574e78525dc508ef24b08e42ca6a47
...
0a1835fc27
[Testing] Fix running unit test on macOS (#4941 )
2023-09-09 07:31:31 +00:00
Tomas Votruba
3c1b438cf8
Updated Rector to commit 18df85eafe0bc57e8be41d1051ca46c19c581cef
...
18df85eafe
[Testing] Ensure immediate remove file after dump() to sys_get_temp_dir() after FixtureTempFileDumper::dump() usage (#4940 )
2023-09-08 17:35:25 +00:00
Tomas Votruba
d05c52724c
Updated Rector to commit a0be8b892d92d5bbbc64713dc8469904a15fe6b0
...
a0be8b892d
[DX] Cleanup type resolvers (#4939 )
2023-09-08 14:06:44 +00:00
Tomas Votruba
e844be2688
Updated Rector to commit feffd813a316ea0d9f1e0dd6ba45b90b88ae72c3
...
feffd813a3
[DX] Hide default symfony commands, show only rector ones (#4938 )
2023-09-08 13:46:57 +00:00
Tomas Votruba
df5f31835a
Updated Rector to commit 099994eb803ebf550ae77bbd5ebcac1263d6571a
...
099994eb80
[DI] introduce boot() method to avoid hacking beforeResolving() closures (#4937 )
2023-09-08 10:19:50 +00:00
Tomas Votruba
fedb3edc8a
Updated Rector to commit e4f1f1bab4d008108bf537ba3877dc2c4e64fa25
...
e4f1f1bab4
[NodeTypeResolver] Handle isObjectType() on new $class dynamic variable should return false compare to Object FQCN (#4936 )
2023-09-07 18:43:32 +00:00
Tomas Votruba
4180102b55
Updated Rector to commit e4f1f1bab4d008108bf537ba3877dc2c4e64fa25
...
e4f1f1bab4
[NodeTypeResolver] Handle isObjectType() on new $class dynamic variable should return false compare to Object FQCN (#4936 )
2023-09-07 18:37:52 +00:00
Tomas Votruba
06e012f8b4
Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
...
2be5a4d492
Simplify AlwaysStrictScalarExprAnalyzer (#4935 )
2023-09-07 13:52:32 +00:00
Tomas Votruba
306ecbf7e3
Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
...
2be5a4d492
Simplify AlwaysStrictScalarExprAnalyzer (#4935 )
2023-09-07 13:28:29 +00:00
Tomas Votruba
d295eb5d0d
Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
...
2be5a4d492
Simplify AlwaysStrictScalarExprAnalyzer (#4935 )
2023-09-07 13:14:55 +00:00
Tomas Votruba
e7578a4299
Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
...
2be5a4d492
Simplify AlwaysStrictScalarExprAnalyzer (#4935 )
2023-09-07 13:09:24 +00:00
Tomas Votruba
4ae2dfa94e
Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
...
2be5a4d492
Simplify AlwaysStrictScalarExprAnalyzer (#4935 )
2023-09-07 12:50:04 +00:00
Tomas Votruba
e30fbabf27
Updated Rector to commit b47adb55f7f7940987078fbe77f5222577a429b4
...
b47adb55f7
[TypeDeclaration] Add non native function return support on ReturnTypeFromStrictScalarReturnExprRector (#4934 )
2023-09-07 11:28:19 +00:00
Tomas Votruba
88f0aaa761
Updated Rector to commit a2c34e0afe8ddd68c2c609c710636ddd3243ae91
...
a2c34e0afe
[TypeDeclaration] Add test fixture return docblock on init method call assign as skipped on ReturnTypeFromStrictNewArrayRector (#4933 )
2023-09-07 10:37:04 +00:00
Tomas Votruba
030adf9f7d
Updated Rector to commit eebc3ce703e0d57794c1dd1823457b272e02403d
...
eebc3ce703
[TypeDeclaration] Ensure ArrayType on ReturnTypeFromStrictNewArrayRector::shouldAddReturnArrayDocType() (#4932 )
2023-09-07 04:43:51 +00:00
Tomas Votruba
549a072c08
Updated Rector to commit fa28385f9b46b0119073fb4209762fce23f8c09a
...
fa28385f9b
Refactor BetterNodeFinder::findFirstInFunctionLikeScoped() to work with SilentVoidResolver (#4931 )
2023-09-07 04:03:06 +00:00
Tomas Votruba
94613faf8f
Updated Rector to commit 54799fc3d3a341643d050d06ecf72b467c8d37e8
...
54799fc3d3
[TypeDeclaration] Skip return after return closure on AddVoidReturnTypeWhereNoReturnRector (#4930 )
2023-09-07 02:10:00 +00:00
Tomas Votruba
087ff4d5eb
Updated Rector to commit e47f63176a7913ff040bfbce75a260a4ec47ceab
...
e47f63176a
[TypeDeclaration] Add init assign method call support on ReturnTypeFromStrictNewArrayRector (#4929 )
2023-09-07 01:50:05 +00:00
Tomas Votruba
73ca9074e0
Updated Rector to commit 2a697f79ecd82e4b59091f59927d8b9315113c18
...
2a697f79ec
[TypeDeclaration] Add fallback return direct array support on ReturnTypeFromStrictNewArrayRector (#4928 )
2023-09-06 19:40:05 +00:00
Tomas Votruba
e6e6042119
Updated Rector to commit 10eb09f02d825d01caf92e2c45c73dddf6aa3430
...
10eb09f02d
[cleanup] Remove deprecated NonPhpRectorInterface, PseudoNamespaceToNamespaceRector and mysql to mysqli sets (#4927 )
2023-09-06 16:03:21 +00:00
Tomas Votruba
55c7e63a09
Updated Rector to commit d3719c2e953f3be1b5b1e0a2eb7ba992b65a8e6d
...
d3719c2e95
[TypeDeclaration] Place ReturnTypeFromStrictFluentReturnRector before ReturnTypeFromReturnNewRector (#4926 )
2023-09-06 14:55:50 +00:00
Tomas Votruba
f36a223be4
Updated Rector to commit aee42009d91dfdca128760fc4b37e09e101db23f
...
aee42009d9
AddVoidReturnTypeWhereNoReturnRector: fix never type handling (#4918 )
2023-09-06 13:12:52 +00:00
Tomas Votruba
51c70b1a6e
Updated Rector to commit eca01b375a62cca2d79ee5a1a7fff1795f3cba11
...
eca01b375a
Trigger Rectify (#4924 )
2023-09-06 12:41:35 +00:00
Tomas Votruba
7866e76540
Updated Rector to commit 15e924988caf800caffddf1906da948138daf44b
...
15e924988c
Faster SilentVoidResolver (#4923 )
2023-09-06 12:33:43 +00:00
Tomas Votruba
01bdd5bff5
Updated Rector to commit c17181453c5493f1ef2e43206759f12d715c18df
...
c17181453c
[TypeDeclaration] Add append in loop support on ReturnTypeFromStrictNewArrayRector (#4922 )
2023-09-06 12:12:53 +00:00
Tomas Votruba
df5f248c87
Updated Rector to commit 233209ade90b075fa18665470163f1128e546472
...
233209ade9
ReturnTypeFromStrictScalarReturnExprRector : Simplify testcase (#4921 )
2023-09-06 12:06:59 +00:00
Tomas Votruba
3cee45fd42
Updated Rector to commit 0d2cdf0c48e4c0608ff4189e176c66aee92c820c
...
0d2cdf0c48
[TypeDeclaration] Use $type->isScalar()->yes() on AlwaysStrictScalarExprAnalyzer (#4920 )
2023-09-06 11:44:15 +00:00
Tomas Votruba
752381df77
Updated Rector to commit c4ea636dcfb0a87f7fa7a7214e80ed98dac2444d
...
c4ea636dcf
[TypeDeclaration] Add return empty string defined support on ReturnTypeFromStrictScalarReturnExprRector (#4919 )
2023-09-06 11:35:48 +00:00
Tomas Votruba
8606564b50
Rector 0.18.2
2023-09-06 08:50:38 +00:00
Tomas Votruba
a4c5e31829
Updated Rector to commit 0abb641afd13ce5e3b9de47cbc099bd2c81ff765
...
0abb641afd
cs
2023-09-05 19:58:08 +00:00
Tomas Votruba
2bbdfcfe3b
Updated Rector to commit a21a3f17578cb8e13505ffe0e797ecfd12e86c4f
...
a21a3f1757
[Cleanup] Remove TypeToCallReflectionResolver as not needed anymore (#4917 )
2023-09-05 19:57:28 +00:00
Tomas Votruba
4c7551da27
Updated Rector to commit aa7282195caab5889ee067ca3fb5eda62f26ed1b
...
aa7282195c
[TypeDeclaration] Add return static object support on ReturnTypeFromStrictFluentReturnRector (#4916 )
2023-09-05 17:03:27 +00:00
Tomas Votruba
dbdeb211ce
Updated Rector to commit 6d009ccad0aacd102fdacba00eb59b32a1104582
...
6d009ccad0
[TypeDeclaration] Add return self object support on ReturnTypeFromStrictFluentReturnRector (#4915 )
2023-09-05 15:48:41 +00:00
Tomas Votruba
2ae279bf07
Updated Rector to commit 093bcb63a19db3fcdab8264897c584212d755463
...
093bcb63a1
[CodeQuality] Add NumberCompareToMaxFuncCallRector (#4914 )
2023-09-05 13:21:31 +00:00
Tomas Votruba
f4213d1e8b
Updated Rector to commit 8c5cfafd4429765fecd1f3db9546cdb9abef080f
...
8c5cfafd44
FamilyRelationsAnalyzer: final classes can't have children (#4913 )
2023-09-05 11:44:54 +00:00
Tomas Votruba
e31a8c2782
Updated Rector to commit 1812281273ff14f76b8b81ab5321ee4b7e656684
...
1812281273
[Performance][Testing] Remove $nodeScopeResolver->setAnalysedFiles() on AbstractRectorTestCase (#4911 )
2023-09-04 19:46:53 +00:00
Tomas Votruba
bdf398ef14
Updated Rector to commit 4a3627e63426e3c590ec21815621f6684ff41f87
...
4a3627e634
[Performance][Testing] Avoid double call FileSystem::read() on AbstractRectorTestCase (#4908 )
2023-09-04 15:47:52 +00:00
Tomas Votruba
491915e31b
Updated Rector to commit 5595f80ed176f93485f50ff6dabad79cedbb72dc
...
5595f80ed1
Update github actions/checkout from v3 to v4 (#4909 )
2023-09-04 14:00:44 +00:00
Tomas Votruba
c5dca33b93
Updated Rector to commit 5919201e137b5ed041eebdf891ff2bada22fddb1
...
5919201e13
StrictArrayParamDimFetchRector: Skip objects (#4907 )
2023-09-04 10:32:52 +00:00
Tomas Votruba
bbc92f1719
Updated Rector to commit 824bb97770867b1584fa7c2398d0d59b7cd4f36e
...
824bb97770
[TypeDeclaration] Skip mixing native + docblock union assign on TypedPropertyFromAssignsRector (#4905 )
2023-09-04 07:41:42 +00:00
Tomas Votruba
575c34ce23
Updated Rector to commit fcf0bc4f04873d34b4854234b9fdf608140e6ae6
...
fcf0bc4f04
[Caching] Remove "Symfony" reference at error message at FileHashComputer (#4906 )
2023-09-04 07:27:29 +00:00
Tomas Votruba
454b838af8
Updated Rector to commit 75717921e8661b5fc6f0ebbffe2e35bd86146202
...
75717921e8
MyCLabs enum equals + keeping methods (#4645 )
2023-09-04 07:26:59 +00:00
Tomas Votruba
d2b56b94e4
Updated Rector to commit dca3e9d6fcef2c5386efacc425d16c6b48a29ebc
...
dca3e9d6fc
Add test case for caching $rectorConfig->rules() changed (#4903 )
2023-09-04 00:16:27 +00:00
Tomas Votruba
dc24af83f9
Updated Rector to commit e203bb4807bbd53e3c4ac3428e78be36f3e18c7d
...
e203bb4807
[Caching] Add VersionResolver::PACKAGE_VERSION to FileHashComputer::compute() so cache cleared on composer update got new version (#4904 )
2023-09-03 22:40:55 +00:00
Tomas Votruba
e4a21c854e
Updated Rector to commit 56b0d65f9d3dd7c85055f18208b6f4a4859c4cc6
...
56b0d65f9d
Fix Rector invalidation in case of changes sets or rules (#4902 )
2023-09-03 17:34:03 +00:00
Tomas Votruba
672d981dee
Updated Rector to commit 955a0acffad2cf81100d9643955ebd3ebc700c4e
...
955a0acffa
cs
2023-09-03 16:44:43 +00:00
Tomas Votruba
d72f4cf839
Updated Rector to commit 04c528e639778905387757ca3f7db6a3e48ac92f
...
04c528e639
Skip identical to false in SimplifyBoolIdenticalTrueRector, as exact comparison is stronger than negated expression (#4901 )
2023-09-03 16:38:10 +00:00
Tomas Votruba
2415d543b0
Updated Rector to commit ca22ab5d024543bc804ec4f52b410aec42901f39
...
ca22ab5d02
Rename constant REFRESHABLE_NODES to NON_REFRESHABLE_NODES (#4900 )
2023-09-03 11:26:42 +00:00
Tomas Votruba
2f2e7aff34
Updated Rector to commit d5f399eee5709932b579d41e3799c3097bbc101f
...
d5f399eee5
[DeadCode] Remove @return void on return self on RemoveUselessReturnTagRector (#4894 )
2023-09-02 19:48:22 +00:00
Tomas Votruba
28c16a1c00
Updated Rector to commit d5f399eee5709932b579d41e3799c3097bbc101f
...
d5f399eee5
[DeadCode] Remove @return void on return self on RemoveUselessReturnTagRector (#4894 )
2023-09-02 15:59:59 +00:00
Tomas Votruba
fc46b4d878
Updated Rector to commit 3243e0efc1b7cab4f4c3f08cb73f16750018bad4
...
3243e0efc1
Add number support to concat EncapsedStringsToSprintfRector (#4898 )
2023-09-02 15:54:43 +00:00
Tomas Votruba
ed2db39d3d
Updated Rector to commit 412d0bd50130f82d8f5388060301a7e1debf50ad
...
412d0bd501
Add single value concat support to EncapsedStringsToSprintfRector (#4897 )
2023-09-02 15:36:16 +00:00
Tomas Votruba
96ad637f7f
Updated Rector to commit 521b6f82ddae9626ad767efdd36c3ad56d9f285a
...
521b6f82dd
Trigger Rectify (#4896 )
2023-09-02 06:01:48 +00:00
Tomas Votruba
8d1ec7b809
Updated Rector to commit 6d7cd13194264e8792a643d4ce88928f7ccc874b
...
6d7cd13194
Simplify isMatchingUnionType() (#4895 )
2023-09-01 18:58:23 +00:00
Tomas Votruba
060f298712
Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
...
65fd2014b2
Fix union type check of object (#4893 )
2023-09-01 17:48:05 +00:00
Tomas Votruba
814e26534d
Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
...
65fd2014b2
Fix union type check of object (#4893 )
2023-09-01 17:12:44 +00:00
Tomas Votruba
cc7b0cd56f
Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
...
65fd2014b2
Fix union type check of object (#4893 )
2023-09-01 15:23:24 +00:00
Tomas Votruba
8848b01ee3
Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
...
c5897e54a6
Fix tests fixture updater (#4892 )
2023-09-01 14:46:57 +00:00
Tomas Votruba
68f1807515
Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
...
c5897e54a6
Fix tests fixture updater (#4892 )
2023-09-01 14:44:12 +00:00
Tomas Votruba
933f88178b
Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
...
c5897e54a6
Fix tests fixture updater (#4892 )
2023-09-01 13:46:47 +00:00
Tomas Votruba
ed860db4e7
Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
...
c5897e54a6
Fix tests fixture updater (#4892 )
2023-09-01 13:35:19 +00:00
Tomas Votruba
326e84f967
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-09-01 11:10:35 +00:00
Tomas Votruba
eeab658669
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-08-31 19:21:20 +00:00
Tomas Votruba
8be31113be
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-08-31 19:02:42 +00:00
Tomas Votruba
3d97937140
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-08-31 16:33:28 +00:00
Tomas Votruba
62fe44207e
Updated Rector to commit 56c84ba714b135a36e7e95fdf53f406b1411461e
...
56c84ba714
[TypeDeclaration] Do not add default value when assigned in __construct() on TypedPropertyFromStrictGetterMethodReturnTypeRector (#4886 )
2023-08-31 11:38:41 +00:00
Tomas Votruba
a3ea8375c9
Updated Rector to commit 4b0a688b8117689c243adc1c8dd18e9512673428
...
4b0a688b81
[TypeDeclaration] skip variadic constructor param of mixed type on AddParamTypeFromPropertyTypeRector (#4887 )
2023-08-31 10:36:02 +00:00
Tomas Votruba
25e5fba435
Updated Rector to commit cf69407e2ff3402abb8a939d79f326f59121b2b4
...
cf69407e2f
Fix missing default string in TypedPropertyFromStrictGetterMethodReturnTypeRector (#4885 )
2023-08-31 08:41:20 +00:00
Tomas Votruba
92fc179e0d
Updated Rector to commit 5f52c69ae04c708be50552b165104b4a919a3ff0
...
5f52c69ae0
[e2e] $rectorConfig->skip() should not skip inside different path over config (#4882 )
2023-08-30 11:40:52 +00:00
Tomas Votruba
5c920d9487
Updated Rector to commit 8b07c8e7de96a3b304b5409f1ef3415a513fee91
...
8b07c8e7de
Add test for merge ruleWithConfiguration() after sets on $isBound usage (#4881 )
2023-08-29 18:08:49 +00:00
Tomas Votruba
d7c5dcb785
Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
...
6424bae725
[TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878 )
2023-08-29 17:02:15 +00:00
Tomas Votruba
89778f7171
Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
...
6424bae725
[TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878 )
2023-08-29 16:56:41 +00:00
Tomas Votruba
97f92edab1
Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
...
6424bae725
[TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878 )
2023-08-29 16:52:48 +00:00
Tomas Votruba
fc984ac23b
Updated Rector to commit ea2252a374c5ce46f6a19f93649aef43634ff997
...
ea2252a374
[Config] Remove $isBound usage as cause empty configuration on RectorConfig (#4880 )
2023-08-29 16:39:24 +00:00
Tomas Votruba
dd35feba0b
Updated Rector to commit beffd07acd0f131b0bad64461ae901fd9bb4e03c
...
beffd07acd
ReturnTypeFromStrictParamRector: Fix typo in test-fixture (#4879 )
2023-08-29 15:55:26 +00:00
Tomas Votruba
4650cf5c21
Updated Rector to commit 7841dc582440c815796e703cf3cf9b3f17f80285
...
7841dc5824
Clean up usused filePath instance check on ApplicationFileProcessor (#4877 )
2023-08-29 07:31:50 +00:00
Tomas Votruba
9e31017a92
Updated Rector to commit 7841dc582440c815796e703cf3cf9b3f17f80285
...
7841dc5824
Clean up usused filePath instance check on ApplicationFileProcessor (#4877 )
2023-08-29 07:20:21 +00:00
Tomas Votruba
ee72ef5426
Rector 0.18.1
2023-08-28 18:01:58 +00:00
Tomas Votruba
cd424deff6
Updated Rector to commit 5d0dd480a6f4d9ec46c7639c20f9e6345f7aa92d
...
5d0dd480a6
skip Removing category from outside any set rule
2023-08-28 17:54:38 +00:00
Tomas Votruba
73a1ef4a72
Updated Rector to commit d8d31debc51ab5df1d30655846bb0fbd9f76039b
...
d8d31debc5
[Performance] Use more performance spl_object_id() (#4876 )
2023-08-28 17:41:52 +00:00
Tomas Votruba
de9ddf6e5d
Updated Rector to commit c03fd2ad2625f1a0cf6a02d9875078b7114381ad
...
c03fd2ad26
[Performance] Avoid spl_object_hash() when has origNode attribute on AbstractRector::leaveNode() (#4875 )
2023-08-28 14:25:05 +00:00
Tomas Votruba
dd562a4b59
Updated Rector to commit 9e8ed6c33f39aa9d7d859fb39b6f2d0344cdea0d
...
9e8ed6c33f
Remove SwapFuncCallArgumentsRector as keeps swaping to infinity, use custom rule instead (#4874 )
2023-08-28 12:45:54 +00:00
Tomas Votruba
1b7113d724
Updated Rector to commit 2f38105001867c15fb1b2001767b37566428719f
...
2f38105001
fix cs
2023-08-28 12:02:21 +00:00
Tomas Votruba
e17db30c80
Updated Rector to commit eac3d467a9ff5ce778bb79b214c39487a6f928f4
...
eac3d467a9
[ProcessAnalyzer] Remove unnecessary hasAttribute(origNode) on RectifiedAnalyzer (#4873 )
2023-08-28 06:24:32 +00:00
Tomas Votruba
dcd7f106fc
Updated Rector to commit 7fc7034ddd58ff23d19bd2ed956ab93fdacfd153
...
7fc7034ddd
Add additional comment for future reference on RectifiedAnalyzer on above node directly use DONT_TRAVERSE_CHILDREN, only on current rule (#4872 )
2023-08-28 05:47:55 +00:00
Tomas Votruba
4844c51a8d
Updated Rector to commit 00e267682a1faf3f8eab4208271f508b813ce4d3
...
00e267682a
Clean up double set attribute on AbstractRector (#4871 )
2023-08-28 05:43:22 +00:00
Tomas Votruba
025bdb2a5f
Updated Rector to commit 9be0ac335782f52be36535eb29f30df87bee42c2
...
9be0ac3357
[Performance] No need to traverseNodesWithCallable() when only single node types on decorateCurrentAndChildren (#4870 )
2023-08-28 05:35:05 +00:00
Tomas Votruba
edd0b488c3
Updated Rector to commit 684a317c5116bf60d43080ad62af7ae73c221894
...
684a317c51
[Php55][Renaming] Handle rename string on combination StringClassNameToClassConstantRector+RenameStringRector (#4869 )
2023-08-28 05:28:50 +00:00
Tomas Votruba
08c1a94075
Updated Rector to commit 1c56aa9bdad38af386edd67f45405d641da37ed5
...
1c56aa9bda
[ProcessAnalyzer] Remove phpstan_cache_printer tweak check on RectifiedAnalyzer (#4868 )
2023-08-28 04:06:37 +00:00
Tomas Votruba
6e87ca12f5
Updated Rector to commit 87344c79fd4d367462cf7cb9cc0953f30b3cf684
...
87344c79fd
Clean up compare null on $toBeRemovedNodeHash on AbtractRector (#4867 )
2023-08-27 17:05:13 +00:00
Tomas Votruba
476b7f9e08
Updated Rector to commit c435754bd2447a4048742a1c1f7a7df8a4cdd51b
...
c435754bd2
clean up docblock on $nodesToReturn property on AbstractRector (#4866 )
2023-08-27 17:00:25 +00:00
Tomas Votruba
d47a3cb197
Updated Rector to commit 7e4a920a8aeab9d49bed2625ac160d4bac4eb932
...
7e4a920a8a
[Performance] Only save nodesToReturn[$objectHash] on return array of nodes on AbstractRector (#4865 )
2023-08-27 15:41:04 +00:00
Tomas Votruba
b1fc9b0f15
Updated Rector to commit 7e4a920a8aeab9d49bed2625ac160d4bac4eb932
...
7e4a920a8a
[Performance] Only save nodesToReturn[$objectHash] on return array of nodes on AbstractRector (#4865 )
2023-08-27 15:31:02 +00:00
Tomas Votruba
2048db3e08
Updated Rector to commit 3f5ff9ec439f0b6b5a4c8a02748aac8b19ac17a4
...
3f5ff9ec43
Revert "Better approach leaveNode() check Stmt to non Stmt handling on AbstractRector (#4863 )" (#4864 )
2023-08-27 15:05:22 +00:00
Tomas Votruba
89f1ce8f10
Updated Rector to commit 4e75e84f92608d7bd8db99d13a1494da6e424090
...
4e75e84f92
Add test for change Stmt to different Stmt (#4862 )
2023-08-27 14:19:02 +00:00
Tomas Votruba
421b970b76
Updated Rector to commit 3199e0a00c19bbdbd4ac59f10b4368657b70cfd1
...
3199e0a00c
[ProcessAnalyzer] Skip process when origNode class is not equal with target node class (#4861 )
2023-08-27 13:26:22 +00:00
Tomas Votruba
2473beec4a
Updated Rector to commit 7d9c9111eb140283f77aa7ddeb57066e035de614
...
7d9c9111eb
[automated] Apply Coding Standard (#4860 )
2023-08-27 00:28:44 +00:00
Tomas Votruba
35b66505ec
Updated Rector to commit 857e7a5604df3c36f85ea2702c066744a17728f7
...
857e7a5604
[Scoped] Do not downgrade vendor/rector-*/config (#4859 )
2023-08-26 13:52:10 +00:00
Tomas Votruba
3982c504e9
Updated Rector to commit f64cb7b3f8467fe5e6509f0651017a6dabc1fd47
...
f64cb7b3f8
Revert "Pin react/socket to 1.13 (#4855 )" (#4856 )
2023-08-26 09:10:09 +00:00
Tomas Votruba
0728ba3ce0
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-26 06:01:40 +00:00
Tomas Votruba
3be5dc788b
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-26 03:10:37 +00:00
Tomas Votruba
5fdba3c8f0
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-26 02:10:45 +00:00
Tomas Votruba
33326d3cb4
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-26 01:30:33 +00:00
Tomas Votruba
909b93c7f2
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-25 17:57:39 +00:00
Tomas Votruba
e44653703c
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-25 16:57:25 +00:00
Tomas Votruba
f5e2367b07
Updated Rector to commit 20133824b6589f2259982d75d052cf7be3be8182
...
20133824b6
[DX] Remove double call $configuration->getFileExtensions() on FileFactory (#4851 )
2023-08-25 16:24:26 +00:00
Tomas Votruba
9ab8c34a91
Updated Rector to commit a2c2046ba856be0346f69887e3fa0b75c4febfa9
...
a2c2046ba8
replaces `get_headers` $associative with bool (#4850 )
2023-08-25 07:04:35 +00:00
Tomas Votruba
e6eb064594
Updated Rector to commit 9a07a7b35cc3ad4d0f1fcd60db728109d6196541
...
9a07a7b35c
[DX] Display rule count in list-rules (#4848 )
2023-08-24 17:27:26 +00:00
Tomas Votruba
307620097c
Updated Rector to commit f8ed35cddd0bd97601ff7fa559841d74ba6bcee0
...
f8ed35cddd
Bump to PHPStan 1.10.31 (#4849 )
2023-08-24 16:59:52 +00:00
Tomas Votruba
2142e5018e
Updated Rector to commit 3c34942dc98015298c9aa3fdb0369190937021d8
...
3c34942dc9
Revert "Revert "use NewOptimizedDirectorySourceLocator"" (#4846 )
2023-08-24 16:53:49 +00:00
Tomas Votruba
a28209cafc
Updated Rector to commit dce10846395c476ad300274c266545153a5fd7ad
...
dce1084639
Temporary pin to phpstan 1.10.30 (#4847 )
2023-08-24 16:34:09 +00:00
Tomas Votruba
562d3d830d
Updated Rector to commit dce10846395c476ad300274c266545153a5fd7ad
...
dce1084639
Temporary pin to phpstan 1.10.30 (#4847 )
2023-08-24 16:25:15 +00:00
Tomas Votruba
b19f667a5b
Updated Rector to commit 21f33de2b90c0e63d42c3ebebef7cf4415191a21
...
21f33de2b9
Recreate to exact Expr node instead of printing when possible on AddParamBasedOnParentClassMethodRector take 2 (#4842 )
2023-08-24 10:28:16 +00:00
Tomas Votruba
6da4ac4e2a
Updated Rector to commit 295156cba171ce9685cd26e73490fd7d7b2001b1
...
295156cba1
[Traverser] Set explicitely nodeConnectingVisitorCompatibility: false config in config/phpstan/static-reflection.neon (#4841 )
2023-08-24 07:18:13 +00:00
Tomas Votruba
44c00ca135
Updated Rector to commit 75f2cbcae34c7c50fee8d4c3860d9a70e45438bd
...
75f2cbcae3
[PHPStan] Avoid removing bleeding edge from phar include, let user handle own phpstan configuration (#4840 )
2023-08-23 15:35:55 +00:00
Tomas Votruba
3e344a5749
Updated Rector to commit 5de9824db5006d0e6d9e9e60a2a1c439ff7adb6e
...
5de9824db5
[Performance][Php80] Avoid print on Expr when possible on AddParamBasedOnParentClassMethodRector (#4839 )
2023-08-23 13:42:14 +00:00
Tomas Votruba
20bb3755f5
Updated Rector to commit 15ddec30da5ca9996fa56949e35ec9a190c72bf3
...
15ddec30da
[Php73][Php80] Handle empty long array syntax default value on SensitiveConstantNameRector+AddParamBasedOnParentClassMethodRector (#4837 )
2023-08-23 13:24:46 +00:00
Tomas Votruba
f3e1fd5fad
Updated Rector to commit ce87fc223b14aed6cef72ac79e00f4bee6afbbbb
...
ce87fc223b
[Config] Add merging of rules configuration, call configure() just once (#4838 )
2023-08-23 13:20:40 +00:00
Tomas Votruba
ef0d7bee6c
Updated Rector to commit 4b34887e678f90e4d9a8b4838333091465c28dc7
...
4b34887e67
[Php80] Handle crash parent default empty array/string param on AddParamBasedOnParentClassMethodRector (#4833 )
2023-08-23 11:33:01 +00:00
Tomas Votruba
4878abddc8
Updated Rector to commit 4163578c36fff9b049f1a3da51570fc5f62e3794
...
4163578c36
Bump dev dependencies (#4836 )
2023-08-23 11:09:41 +00:00
Tomas Votruba
7de965b307
Updated Rector to commit d89512aeba51d9def86012ef84ee66e1062e1c4f
...
d89512aeba
[Config] Handle $rectorConfig->import() with wildcards * config (#4832 )
2023-08-23 10:58:01 +00:00
Tomas Votruba
b388569c60
Updated Rector to commit 2864cbe80ab411dde3bafa28f99883c0878969f7
...
2864cbe80a
Remove deprecated FileProcessorInterface (#4835 )
2023-08-23 10:40:53 +00:00
Tomas Votruba
f2f66bf17c
Updated Rector to commit c73bc294a61249c7e7f35581cebd29864e49385a
...
c73bc294a6
[tests] Improve resetable interface call (#4834 )
2023-08-23 10:02:05 +00:00
Tomas Votruba
994dcc7c44
Updated Rector to commit 37be2c2268a7251c4d422e7c6a607d8931459731
...
37be2c2268
[PostRector] strtolower() early on UseNodesToAddCollector (#4830 )
2023-08-21 15:15:26 +00:00
Tomas Votruba
429b44fab4
Updated Rector to commit cdccb5199ddc160fb7945879cf1403f1c7289770
...
cdccb5199d
[AutoImport] Handle case insensitive name collide on auto import (#4829 )
2023-08-21 15:08:37 +00:00
Tomas Votruba
31a33d3c1b
Updated Rector to commit 79d806c87a7b3df9ec8acc611178dd3cdd8c8d28
...
79d806c87a
[BetterPhpDocParser] Run PhpDocNodeTraverser->traverse() once take 2 (#4828 )
2023-08-21 13:57:21 +00:00
Tomas Votruba
5d038060f5
Updated Rector to commit c5fab3a83132e3408eba419e8269b94124c53495
...
c5fab3a831
[CI] Narrow tests to single job, as now takes 20 s 🚀 (#4827 )
2023-08-21 13:39:02 +00:00
Tomas Votruba
fbd33e5f98
Updated Rector to commit 45aababfbcf23f7ab3765376d6f04a3aee113e8a
...
45aababfbc
[TypeDeclaration] Add new array replaced with array on ReturnTypeFromStrictNewArrayRector (#4825 )
2023-08-21 09:37:33 +00:00
Tomas Votruba
a3856d782f
Updated Rector to commit 4a869b9b104dc81adef4441025787c0c3411d4d6
...
4a869b9b10
bump PHPUnit printer to optional (#4826 )
2023-08-21 09:28:35 +00:00
Tomas Votruba
def86c6e48
Updated Rector to commit 45aababfbcf23f7ab3765376d6f04a3aee113e8a
...
45aababfbc
[TypeDeclaration] Add new array replaced with array on ReturnTypeFromStrictNewArrayRector (#4825 )
2023-08-21 09:28:31 +00:00
Tomas Votruba
2704731a87
Updated Rector to commit fa6bad20abb4f5b8fd2bee31439171628a353658
...
fa6bad20ab
[DX] Add optional testdox/pest like output to get exact test metrics per unit test fixture (#4821 )
2023-08-21 07:12:04 +00:00
Tomas Votruba
cfc8e32b1a
Updated Rector to commit bf4cfa566386963da42447dbad93c5d6a94b5b93
...
bf4cfa5663
[PHPUnit] Fix extreemely slow PHPUnit run on data providers with objects (#4823 )
2023-08-20 17:46:04 +00:00
Tomas Votruba
98e671cd4d
Updated Rector to commit bdad8bd4a5e4cdbcd65bdf942119750e0c7be1a8
...
bdad8bd4a5
[Experiment] Try running doc node traverser just once (#4822 )
2023-08-20 12:44:53 +00:00
Tomas Votruba
55f14a766b
Updated Rector to commit bdad8bd4a5e4cdbcd65bdf942119750e0c7be1a8
...
bdad8bd4a5
[Experiment] Try running doc node traverser just once (#4822 )
2023-08-20 11:20:02 +00:00
Tomas Votruba
02e78f5827
Updated Rector to commit 74d918832653f922fc7f81c8d9369031c5de6fc9
...
74d9188326
Fix downgrade build (#4820 )
2023-08-20 10:53:26 +00:00
Tomas Votruba
c9318c9c37
Updated Rector to commit 74d918832653f922fc7f81c8d9369031c5de6fc9
...
74d9188326
Fix downgrade build (#4820 )
2023-08-20 10:35:10 +00:00
Tomas Votruba
69a95d55f9
Updated Rector to commit cdc70aa3a5063c82760080bc4474c2fb36db1b3b
...
cdc70aa3a5
[automated] Apply Coding Standard (#4816 )
2023-08-20 00:26:59 +00:00
Tomas Votruba
fdac720de2
Updated Rector to commit 87c677e7c304845c18ce1ccfb135aefab85b3bf4
...
87c677e7c3
[DX] Add ExprScopeFromStmtNodeVisitor, move logic deep Expr from ScopeAnalyzer to it (#4815 )
2023-08-19 15:00:46 +00:00
Tomas Votruba
60feccd21a
Updated Rector to commit 0477f5bf115172a4abf3f5ec1cef9613d31ba21c
...
0477f5bf11
[DX] Remove PHPStanNodeScopeResolver::processNodesWithDependentFiles() method (#4814 )
2023-08-19 14:25:13 +00:00
Tomas Votruba
ca844057bc
Updated Rector to commit dc489abc6e5c7ef4de847bd9a9bcae0bd67a75a2
...
dc489abc6e
fix missed cleanup
2023-08-18 12:48:45 +00:00
Tomas Votruba
518a2bb0b1
Updated Rector to commit 3a15da7e8418045eea79697271a91a0d1ddf035f
...
3a15da7e84
typo
2023-08-18 12:43:06 +00:00
Tomas Votruba
8c53c7470b
Updated Rector to commit 216108b6d9e24cf4f3f829fe5a67133c8564d23d
...
216108b6d9
[DX] Merge PhpRectorInterface to RectorInterface as identical contract and separation no longer needed (#4812 )
2023-08-18 12:27:46 +00:00
Tomas Votruba
8d42e37dfd
Updated Rector to commit 00f736f054372cca311469fec02b46edd5159b9a
...
00f736f054
Fix RenamePropertyToMatchTypeRector to skip Laravel collections and avoid accident rename (#4811 )
2023-08-18 09:06:56 +00:00
Tomas Votruba
7ad16ccd68
Updated Rector to commit 5363a676265cbe868f4ecc6bde8c6a99b213d028
...
5363a67626
AddReturnTypeDeclarationBasedOnParentClassMethodRector: don't trust phpdoc types (#4810 )
2023-08-17 15:17:47 +00:00
Tomas Votruba
df751a94e8
Updated Rector to commit 8d74e1c8c249ba279dfaaf714d8b43aa41b55a7c
...
8d74e1c8c2
Skip PHPDoc return type in AddReturnTypeDeclarationBasedOnParentClassMethodRector (#4809 )
2023-08-17 15:01:26 +00:00
Tomas Votruba
9d3486b554
Updated Rector to commit b7d8787a257e94da73348cace71d2384bcc97930
...
b7d8787a25
remove fixture
2023-08-17 14:07:55 +00:00
Tomas Votruba
30fbb286cf
Updated Rector to commit b7d8787a257e94da73348cace71d2384bcc97930
...
b7d8787a25
remove fixture
2023-08-17 13:40:54 +00:00
Tomas Votruba
9978b1b0b0
Updated Rector to commit 7303254f4802190fc98e1f4d2802ccb275bb59da
...
7303254f48
Add deprecation warning for FileProcessorInterface (#4808 )
2023-08-17 12:53:32 +00:00
Tomas Votruba
758ada29b5
Rector 0.18.0
2023-08-17 12:53:22 +00:00
Tomas Votruba
b8fef75121
Updated Rector to commit dc580ae1bb540eed78d915db46168b39c1469b42
...
dc580ae1bb
Fix skip() Rector class, make container forget it comleteely (#4807 )
2023-08-17 11:14:54 +00:00
Tomas Votruba
a2d4674549
Updated Rector to commit 9e19ff6b2fb081799d74a9ef6a4c068c2e7a5a01
...
9e19ff6b2f
cs
2023-08-17 10:16:38 +00:00
Tomas Votruba
314c192af3
Updated Rector to commit bbd2e81b171f50d05ef73d63518cb1a31fdd7cd5
...
bbd2e81b17
Merge many Skipper tests to one, cleanup phpstan errors (#4806 )
2023-08-17 10:13:30 +00:00
Tomas Votruba
64b92c8654
Rector 0.17.14
2023-08-17 09:45:26 +00:00
Tomas Votruba
266669789d
Updated Rector to commit a85997a277c3227652eb9b2a6571fd01d183a5a7
...
a85997a277
Faster AddParamBasedOnParentClassMethodRector (#4805 )
2023-08-17 09:06:25 +00:00
Tomas Votruba
7e217a5d21
Updated Rector to commit 2604a47c32dd8606349a1724122977c8b2fa6bf9
...
2604a47c32
Faster AddReturnTypeDeclarationBasedOnParentClassMethodRector (#4804 )
2023-08-17 09:03:10 +00:00
Tomas Votruba
e7a7a2390b
Updated Rector to commit 81caf1ea0dd2a204e8e209f3f1adab13448b2f9d
...
81caf1ea0d
remove defaults() BC method, as already covered in services() (#4802 )
2023-08-17 06:41:01 +00:00
Tomas Votruba
588afe61b0
Updated Rector to commit 58c67ff2e2b51e9de9fd399cc4c7756ca8ad3ed9
...
58c67ff2e2
[DX] Make use of addParameter() (#4801 )
2023-08-16 21:55:34 +00:00
Tomas Votruba
1f6016e697
Updated Rector to commit 41de61755c1f982ec554b6037a724abe708bfa27
...
41de61755c
Add possibility to add multiple phpstan configs (#4798 )
2023-08-16 21:49:50 +00:00
Tomas Votruba
2ec1804078
Updated Rector to commit a6532a2f295056321924f67b110e79411b95aa50
...
a6532a2f29
[DI] Add symfony config BC warnings layer, to inform about an upgrade (#4800 )
2023-08-16 18:14:23 +00:00
Tomas Votruba
3fc5ae2dea
Updated Rector to commit 04f332aaff53d2cda434b5051373aa0311683747
...
04f332aaff
[TypeDeclaration] Remove USE_PHPDOC constant on AddVoidReturnTypeWhereNoReturnRector since no longer used (#4799 )
2023-08-16 16:42:25 +00:00
Tomas Votruba
4930b08d44
Updated Rector to commit e7f551069cd3efc29ccd7089f432f22556f52b0c
...
e7f551069c
fix
2023-08-15 23:57:05 +00:00
Tomas Votruba
a267280daf
Updated Rector to commit 6cf9a544edb1bf6e432e9e4f0767c83eea77e76e
...
6cf9a544ed
keep trigger_deprecation function
2023-08-15 23:44:55 +00:00
Tomas Votruba
0dc3d6f51c
Updated Rector to commit de97b987257a4de435af72252ec2186c5b20c139
...
de97b98725
require deprectaion contracts
2023-08-15 23:43:04 +00:00
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
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
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
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
Tomas Votruba
e8bb28427d
Updated Rector to commit 6ccf61e8efc61eb445e38c90ff4ccdb7ad9a9c1f
...
6ccf61e8ef
[DX] Add simple parmater provider hash (#4742 )
2023-08-09 15:39:50 +00:00
Tomas Votruba
ce7b821341
Updated Rector to commit defd4e28f80c0d022fe83a820d7f0d9057305d41
...
defd4e28f8
[DX] Avoid supporting edge-case multi-layered comments, must be covered in php-parser itself (#4743 )
2023-08-09 15:06:44 +00:00
Tomas Votruba
b8ff28ebbf
Updated Rector to commit 484a38bf6276567f6810338d2974b43533da199d
...
484a38bf62
[DX] Cleanup covered multline doc printer test (#4740 )
2023-08-09 14:42:02 +00:00
Tomas Votruba
36616ec18c
Updated Rector to commit fcfddd9408e2d678c4b9ab6c5c9fa77e90228b73
...
fcfddd9408
[DX] Reduce getFilePath() call on AbstractRector (#4741 )
2023-08-09 14:28:01 +00:00
Tomas Votruba
52d316d0f0
Updated Rector to commit ed7426f02db446090399165a884ea7082e160d50
...
ed7426f02d
[Logging] Add RectorOutput logging service (#4736 )
2023-08-09 14:19:55 +00:00
Tomas Votruba
1608c34bc1
Updated Rector to commit f8fb15c0ba8578933b958bcd079a066b5471c5be
...
f8fb15c0ba
cleanup spaces (#4739 )
2023-08-09 14:05:08 +00:00
Tomas Votruba
b2bd597e06
Updated Rector to commit 036cddbcb609f5631f3e52fe88d20681cb3ea44d
...
036cddbcb6
[DX] Ensure file processors are unique to avoid double run (#4737 )
2023-08-09 13:53:55 +00:00
Tomas Votruba
489106fbd3
Updated Rector to commit 7ebdc9fb6004d687f80d346c69ec868206a1a5f0
...
7ebdc9fb60
[DX] Keep parameter pure file paths (#4738 )
2023-08-09 13:52:33 +00:00
Tomas Votruba
86016b833d
Updated Rector to commit 31ad417ee444a31ed1ca07c54e9dddac2404fc1b
...
31ad417ee4
Make relativeFilePathFromDirectory() private as used only locally (#4735 )
2023-08-09 13:19:45 +00:00
Tomas Votruba
7c1470fadd
Updated Rector to commit 6b84177a797f708f5abe2f69befe43d696e32ba5
...
6b84177a79
[DX] Add ProcessConfigureDecorator to avoid superfluous composition (#4734 )
2023-08-09 13:17:04 +00:00
Tomas Votruba
8c38570f22
Updated Rector to commit 6942dabb36d6687b1f9a77eff1a357dd2acfbf47
...
6942dabb36
[DX] Move RectifiedAnalyzer to Skipper service (#4733 )
2023-08-09 13:07:19 +00:00