Tomas Votruba
4d86ccbb88
Updated Rector to commit 848c2ad9415b0e536b7864872f895f64104ecb50
...
848c2ad941
Improve Use_ const types in docblocks (#5005 )
2023-09-12 20:17:09 +00:00
Tomas Votruba
57dc6f91d6
Updated Rector to commit 7e2bc1414f8567c55934a32d856e8d92a6e31d0f
...
7e2bc1414f
[DeadCode] Ensure $hasChanged not replaced on next iteration when it assigned to true on RemoveUnusedPrivateMethodParameterRector (#5009 )
2023-09-12 19:06:50 +00:00
Tomas Votruba
088accd46c
Updated Rector to commit aeba96a811638e3954028b70d8163c43a8866fa8
...
aeba96a811
Refactor use import resolving (#4998 )
2023-09-12 12:38:05 +00:00
Tomas Votruba
0d6604344e
Updated Rector to commit cbc632c1eda3f2b9aba3fba07b0f1b45cc58caec
...
cbc632c1ed
RenameFunctionRector: prevent repeated isName() calls (#5003 )
2023-09-12 11:58:35 +00:00
Tomas Votruba
3c6c1c03f8
Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
...
a2f70054a7
[DocBlock] Update docblock contents right in the rule (#4999 )
2023-09-11 21:30:42 +00:00
Tomas Votruba
35a66f9d23
Updated Rector to commit 596bbc98a25903c525914b4d16ea5f9c76b500fb
...
596bbc98a2
[tests] Replace wildcard e2e test with unit one (#5000 )
2023-09-11 18:33:42 +00:00
Tomas Votruba
9a39b26232
Updated Rector to commit 9e7367ca9296ca986a31abd8bb7d6b3a6b5ef0d8
...
9e7367ca92
Trigger Rectify (#4997 )
2023-09-11 16:07:43 +00:00
Tomas Votruba
df6678519f
Updated Rector to commit ed0be502e5d74171d59e67874f089f69429a01b0
...
ed0be502e5
UseImportsTraverser: don't deep traverse (#4994 )
2023-09-11 15:55:07 +00:00
Tomas Votruba
abed52d2c1
Updated Rector to commit edadb26ab4a156985027b8f685cdeecf4ea4b098
...
edadb26ab4
[Transform] Improve performance of AddAllowDynamicPropertiesAttributeRector (#4995 )
2023-09-11 15:18:16 +00:00
Tomas Votruba
02ce33183a
Updated Rector to commit f733c32f6c44c06faeba9ad5c46a62b8eee11748
...
f733c32f6c
[Transform] Refactor AddAllowDynamicPropertiesAttributeRector with verify both fnmatch and is string name (#4993 )
2023-09-11 15:00:52 +00:00
Tomas Votruba
927d670ef2
Updated Rector to commit 27d4c55bebe8706a74273d8c2379f59b75543c0e
...
27d4c55beb
[Transform] Check str_contains * before fnmatch() early on AddAllowDynamicPropertiesAttributeRector (#4991 )
2023-09-11 13:47:00 +00:00
Tomas Votruba
be951e04e1
Updated Rector to commit 878f381d30ddb07c68dfbe828e9cd6e2b77b6c31
...
878f381d30
[Php55] Check str_contains * before fnmatch() early on StringClassNameToClassConstantRector (#4990 )
2023-09-11 13:37:38 +00:00
Tomas Votruba
93e75a5197
Updated Rector to commit bfb759084621dfe23766ebfb43db47fb71ed5512
...
bfb7590846
[CodingStyle] Use str_starts_with() on isName($node, 'test*') on DataProviderArrayItemsNewlinedRector (#4988 )
2023-09-11 13:33:44 +00:00
Tomas Votruba
549bed6da9
Updated Rector to commit b3639f72d73d9471ea8a843f93eb2ca61cd54a56
...
b3639f72d7
Update docblock only when changed, directly in rector rule (#4986 )
2023-09-11 13:16:45 +00:00
Tomas Votruba
0a6aef3c00
Updated Rector to commit c9c3d78d3c5e583b541d06e5827f4f019adc3e40
...
c9c3d78d3c
Remove ununnecesary markAsChanged() in PhpDocTypeChanger (#4984 )
2023-09-11 10:41:08 +00:00
Tomas Votruba
282e5517d7
Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
...
ae3608b3d6
Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983 )
2023-09-11 09:08:21 +00:00
Tomas Votruba
553b67b890
Updated Rector to commit 57ec646b63b0c7804df44fd67990b41d83d56c40
...
57ec646b63
Make PhpDocINfo::removeByType() return bool to inform about changed node (#4979 )
2023-09-11 07:37:02 +00:00
Tomas Votruba
1a37c5b7e2
Updated Rector to commit e4eec89c47fb767dbadb65662c12e2e3b6650cd5
...
e4eec89c47
[Performance][Php55] Remove regex replace e on RegexMatcher (#4974 )
2023-09-10 19:01:55 +00:00
Tomas Votruba
44ac4c0b00
Updated Rector to commit b5c8f9a8930520277828986608fda0b75ef5381a
...
b5c8f9a893
use strlen() directly, as enough for string check (#4969 )
2023-09-10 14:40:14 +00:00
Tomas Votruba
1e7c1e02b0
Updated Rector to commit ead7a25b38797531d9e6a755492200d59b05b1ae
...
ead7a25b38
Remove regex and fnmatch again on NodeNameResolver (#4968 )
2023-09-10 13:41:40 +00:00
Tomas Votruba
5995088c4e
Updated Rector to commit ef6c8bcc96bcb35a832ca0e798d580735c58f9ef
...
ef6c8bcc96
[NodeNameResolver] Check regex start delimiter and contains * on NodeNameResolver to use fnmatch() (#4964 )
2023-09-10 13:01:10 +00:00
Tomas Votruba
f73bcd4ef8
Updated Rector to commit c97e4ffb0534d388b5f51508491916f54d3f342a
...
c97e4ffb05
[Naming] Remove matchesStringName() check completely from NodeNameResolver, including endsWith() method - use getName() and compare directly instead (#4954 )
2023-09-09 22:49:40 +00:00
Tomas Votruba
5ab2aa34fb
Updated Rector to commit 416e52ad9e2164bc7d8e11518e3c0165862cb1b3
...
416e52ad9e
fix typo (#4956 )
2023-09-09 18:21:23 +00:00
Tomas Votruba
6adcb19ec9
Updated Rector to commit 474b3a222684b9c343ba6b43ea5bd39b78fbef2a
...
474b3a2226
Faster name resolving (#4955 )
2023-09-09 18:18:18 +00:00
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
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
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
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
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
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
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
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
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
454b838af8
Updated Rector to commit 75717921e8661b5fc6f0ebbffe2e35bd86146202
...
75717921e8
MyCLabs enum equals + keeping methods (#4645 )
2023-09-04 07:26:59 +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