119 Commits

Author SHA1 Message Date
Tomas Votruba
f486676c12 Updated Rector to commit 16b60d0f84d824f2eaafadd52650bd4ea84798e5
16b60d0f84 Make ConvertStaticPrivateConstantToSelfRector work for non-final classes, make part of code-quality set (#4114)
2023-06-08 14:55:39 +00:00
Tomas Votruba
9e103260ec Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
2f3e9be0ae [DX] Test BetterNodeFinder with Laravel container (#4106)
2023-06-08 14:23:03 +00:00
Tomas Votruba
5f824909cb Updated Rector to commit 79ffda7d8537ca6b04e14082bd9f0091fb97215d
79ffda7d85 Remove PARENT_NODE from CountOnNullRector (#3924)
2023-05-22 13:31:04 +00:00
Tomas Votruba
7eb9eec801 Updated Rector to commit 6c3f2cdf953587cdf0945c7fb6c05fd0083c25fc
6c3f2cdf95 [DX] Deprecate parent node attribute, allow return of NodeTraverser::* in refactor() method (#3922)
2023-05-22 10:21:31 +00:00
Tomas Votruba
baf4489760 Updated Rector to commit 4ef31e92b88053cf22ca1f379fc92ecc3d45f371
4ef31e92b8 Remove deprecated TemplateResolverInterface, RectorServiceConfigurator (#3351)
2023-02-06 19:28:33 +00:00
Tomas Votruba
f923fd0998 Updated Rector to commit 43dd2efc5d663bc16327911fe31c6f6ecf60e753
43dd2efc5d Remove deprecated ReturnTypeDeclarationRector, TypedPropertyRector, ParamTypeDeclarationRector rules (#3350)
2023-02-06 19:23:07 +00:00
Tomas Votruba
3c99dc15fc Updated Rector to commit a31ae50227e48b078b9a3e78da55507a23127887
a31ae50227 Add Missing in Set Command to CI + complete sets from their category (#3141)
2022-12-02 14:15:07 +00:00
Tomas Votruba
1bb085831c Updated Rector to commit 84691d5a2eb99a8794ac8c02f3fe8daf411361fe
84691d5a2e Remove self-serving FileDiffFileDecorator interface (#2835)
2022-08-24 11:58:09 +00:00
Tomas Votruba
26bacab80c Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:46:08 +00:00
Tomas Votruba
967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b075849ea4b327ce96c28ec359e7b7636
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
2e28c5e4af Updated Rector to commit 83f7e9f3ab88c45ed8e4672ac2e2616bbdc5d722
83f7e9f3ab [DX] Remove too detailed --type in init command, use fw documentation instead (#2430)
2022-06-04 11:53:51 +00:00
Tomas Votruba
7e46eb8267 Updated Rector to commit a2d6da8b4e5f3058dd95b4db2d173682b250896e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4d32dc9aceb64f6214dcd9115b5e5ee
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
aa0465d388 Updated Rector to commit 975fdf113fab99b6120383211e997da2c820bd0a
975fdf113f [DX] Add StmtsAwareInterface to catch node by type (#2269)
2022-05-08 20:57:50 +00:00
Tomas Votruba
ebc3a0684d Updated Rector to commit 767e7692e18836cdf8c36e47c4bd2b6f5647e476
767e7692e1 [Experimental] Add refactorWithScope() method to get typed Scope easily and required (#2227)
2022-05-04 15:20:50 +00:00
Tomas Votruba
5147929731 Updated Rector to commit 43aa4d91f75ab9aa38f884e0a743d0bc6cda465b
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba
3a2aaafb14 Updated Rector to commit 34070663154623957151f88cf753962ec2ea782f
3407066315 [DX] Replace global BetterStandardPrinter from AbstractRector with autowired NodePrinterInterface for easier and specific re-use (#2036)
2022-04-09 22:42:24 +00:00
Tomas Votruba
7247d62498 Updated Rector to commit 4f13982aab22c1c904ae5cb46fa6a6338030e768
4f13982aab [DX] Make progress bar less verbose on CI (#1797)
2022-02-11 12:13:24 +00:00
Tomas Votruba
c88dc245e8 Updated Rector to commit 4fbeda1e1cc0d4d3c67dac552d766031f1da3449
377b363726 the process() result is always array df4291c7e7 require always File[] in resolvePhpFilePaths() 4fbeda1e1c Merge pull request #1630 from rectorphp/tv-result-arra
2022-01-04 16:43:56 +00:00
Tomas Votruba
aced4967b7 Updated Rector to commit fa7249028c579f405ed61704b215c87a417b97f5
fa7249028c [Scoped] Fix PHP71_BIN_PATH: unbound variable on local full_build.sh (#1586)
2021-12-28 12:08:43 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35baeb2098395af6497f4bcac4fcd40c9
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d8ab4c9f051aff92ae20701436cd0fc
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba
6ee24b2d05 Updated Rector to commit b2947fd96f04e19f558bf0875a808e074bc56e03
b2947fd96f [Alternative][Validation] Add AllowEmptyConfigurableRectorInterface interface for alternative to not show warning on allowed rector rule to have default fallback config (#1422)
2021-12-08 05:39:17 +00:00
Tomas Votruba
49a3737430 Updated Rector to commit 41413f358863928c1275d4603353f82f223adaf5
41413f3588 [Parallel] Refactor file processor to return arrays of data to allow json (#1378)
2021-12-04 19:10:58 +00:00
Tomas Votruba
0562d594e0 Updated Rector to commit f985e811be98213dc0f0f6422f1a6e63ccc90ee5
f985e811be [DX] Add strict PHPStan rules - step #1 (#1324)
2021-11-28 16:42:02 +00:00
Tomas Votruba
ba205b46bb Updated Rector to commit 68d410ef00d15ca5e373a33fd66d593e0d3de346
68d410ef00 Trigger notification (#741)
2021-08-23 00:20:32 +00:00
Tomas Votruba
674f76ced2 Updated Rector to commit 877cbb2de8150b672a966d7a8907ed63769e1cdd
877cbb2de8 fix(scoper): prefix vendor classes from PHPDoc, close #6614 (#739)
2021-08-22 23:17:31 +00:00
Tomas Votruba
12dcf0ece3 Updated Rector to commit 48e89b5bd2067a0788986343e17bafede1fd6ed6
48e89b5bd2 add configurable trait interface there
2021-07-06 08:37:29 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992ccc8e6d4b20e92a5833316d381921391
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
e3c7d5c703 Updated Rector to commit 2a0cae550788d85e58b1b603899c121e5df519b8
2a0cae5507 Make progress bar reflect number of processed files + process file by file in series (#362)
2021-07-02 20:55:14 +00:00
Tomas Votruba
a7f25f1444 Updated Rector to commit 2a394c750f518a33d56a0aa80fa2addf6ff1c140
2a394c750f Reflection cleanup + inline union types for couple of param docs (#330)
2021-06-29 13:37:16 +00:00
Tomas Votruba
c99e19b804 Updated Rector to commit 4f619aae7257f4ad2fa5e13b79d5a18797137db8
4f619aae72 NodeRepository usage cleanup (#287)
2021-06-25 06:35:08 +00:00
Tomas Votruba
7cdc668f8b Updated Rector to commit ea11625cfb69e7f5a0438ef8391dc9177fdb7f1d
ea11625cfb compact
2021-06-22 19:34:44 +00:00
Tomas Votruba
feba977d4e Updated Rector to commit c7f23b93487f9202d019d2b77d455688956f3010
c7f23b9348 fixup! ping rebuild
2021-05-19 14:34:37 +00:00
Tomas Votruba
7d0e966d2c Updated Rector to commit 84802f54d62a5718c18b9a660d6925513d0022f0
84802f54d6 downgrade ssch together
2021-05-19 13:27:02 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d6df5e83b7d17c78630506e361bede9
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94df4879885b9106773d2f8335cb40e49
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba
fd9f8d18f9
add RectorOutputStyle to out-scope output formatter from symfony (#6395) 2021-05-08 23:04:43 +02:00
Sebastian Schreiber
dde5458d5d
[BUGFIX] Remove obsolete FormatterInterface (#6370) 2021-05-06 15:18:00 +02:00
Sebastian Schreiber
16d5930435
[TASK] Take .editorconfig into account (#6272) 2021-05-06 13:26:28 +02:00
Tomas Votruba
327f5fc126
[DowngradePhp70] Add SplitGroupedUseImportsRector + allow to return list of stmt[] in refactor() (#6364)
* rename SeparateMultiUseImportsRector to SeparateMultiUseImportsRector

* [PHP 7.0] Add SplitGroupedUseImportsRector

* allow to return multiple nodes to avoid addStmts() and removeNode() combo

* dot not FQN namespace and use improts
2021-05-06 01:44:08 +02:00
Tomas Votruba
c83ac3683e
Decouple specific rules from NonPhpFileProcessor to NonPhpRectorInterface contract (#6285) 2021-05-02 11:50:34 +00:00
Sebastian Schreiber
255b1fcbf7
[TASK] Add template type option for init command (#6233) 2021-04-25 21:43:59 +02:00
Tomas Votruba
8b402bfe02
Make use of File object instead of passing around provider of file info, tokens, stmts etc. (#6110)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-13 00:12:48 +00:00
Tomas Votruba
06f85e4a68
Refactor file processors towards universal collector (#6085)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-12 10:34:04 +00:00