Commit Graph

1562 Commits

Author SHA1 Message Date
Tomas Votruba
65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba
b2bc547d46 Updated Rector to commit 0451834fd58ba9a7fddde47f47a60c4911388738
0451834fd5 [NodeTypeResolver] Improve ParametersAcceptorSelectorVariantsWrapper by directly use ParametersAcceptorSelector::combineAcceptors() (#3706)
2023-04-29 07:20:27 +00:00
Tomas Votruba
6773471488 Updated Rector to commit f19c86c993bb1fe1b487fce587d6582ef9f29a6a
f19c86c993 [NodeTypeResolver] Add AssignedToNodeVisitor (#3694)
2023-04-27 18:21:20 +00:00
Tomas Votruba
7662f7e333 Updated Rector to commit 0a086a89cde5f219a5cfabcb34a6e5598a2e6e18
0a086a89cd NodeTypeResolver: prevent unncessary reflection calls (#3647)
2023-04-22 08:05:51 +00:00
Tomas Votruba
72d660b556 Updated Rector to commit 20a586577e11b0fca6dc41ee9c7979f5d10725d1
20a586577e Regenerate preload (#3641)
2023-04-20 16:02:06 +00:00
Tomas Votruba
ef3f017e7b Updated Rector to commit fff22320cedf04f5aa2449592f1924bc5ebc5551
fff22320ce Simplify AccessoryNonEmptyStringTypeCorrector (#3636)
2023-04-20 13:44:42 +00:00
Tomas Votruba
91a5e19669 Updated Rector to commit ff899747379670edd250e653764e51ae592aac16
ff89974737 NodeTypeResolver: remove unnecessary check (#3626)
2023-04-20 12:15:14 +00:00
Tomas Votruba
cee0e8f32f Updated Rector to commit 9f5d6b9c9ab814382bacc1c127e1807ecc7aaec0
9f5d6b9c9a Remove runtime autoloading from NodeTypeResolver (#3627)
2023-04-20 10:43:06 +00:00
Tomas Votruba
c333025ba2 Updated Rector to commit 34e1cf13fdd613cb732d082cfcfa86bbdb7db5dc
34e1cf13fd NodeTypeResolver: cheap checks first in isObjectTypeOfObjectType() (#3621)
2023-04-16 15:11:00 +00:00
Tomas Votruba
9b243e6539 Updated Rector to commit 3a9bebf657bfdf7cb5b3ab59b3471987dd6a35f6
3a9bebf657 [CodeQuality] Handle crash on BinaryOp/Mul and variable variable: 9364name on IntvalToTypeCastRector (#3608)
2023-04-12 13:24:05 +00:00
Tomas Votruba
1144dcd388 Updated Rector to commit 54a340ce750f48aa3e09f65e02df9dc6fa2206a0
54a340ce75 Revert Cache on successful file processing (#3604) (#3607)
2023-04-11 08:29:27 +00:00
Tomas Votruba
87f8efd4a8 Updated Rector to commit 4c56874ee79f5dd3ea2e97ea12e13335ebd6765b
4c56874ee7 Cache on successful file processing (#3604)
2023-04-11 06:22:54 +00:00
Tomas Votruba
3f1c0e6187 Updated Rector to commit 9629890a306844ba49ea6689d58fbecb67a7980e
9629890a30 Use isInteger() (#3593)
2023-04-09 00:51:38 +00:00
Tomas Votruba
2300088c0b Updated Rector to commit 08660ad7077c86c3c86e7d1cbd14d9d7d71cb450
08660ad707 Use isFloat() (#3594)
2023-04-09 00:39:59 +00:00
Tomas Votruba
6a6d35d3ed Updated Rector to commit 0492831348592eba9ac956845d711aa4fe5f7b1a
0492831348 Use isString() (#3595)
2023-04-09 00:34:06 +00:00
Tomas Votruba
a03a19aeca Updated Rector to commit 273e4b43f1dbe84d426f4db5ab7ea9b0b1fea190
273e4b43f1 Use isBoolean() (#3591)
2023-04-08 16:37:58 +00:00
Tomas Votruba
3da290e4ab Updated Rector to commit dbb0e196a43d8c14a9de6abeef8fe081e95c51c2
dbb0e196a4 Revert all is* changes (#3584)
2023-04-08 13:25:07 +00:00
Tomas Votruba
9d60770133 Updated Rector to commit e66317aeb276bb0b544e7b4b55057c9dab5fbb73
e66317aeb2 fix cs (#3579)
2023-04-08 11:32:12 +00:00
Tomas Votruba
aaddfe2522 Updated Rector to commit 59cdfc8d814b094bffd814f4679c828cd45c7ec9
59cdfc8d81 Use isInteger() (#3571)
2023-04-08 01:19:54 +00:00
Tomas Votruba
e7c7a40197 Updated Rector to commit 437cc5aa660262603343cdbb193e0a54abf9037e
437cc5aa66 Use isBoolean() (#3570)
2023-04-08 01:12:35 +00:00
Tomas Votruba
32306ae608 Updated Rector to commit aa73118601d7421ca268ce8835efffb27a558008
aa73118601 Use isString() (#3573)
2023-04-08 01:03:37 +00:00
Tomas Votruba
be3c7cb235 Updated Rector to commit 46301c10a803d2b6727270a738e8c9c297b0b10c
46301c10a8 Use isFloat() (#3572)
2023-04-08 00:59:02 +00:00
Tomas Votruba
75f99e1dc0 Updated Rector to commit a36a4d9fcb244d5d49a45255d9581a16410dff7a
a36a4d9fcb Remove unused imports (#3567)
2023-04-05 19:01:37 +00:00
Tomas Votruba
9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba
9b6b4fafd3 Updated Rector to commit fd2e1a181d96cee745529f345d77be55de3f5d17
fd2e1a181d [CodingStyle] Remove previous node attribute on TernaryConditionVariableAssignmentRector (#3540)
2023-03-30 16:42:45 +00:00
Tomas Votruba
2b57174b33 Updated Rector to commit b3ea98f636dc6f965589eaf5fcf6dcda6e38cd9b
b3ea98f636 [NodeTypeResolver] Make NodeTraverser as property on NodeScopeAndMetadataDecorator (#3532)
2023-03-28 19:24:10 +00:00
Tomas Votruba
dc695d1925 Updated Rector to commit d0d87702a7b9a8140575d4bee3e9695199bb6338
d0d87702a7 [NodeTypeResolver] Make NodeTraverser as property on PHPStanNodeScopeResolver (#3533)
2023-03-28 19:22:16 +00:00
Tomas Votruba
d1b207c569 Updated Rector to commit 87186dd873893b15bc4ef881348e02a224e16c07
87186dd873 [NodeTypeResolver] Remove NodeScopeAndMetadataDecorator::decorateStmtsFromString() method (#3530)
2023-03-28 15:38:13 +00:00
Tomas Votruba
0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba
b5afb126a3 Updated Rector to commit 5e29a35bb60f92bece6fede8080645e7ba7fc421
5e29a35bb6 Performance: Reduce isObjectType calls (#3502)
2023-03-22 14:20:22 +00:00
Tomas Votruba
6438137a64 Updated Rector to commit b411755c297647bf0350c849e35b63c0de5f20b2
b411755c29 Performance: Prevent trait resolving in NodeTypeResolver (#3501)
2023-03-22 10:18:06 +00:00
Tomas Votruba
1af1cd5c12 Updated Rector to commit 5371408babdacb17ccbbe89b4c74281dcb4825c1
5371408bab [Container] Add RectorConfig::containerCacheDirectory() (#3490)
2023-03-19 20:28:32 +00:00
Tomas Votruba
65a343d35a Updated Rector to commit 6cc0a40d5d64b45408f830563aa22c73a41a6e9e
6cc0a40d5d  [Renaming] Remove FileWithoutNamespace from getNodeTypes() on RenameNamespaceRector (#3475)
2023-03-12 01:48:24 +00:00
Tomas Votruba
6fea23a820 Updated Rector to commit d9dc05621793de2fa23815b73e8db94c8f56b30d
d9dc056217 [Core] Remove RenamedClassesSourceLocator (#3454)
2023-03-04 09:04:54 +00:00
Tomas Votruba
57f48de22e Updated Rector to commit ed16cab5a2fa6982539e06ad70ac9c119c7dc346
ed16cab5a2 [Php80] Add typed property Closure support on ClassPropertyAssignToConstructorPromotionRector (#3453)
2023-03-04 08:55:37 +00:00
Tomas Votruba
b66a82808b Updated Rector to commit d9dc05621793de2fa23815b73e8db94c8f56b30d
d9dc056217 [Core] Remove RenamedClassesSourceLocator (#3454)
2023-03-04 08:55:31 +00:00
Tomas Votruba
9d9213d70c Updated Rector to commit 658e48f31fcb26a0e56740a49a994dbab3c1e6b5
658e48f31f Handle ->getDefaultValueExpression() return null (#3446)
2023-03-03 10:07:09 +00:00
Tomas Votruba
7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba
bfb3b0cf14 Updated Rector to commit 4a583b6a777b38f14791374a8793f37ae024e6f9
4a583b6a77 [phpstan-extensions] Provide phpstan container to bootstrap file from extensions (#3401)
2023-02-23 09:42:39 +00:00
Tomas Votruba
908a3c39d3 Updated Rector to commit 648a2f5ca994605a85e8f10279936a864eefc09c
648a2f5ca9 Fix BleedingEdgeIncludePurifier to use random value on temporary file to avoid crash (#3396)
2023-02-21 17:09:39 +00:00
Tomas Votruba
f913db6069 Updated Rector to commit 62d8685ce5b653a71014231d6a7dbf6934c30e60
62d8685ce5 Reuse anonymous class detection via ClassAnalyzer on PHPStanNodeScopeResolver (#3393)
2023-02-19 17:53:18 +00:00
Tomas Votruba
c97a6c91a3 Updated Rector to commit c65e60f70b628fd0602a9107189a1e9b6f0d3adf
c65e60f70b [Php56] Skip after infinite loop on AddDefaultValueForUndefinedVariableRector (#3390)
2023-02-19 14:50:05 +00:00
Tomas Votruba
2a475d5b03 Updated Rector to commit 9c6f41e6c0b943912ca1fd2b6a289106b556efbe
9c6f41e6c0 Fix external packages bleeding edge includes (#3389)
2023-02-17 19:53:09 +00:00
Tomas Votruba
bb73357927 Updated Rector to commit 48228edf4647336d860ab24af7d4c62ea06c75a1
48228edf46 [config] include bootstrap files of extensions, to let rector know about types as well (#3380)
2023-02-14 15:08:14 +00:00
Tomas Votruba
5b5530d0ab Updated Rector to commit 67fd1651d647fca53597dbd6afe795ffe0ea75ca
67fd1651d6 [Php72] Handle crash on variable as operator on CreateFunctionToAnonymousFunctionRector (#3370)
2023-02-11 17:57:17 +00:00
Tomas Votruba
f0b34d4760 Updated Rector to commit 5fc8c1a0539ba0f4ff29ed90f29633d4414e3ff6
5fc8c1a053 Replace ParametersAcceptorSelector::selectSingle() with ParametersAcceptorSelectorVariantsWrapper::select() when possible (#3361)
2023-02-08 10:25:24 +00:00
Tomas Votruba
73d7bba3b0 Updated Rector to commit a3bc2dcf8045157aafb20645b9e3cf49fa0542fb
a3bc2dcf80 [TypeDeclaration] Handle crash Multiple variants - use selectFromArgs() on ReturnAnnotationIncorrectNullableRector (#3359)
2023-02-08 09:19:48 +00:00
Tomas Votruba
66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba
bede86547e Updated Rector to commit 505a2490fab1d61dffe6a9fa0cd95efc35ff9ac0
505a2490fa remove MethodTypeAnalyzer
2023-01-15 01:58:44 +00:00
Tomas Votruba
b771e1ca1a Updated Rector to commit 58c8f170182d3350e21a3b141bb3971651943e63
58c8f17018 [CodingStyle] Add DataProviderArrayItemsNewlinedRector (#3271)
2023-01-10 11:07:38 +00:00