Tomas Votruba
42d1e7d15e
Updated Rector to commit 21e3128746a05e4ff78b27e338412f98a1cbe39f
...
21e3128746
Run tests on macos (#5019 )
2023-09-14 18:49:49 +00:00
Tomas Votruba
7c6e836295
Updated Rector to commit 7b7b4fb61bc2a7088823e7cfabf8a29b4fec516c
...
7b7b4fb61b
Fix TypedPropertyFromStrictConstructor* order (#5021 )
2023-09-14 17:21:03 +00:00
Tomas Votruba
d8dbb74079
Updated Rector to commit 5b423425e584112ae7a02a6e7236c667cd5aedd0
...
5b423425e5
TypedPropertyFromStrictConstructorRector: Skip phpdoc types (#5020 )
2023-09-14 17:09:03 +00:00
Tomas Votruba
8ca231f47a
Updated Rector to commit 2b177e80e2630c97653aa9d57ac87acbc1433524
...
2b177e80e2
add fixture to validate
2023-09-14 12:21:59 +00:00
Tomas Votruba
4f47fbf001
Updated Rector to commit ba0291fec8e4ade7fc9692f6308172654f2b67da
...
ba0291fec8
Typo fix (#5017 )
2023-09-14 11:48:17 +00:00
Tomas Votruba
7b7327844c
Updated Rector to commit d188b67d8620ffba4c2488cdaab20853ba804f14
...
d188b67d86
Fix unit test on macOS for testing spaced root project on WorkerCommandLineFactoryTest (#5016 )
2023-09-14 08:30:58 +00:00
Tomas Votruba
5f78db9416
Updated Rector to commit 0e869b9b70c1871d5c212c3b2fdaf388955747ce
...
0e869b9b70
[Parallel] Handle Spaced root project main script on parallel process (#4813 )
2023-09-14 08:19:41 +00:00
Tomas Votruba
cdaa25cb85
Updated Rector to commit 23840739198816814b463df4a9510bb8f4f5fbda
...
2384073919
[VendorLockResolver] Reduce repetitive getName() on ClassMethodParamVendorLockResolver (#5015 )
2023-09-13 19:48:27 +00:00
Tomas Votruba
1543cccc56
Updated Rector to commit 299d02c41ec1a0850c5a5449e27f9cf9fd44b5e5
...
299d02c41e
[Performance][BetterPhpDocParser] Move create new PhpDocNodeTraverser() to __construct() on PhpDocNodeMapper (#5014 )
2023-09-13 19:21:21 +00:00
Tomas Votruba
2331f6b39c
Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
...
74df7741a7
[PostRector] Fix unused import not removed on empty generic class name exists (#5012 )
2023-09-13 15:10:03 +00:00
Tomas Votruba
66134953c2
Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
...
74df7741a7
[PostRector] Fix unused import not removed on empty generic class name exists (#5012 )
2023-09-13 14:39:32 +00:00
Tomas Votruba
26b96f86b2
Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
...
74df7741a7
[PostRector] Fix unused import not removed on empty generic class name exists (#5012 )
2023-09-13 12:31:43 +00:00
Tomas Votruba
a0e75643ae
Updated Rector to commit 935b2b47f5a8581117674f30ab1a725caa301494
...
935b2b47f5
[Config] Move content of private method importFile() to import() method (#5011 )
2023-09-13 08:17:50 +00:00
Tomas Votruba
5272a66ce1
Updated Rector to commit 01c0ea9420b424bf1484c99dbb1185a0cd1c3e61
...
01c0ea9420
[Config] Remove asterisk support in import() for file, use explicit paths instead (#5010 )
2023-09-12 23:04:24 +00:00
Tomas Votruba
ba7988e3e0
Rector 0.18.3
0.18.3
2023-09-12 20:18:14 +00:00
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
0309d949e5
Updated Rector to commit 09baf7dd0ce61eba0944f98977834f18665f3e9f
...
09baf7dd0c
NodeNameResolver: faster isNames() (#5004 )
2023-09-12 12:38:13 +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
f8df0467fb
Updated Rector to commit ef003b2458043b677bdd72522439bd80afb44a2c
...
ef003b2458
refactor: add support for Custom Skip Voters (#5002 )
2023-09-12 08:13:37 +00:00
Tomas Votruba
ac9f7b5076
Updated Rector to commit ffa43a11e01a594d3aaafe4eb5f09f4394e90019
...
ffa43a11e0
[PhpParser] Fix crash read jetbrains/phpstorm-stubs included in phpstan.phar on PHP 8.0 and PHP 7.4 (#5001 )
2023-09-12 07:47:25 +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
0acf99c06a
Updated Rector to commit 7b4858b689e23bac39c47ddbf06df4842f453936
...
7b4858b689
[Performance] [NodeNameResolver] Move loop REGEX_WILDCARD_CHARS on last resort after $resolvedName, $desiredName compare to avoid unnecesary loop when possible (#4996 )
2023-09-11 15:30:38 +00:00
Tomas Votruba
4f2f57fa55
Updated Rector to commit 398b6503cd12778c3c0e32b6d4d096452e998ed6
...
398b6503cd
NodeNameResolver: Throw exception in BC breaking path (#4980 )
2023-09-11 15:26:30 +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
67ef720476
Updated Rector to commit 780ef4010d45be3e89844dec073ce2078a10f96f
...
780ef4010d
Deprecated PhpDocInfo::markAsChanged() to ensure doc block is changed directly in the Rector rule (#4987 )
2023-09-11 14:54:44 +00:00
Tomas Votruba
ec1242d290
Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
...
8b8a0d1a5d
Prevent unnecessary calls to spl_object_id() (#4992 )
2023-09-11 14:36:30 +00:00
Tomas Votruba
8b577a6b5e
Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
...
8b8a0d1a5d
Prevent unnecessary calls to spl_object_id() (#4992 )
2023-09-11 14:30:03 +00:00
Tomas Votruba
8a7560aff0
Updated Rector to commit b26175631cdad7feac444fac351120541ef3fa03
...
b26175631c
Fix typo in error message (#4989 )
2023-09-11 14:11:01 +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
4c20b79d3c
Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
...
ae3608b3d6
Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983 )
2023-09-11 09:47:14 +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
ec41ac44ea
Updated Rector to commit 2e6fcdea7e3945a06d2cc229a92567ea52ce9d6d
...
2e6fcdea7e
Remove CurrentRectorProvider and used for docblock changes report, return bool value and node directly in the rector rule instead (#4982 )
2023-09-11 07:55:34 +00:00
Tomas Votruba
59ce553896
Updated Rector to commit 0bb2398438d57d393d7be0d3f7fc2d237cf51e0a
...
0bb2398438
Make BetterPhpDocParser parse node directly (#4981 )
2023-09-11 07:45:38 +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
4cbb15f972
Updated Rector to commit 1593d006138230202e20bd209da375ca1e171876
...
1593d00613
[Internals] Decouple output from AbstractRector, narrow debugging output to file path (#4976 )
2023-09-10 20:27:13 +00:00
Tomas Votruba
6c92c9ea3e
Updated Rector to commit 3fcbb533c2d4da174cbfcad1e5d5cfe354dfd884
...
3fcbb533c2
[Internals] Merge PhpFileProcessor to FileProcessor (#4977 )
2023-09-10 20:21:47 +00:00
Tomas Votruba
4b84a2b441
Updated Rector to commit 0c5ad104aee04d680816bbed6224470c7acfb895
...
0c5ad104ae
[DX] Merge WorkerRunner to WorkerCommand, to make context closer (#4972 )
2023-09-10 19:16:46 +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
e9556eff4d
Updated Rector to commit 3942c1336b9650e7013094e6ae7118675ea04685
...
3942c1336b
Use link to getrector.com/documentation for create_own_rule.md on build scoped (#4973 )
2023-09-10 18:55:54 +00:00
Tomas Votruba
aaa2d927d5
Updated Rector to commit cda957718f1eb9d1629bc27ed8b060c6f41ce033
...
cda957718f
[Performance][Printer] Reduce regex check use( no space on BetterStandardPrinter (#4971 )
2023-09-10 18:48:21 +00:00