Tomas Votruba
2e39614116
Updated Rector to commit 26a368c89ba8297d33600aa5a1c954d2a1b5d274
...
26a368c89b
Fix ReturnBinaryOrToEarlyReturnRector mixing up returned nodes of array, hook into StmtsAwareInterface instead to keep next Rector rules updated (#4476 )
2023-07-11 15:35:53 +00:00
Tomas Votruba
474e8a76ec
Updated Rector to commit 28412a49f7bd52094196e659ec0c68f9642c08b1
...
28412a49f7
[Naming] Skip used on next foreach on RenameForeachValueVariableToMatchExprVariableRector (#4469 )
2023-07-10 10:56:25 +00:00
Tomas Votruba
2d46a8afb9
Updated Rector to commit 5b64258e7c9628d80fa3247a698c646def55dca4
...
5b64258e7c
[DeadCode] Skip used defined in extract() on RemoveNonExistingVarAnnotationRector (#4468 )
2023-07-10 09:23:28 +00:00
Tomas Votruba
3f51587157
Updated Rector to commit 3cc636540bccf0fc647ff13e1bea212c6bfa4962
...
3cc636540b
[CodingStyle] Using in_array() instead of double loop on UseImportsRemover (#4467 )
2023-07-09 23:56:37 +00:00
Tomas Votruba
9bef88551a
Updated Rector to commit a771c5621971eb1c527c75de17119a82ac8294e6
...
a771c56219
[DX] Remove autowrapping of expr/stmt to make return values in the same type and reliable (#4466 )
2023-07-09 17:30:30 +00:00
Tomas Votruba
001414980a
Updated Rector to commit 14089145f699c64437b484209998963d3c75b0a1
...
14089145f6
[Rector] Skip used after TryCatch on RemoveUnusedVariableInCatchRector (#4459 )
2023-07-09 13:58:38 +00:00
Tomas Votruba
994045415a
Updated Rector to commit ad7d9b12ea0fa8bba78be8d0348daa6ecffe3abe
...
ad7d9b12ea
[DX] Always init $this->hasChanged on Rector rule to ensure the flag is reset on same call on different file (#4454 )
2023-07-09 11:49:50 +00:00
Tomas Votruba
50857a197a
Updated Rector to commit 5ed67fb6cfd7bdb79ac993797123f25e78d61d11
...
5ed67fb6cf
Cleanup RenameForeachValueVariableToMatchExprVariableRector (#4453 )
2023-07-09 11:25:27 +00:00
Tomas Votruba
a319accada
Updated Rector to commit d706d342846639545e2a19eadd618fac31751417
...
d706d34284
Make JsonThrowOnErrorRector work with local scope to detect error_json methods (#4451 )
2023-07-09 11:07:02 +00:00
Tomas Votruba
bc1a862545
Updated Rector to commit cfc88dc019bc47deb44280e14940af355dfd1e81
...
cfc88dc019
[DX] Check only for current scope in RemoveUnusedVariableInCatchRector, as… magic exception use is bad practise and should be avoided (#4449 )
2023-07-09 10:41:20 +00:00
Tomas Votruba
2d4dfa7604
Updated Rector to commit ce03029084e1d8c860de15ee6fcfef8f6f35dbdb
...
ce03029084
[DeadCode] Remove RemoveJustVariableAssignRector as often done on purpose or with side effect (#4450 )
2023-07-09 10:36:52 +00:00
Tomas Votruba
0c4f4be946
Updated Rector to commit 33019ba2ff8abfa658b998db5a7ca88f2fa87da3
...
33019ba2ff
[MysqlToMysqli] Deprecate set, as dangerous to use, better handle manually (#4448 )
2023-07-09 09:46:05 +00:00
Tomas Votruba
46ce317aa4
Updated Rector to commit 14081fecec9a9079c6ec279b383f8ade48f2b990
...
14081fecec
Add inside array item marker to remove PARENT_NODE from downgrade (#4447 )
2023-07-09 08:23:58 +00:00
Tomas Votruba
b0309e26cf
Updated Rector to commit 919f5d4ababb95e3cf9167926e81c65939d70bf3
...
919f5d4aba
[Renaming] Remove parent attribute on ClassRenamer (#4446 )
2023-07-09 02:51:17 +00:00
Tomas Votruba
c7f7cb60df
Updated Rector to commit c8da7a564d3d5719b475e93e8c7d30b5db73aa75
...
c8da7a564d
[Renaming] Remove check exists in Use_ on ClassRenamer (#4445 )
2023-07-09 02:09:11 +00:00
Tomas Votruba
0e1f48fb00
Updated Rector to commit 3b6084dec770faeb7fca657b6f1ab6898a0801d5
...
3b6084dec7
[Php72] Remove parent attribute on AnonymousFunctionFactory (#4443 )
2023-07-09 01:45:20 +00:00
Tomas Votruba
c86937fb6b
Updated Rector to commit b9ace5f53f1640ab947922957e8179b2b50ff2cd
...
b9ace5f53f
[PHP 8] Resources object upgrade - remove 2 rules as the upgrade require wholesome manual work (#4442 )
2023-07-08 22:49:07 +00:00
Tomas Votruba
bea2685039
Updated Rector to commit 2f1d4d3e66e896531cbfe6958307b451e972a624
...
2f1d4d3e66
Make RemoveNonExistingVarAnnotationRector simpler, skip compact() check as not generic (#4439 )
2023-07-08 21:56:17 +00:00
Tomas Votruba
8028d6a7ce
Updated Rector to commit ac63f2a6261963e8a7d353474b7c20311a72ded3
...
ac63f2a626
[NodeTypeResolver] Remove type detection from parent FunctionLike docblock on ParamTypeResolver (#4441 )
2023-07-08 21:50:41 +00:00
Tomas Votruba
7912b23087
Updated Rector to commit 2f1d4d3e66e896531cbfe6958307b451e972a624
...
2f1d4d3e66
Make RemoveNonExistingVarAnnotationRector simpler, skip compact() check as not generic (#4439 )
2023-07-08 21:50:21 +00:00
Tomas Votruba
830b50116f
Updated Rector to commit 951fb8be8f890b118b87858d45afc93f2cd9a29c
...
951fb8be8f
[DX] Remove findParentType() method (#4438 )
2023-07-08 20:40:11 +00:00
Tomas Votruba
811311089b
Updated Rector to commit 6daf93e54524b24be9b2d79edca98d97b6c2ae32
...
6daf93e545
[NodeAnalyzer] Remove find first previous on CallAnalyzer (#4434 )
2023-07-07 16:13:45 +00:00
Tomas Votruba
d53aabefd9
Updated Rector to commit 1d0feb251132d3b766945bc80d8f914c5279277f
...
1d0feb2511
[DX] Lower readonly PropertyManipulator complexity (#4429 )
2023-07-06 21:07:00 +00:00
Tomas Votruba
4ded5a660a
Updated Rector to commit 9df1445de8c8cb5eed5a85446628226f9b03ed76
...
9df1445de8
[DX] Remove SimplifyForeachToArrayFilterRector as it turns typed functions to string and make code worse (#4424 )
2023-07-05 15:32:48 +00:00
Tomas Votruba
67e1d2d61c
Updated Rector to commit 3fa4bec792258ae18bf56c665d5ec3fa4938d475
...
3fa4bec792
[Renaming] Remove Scope filling from Name node on PHPStanNodeScopeResolver for RenameClassRector (#4422 )
2023-07-05 12:18:11 +00:00
Tomas Votruba
e534d832ec
Updated Rector to commit b4ff32ef246fe2c36351701995759ee4fc21f370
...
b4ff32ef24
[TypeDeclaration] Remove aliased object type from MethodCall/StaticCall on ObjectTypeSpecifier (#4421 )
2023-07-05 09:25:45 +00:00
Tomas Votruba
7251a47b0d
Updated Rector to commit 93a4b2b15eec15c506ae55c25b23a40dd0390cff
...
93a4b2b15e
[NodeTypeResolver] Remove parent attribute on PHPStanNodeScopeResolver for after UnreachableStatementNode detector (#4415 )
2023-07-04 08:36:47 +00:00
Tomas Votruba
1f28e1c52a
Updated Rector to commit 708cc4fb49562e19a98849abd50216048b1f48ba
...
708cc4fb49
[TypeDeclaration] Handle crash on no namespace with + operation on DeclareStrictTypesRector (#4414 )
2023-07-03 17:30:02 +00:00
Tomas Votruba
d16d5ab29c
Updated Rector to commit 3bd0e9faa5e015df82ccf511e248b5ca3d168b33
...
3bd0e9faa5
[DeadCode] Skip used as closure on RemoveUnusedPrivateMethodRector (#4413 )
2023-07-03 16:48:28 +00:00
Tomas Votruba
54dbeae92c
Updated Rector to commit ddc3d946366d72d91ef608b08ccd6f3e17eed830
...
ddc3d94636
[DX] Make use of SimpleParameterProvider::provideIntParameter() (#4409 )
2023-07-03 15:00:57 +00:00
Tomas Votruba
e055ea60b8
Updated Rector to commit 2502fe2e92aa8fcee621b2aa3eb2a1cfdf2b0621
...
2502fe2e92
[Php82] Skip extends unknown class on ReadonlyClassRector (#4408 )
2023-07-03 14:56:15 +00:00
Tomas Votruba
493a57e478
Updated Rector to commit df5a7bbfbf4e01f4b485603bacab0f1fd807b7f7
...
df5a7bbfbf
[DX] Kick of SimpleParameterProvider (#4405 )
2023-07-03 13:55:43 +00:00
Tomas Votruba
2d92d14602
Updated Rector to commit 265f3ac2eca7287556b176ea428fa5f36fdef93c
...
265f3ac2ec
Fix NumericReturnTypeFromStrictScalarReturnsRector for non-natively-typed parameters (#4380 )
2023-07-03 08:34:34 +00:00
Tomas Votruba
d403caf40e
Updated Rector to commit 66a9bcff33fce09aff972693263c04cc4cdd3604
...
66a9bcff33
[EarlyReturn] Remove findFirstNext() on InvertedIfFactory (#4399 )
2023-07-01 17:58:08 +00:00
Tomas Votruba
872db0f1a4
Updated Rector to commit 9f6e80e2901da6caf3c77c4b7cb06cb384042238
...
9f6e80e290
[StaticTypeMapper] Remove parent attribute usage on FullyQualifiedNodeMapper (#4395 )
2023-07-01 13:47:28 +00:00
Tomas Votruba
6981c70c9a
Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
...
9ed8c21b12
[DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388 )
2023-07-01 09:41:56 +00:00
Tomas Votruba
1d37efe8d7
Updated Rector to commit 8c9d630a27e6b3c3b76b31bd8ce96db14c7e8800
...
8c9d630a27
[ReadWrite] Reduce parent lookup on ReadWritePropertyAnalyzer (#4387 )
2023-06-30 19:13:32 +00:00
Tomas Votruba
6ce9445bdc
Updated Rector to commit 8040759d5fff1d9f9e5ca933dedad256d16bc571
...
8040759d5f
[TypeDeclaration] Skip guarded by parent on StrictArrayParamDimFetchRector (#4386 )
2023-06-30 18:35:54 +00:00
Tomas Votruba
687d1218b1
Updated Rector to commit 8324cf427656e1d81f8c0e782885ca65bf592481
...
8324cf4276
[TypeDeclaration] Add StrictArrayParamDimFetchRector (#4384 )
2023-06-30 16:33:30 +00:00
Tomas Votruba
5db0586b82
Updated Rector to commit 205df9013af5e05034441aa6088599532f5fef05
...
205df9013a
[TypeDeclaration] Add Encapsed string support to AlwaysStrictScalarExprAnalyzer (#4382 )
2023-06-30 11:59:36 +00:00
Tomas Votruba
f77ffbaf00
Updated Rector to commit 205df9013af5e05034441aa6088599532f5fef05
...
205df9013a
[TypeDeclaration] Add Encapsed string support to AlwaysStrictScalarExprAnalyzer (#4382 )
2023-06-30 10:58:35 +00:00
Tomas Votruba
107ce57c77
Updated Rector to commit 29dc5843a88dfec821312c9e2d1725e9cc57b9e2
...
29dc5843a8
Add float mul integer type to NumericReturnTypeFromStrictScalarReturnsRector (#4376 )
2023-06-29 15:56:31 +00:00
Tomas Votruba
6e8d9f01fe
Updated Rector to commit 9ff238819b2cfed103b30766d2c0e33135abed38
...
9ff238819b
apply cs
2023-06-29 10:02:47 +00:00
Tomas Votruba
bbcd259217
Updated Rector to commit 6947eb7c4cf8cefe0e7a4cb95bbae23ab64362bd
...
6947eb7c4c
[NodeTypeResolver] Only use FileWithoutNamespaceNodeTraverser once on NodeScopeAndMetadataDecorator (#4369 )
2023-06-27 20:26:20 +00:00
Tomas Votruba
a3231bb81d
Updated Rector to commit 40a1f34b12c548f7be05f02a084be54e8374a58a
...
40a1f34b12
[Naming] Remove parent lookup on UseImportsResolver (#4367 )
2023-06-27 17:32:34 +00:00
Tomas Votruba
8264d403d3
Updated Rector to commit b408d9e7cdec8dadcee766681b8bd8185da55097
...
b408d9e7cd
Skip argument if value equals default value (#4368 )
2023-06-27 15:24:30 +00:00
Tomas Votruba
d90547ba8c
Updated Rector to commit 14d5c18788067f9f75fe234071814aabf42c41b1
...
14d5c18788
Fix just assigned variable in InlineArrayReturnAssignRector (#4363 )
2023-06-27 10:06:39 +00:00
Tomas Votruba
ff810186aa
Updated Rector to commit a653146486eea313a569bd84a19e6ebaec7015d9
...
a653146486
avoid including copiler extension stub
2023-06-27 09:04:22 +00:00
Tomas Votruba
2528c0753a
Updated Rector to commit 5e20015ec5d8002b9a11f8bfa7c70f4f2a5b5c5d
...
5e20015ec5
[Php81] Skip named constructor on ReadOnlyPropertyRector (#4359 )
2023-06-27 06:35:24 +00:00
Tomas Votruba
9da21b49dc
Updated Rector to commit 52a5b7d9482d52d1fa8b8cbe87bd43eaff68da30
...
52a5b7d948
[Renaming] Reduce parent check early on ClassRenamer (#4355 )
2023-06-26 19:09:51 +00:00