Commit Graph

561 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
62693051ca Updated Rector to commit 31e22ff70699ac52c0cd4faee5b5f42291bb8ccb
31e22ff706 [PHPStanStaticTypeMapper] Improve performance of UnionTypeMapper take 3 (#3690)
2023-04-26 13:34:46 +00:00
Tomas Votruba
0284fe8f94 Updated Rector to commit 931e6e24502a70dd19cd93c0ef10510b23213f87
931e6e2450 [PHPStanStaticTypeMapper] Improve UnionTypeMapper performance take 2 (#3688)
2023-04-26 04:39:15 +00:00
Tomas Votruba
1084c94b7d Updated Rector to commit bd478cc1b2fa2934e980e3d92c97a66ad7b260bd
bd478cc1b2 [PHPStanStaticTypeMapper] Improve UnionTypeMapper performance (#3686)
2023-04-25 21:31:09 +00:00
Tomas Votruba
d4fe88d8f2 Updated Rector to commit 92d38cfba31d2a2811c19dd57810e296a725c91e
92d38cfba3 [TypeDeclaration] Refactor UnionTypeMapper::narrowBoolType() to allow bool|int|false converted to bool|int (#3685)
2023-04-25 21:01:30 +00:00
Tomas Votruba
701d429812 Updated Rector to commit 2efca7308210405e65198d44a7521f84940fdd21
2efca73082 [TypeDeclaration] Handle regression multiple params no longer working on AddMethodCallBasedStrictParamTypeRector (#3681)
2023-04-24 17:11:45 +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
470e7f2c55 Updated Rector to commit a6ca5a0e8429d8c1423916c07ba5e72efdeafd44
a6ca5a0e84 Re-apply isVoid() (#3574) (#3586)
2023-04-08 14:00:36 +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
5f5a4162ce Updated Rector to commit 7611dcb05adda44fb14a228574481b3f79d0b9d5
7611dcb05a Use isVoid() (#3574)
2023-04-08 01:08:03 +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
0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba
bd50266270 Updated Rector to commit 9d33ac92be2ac793d06d2da7f13a2008544d8d30
9d33ac92be Fix downgrade vendor/tracy .phtml file (#3469)
2023-03-09 14:26:00 +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
cf1958e570 Updated Rector to commit 2eac878f538ddd1e20346c14d402f7e93ee6033b
2eac878f53 [TypeDeclaration] Only apply false type on php 8.2+ configured on TypedPropertyFromAssignsRector (#3422)
2023-02-28 18:23:25 +00:00
Tomas Votruba
2dc52bcb24 Updated Rector to commit 61db165a8fc8a52935610500826b11e87c4cc33d
61db165a8f [TypeMapper] Use Identifier instead of Name on bool and null (#3378)
2023-02-14 12:16:55 +00:00
Tomas Votruba
90ca96064c Updated Rector to commit 56e1633c826c009e643873ca8461ea45d0fff217
56e1633c82 [TypeMapper] Use Identifier instead of Name on ObjectWithoutClassType (#3377)
2023-02-14 11:52:01 +00:00
Tomas Votruba
e946e57476 Updated Rector to commit dbaf0da38ac23091d39d4df71749da474e8df8ac
dbaf0da38a [TypeMapper] Use Identifier instead of Name on non-object types (#3375)
2023-02-13 14:43:04 +00:00
Tomas Votruba
51f97eb7a9 Updated Rector to commit 7f9704010043e95a107d2a5fd5112fcfc2c2990b
7f97040100 [Php80][AutoImport] Do not import iterable on AutoImport enabled on UnionTypesRector (#3374)
2023-02-13 09:45:26 +00:00
Tomas Votruba
1044a9f5fe Updated Rector to commit db4ec0218f0ad9670790d5725c98bbb34120a97e
db4ec0218f [TypeDeclaration] Handle nullable intersection on TypedPropertyFromAssignsRector (#3372)
2023-02-12 17:34:35 +00:00
Tomas Votruba
1e09b81ddb Updated Rector to commit e68c8d23cbbdb9dbfef66133af6bb4f1857015ad
e68c8d23cb Fix CallableTypeParameterNode and IdentifierTypeParameterNode crash (#3353)
2023-02-07 12:26:09 +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
afc46ddaaf Updated Rector to commit 8ddb48097219683f23faa75e2365c5161cc623a8
8ddb480972 [PHPStanStaticTypeMapper] Handle crash on OversizedArrayType (#3306)
2023-01-26 00:27:06 +00:00
Tomas Votruba
764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba
8a89fc1eb2 Updated Rector to commit ac2f8537c1f5b9739baaeeb8228d514b29c6b0b6
ac2f8537c1 [CodeQuality] Handle crash on ReturnTypeFromStrictScalarReturnExprRector on ConditionalTypeForParameter (#3254)
2022-12-25 14:11:20 +00:00
Tomas Votruba
f4f085ed27 Updated Rector to commit f13207737e25fef30190c1746a314b7e1dec6eb2
f13207737e [CodingStyle] Add NullifyUnionNullableRector (#3231)
2022-12-21 11:07:20 +00:00
Tomas Votruba
13fa9d478f Updated Rector to commit 394fa70c963bb059acd6aae4b998173bdfc6c80c
394fa70c96 [TypeDeclaration] Add FalseReturnClassMethodToNullableRector (#3229)
2022-12-20 20:40:25 +00:00
Tomas Votruba
f63eee898e Updated Rector to commit 863fee39147717a4f85c42eacaec28fe6971ac52
863fee3914 [PHPStanStaticTypeMapper] Handle Nullable Type on UnionType on UnionTypeMapper when possible (#3173)
2022-12-09 11:23:23 +00:00
Tomas Votruba
7bd500a158 Updated Rector to commit d3abaa1d05318488f8c1f401fc46a9e48b056d4f
d3abaa1d05 [TypeDeclaration] Handle Anonymous class extends existing class in union (#3161)
2022-12-06 13:12:41 +00:00
Tomas Votruba
df7c74ec60 Updated Rector to commit 16647397cc155594371858f316bd82e9dd436117
16647397cc [Php55] Handle crash on curly parentheses delimiter on PregReplaceEModifierRector (#3144)
2022-12-03 09:23:44 +00:00
Tomas Votruba
c742d0130f Updated Rector to commit 12ea285bcd922dbacaaed44a4819c7ee3477b1c2
12ea285bcd simplify PHPStanStaticTypeMapper (#3143)
2022-12-02 15:40:44 +00:00
Tomas Votruba
09f8be2dde Updated Rector to commit f387890dbeba0617f9a4f98f44ac1c8f08e6c1b0
f387890dbe [build] add enum to const list downgrade
2022-12-01 16:57:08 +00:00
Tomas Votruba
ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba
7a4c4657bb Updated Rector to commit 67ec259ce70190a02d29c697dfb2d325f781d8aa
67ec259ce7 [TypeDeclaration] Disable and deprecate PropertyTypeDeclarationRector and TypedPropertyRector, to avoid breaks; use split strict rules instead (#3122)
2022-11-28 15:11:02 +00:00
Tomas Votruba
ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba
f424fd6a95 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-10-30 11:16:14 +00:00
Tomas Votruba
b7fb4398da Updated Rector to commit 997e5f4ae8c388b8a12d16539e8109fe821e8fd6
997e5f4ae8 [TypeDeclaration] Skip intersection with iterable on ReturnTypeDeclarationRector on php 8.1 feature enabled (#3022)
2022-10-29 10:54:11 +00:00
Tomas Votruba
6fe76031c4 Updated Rector to commit 2427c5a094a39018e0c558482faf218d577e3382
2427c5a094 [Php80] Handle crash after transform with trait-string on UnionTypesRector (#2985)
2022-10-14 09:48:08 +00:00
Tomas Votruba
e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba
44e9f0dd99 Updated Rector to commit 429c9c087662fbd35e10e5d044b63aabfb1872f7
429c9c0876 [Php81] Handle crash insensitive function name on NullToStrictStringFuncCallArgRector (#2953)
2022-09-24 08:51:57 +00:00
Tomas Votruba
465ae70f0e Updated Rector to commit 54cc8e7a839343023a10a4ee230b9973dd03c376
54cc8e7a83 [CodeQuality] Skip nullable mixed on ReturnTypeFromStrictScalarReturnExprRector (#2947)
2022-09-23 13:05:02 +00:00