50 Commits

Author SHA1 Message Date
Tomas Votruba
e35131524c
[Nette 3.0] Various rules updates (#3878)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-03 09:26:01 +02:00
Tomas Votruba
e7429d96a4
make use of constant (#3875) 2020-08-02 13:17:33 +00:00
dobryy
3aa2fc8727
[Order] Order properties and constants with respect of complexity and position (#3826)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-07-31 22:20:45 +02:00
TomasVotruba
fa76a56e08 fix value object moving 2020-07-30 15:31:37 +02:00
TomasVotruba
fe72e003ed use constants in configs 2020-07-30 13:53:53 +02:00
TomasVotruba
99db894192 restore types 2020-07-27 10:44:51 +02:00
dobryy
f37cd4cac3 [Order] Apply rule 2020-07-26 15:11:41 +02:00
TomasVotruba
7ed4cb19c4 simplify config globs 2020-07-25 20:14:28 +02:00
TomasVotruba
0944b75f7e correct namespace in configs 2020-07-18 11:58:17 +02:00
TomasVotruba
0c816d60f8 [config] switch rules config from YAML to PHP 2020-07-16 12:48:54 +02:00
TomasVotruba
3c3c3a9530 remove func call from methods calls 2020-07-06 01:59:41 +02:00
TomasVotruba
c08d874107 make use PhpDocTrait 2020-06-30 02:27:55 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
fe571b1bbf one more fix 2020-06-23 19:31:55 +02:00
TomasVotruba
bbc2f1e7d9 re-use class name 2020-06-23 19:20:32 +02:00
TomasVotruba
8d38c20300 check types correctly in value object class 2020-06-23 19:17:15 +02:00
TomasVotruba
4e2327a2f2 fix double load of test fixture 2020-06-23 19:11:44 +02:00
TomasVotruba
77d46cb7ae prevent exception on class duplicate rename, just skip 2020-06-23 19:11:32 +02:00
TomasVotruba
50f3c0454d skip common patterns in value object 2020-06-23 18:26:06 +02:00
TomasVotruba
dd3c1bd523 add types/suffix support 2020-06-23 13:11:48 +02:00
TomasVotruba
baee588461 add rename neon/yaml file content case 2020-06-21 19:03:39 +02:00
TomasVotruba
fac932a8bd cleanup 2020-06-21 11:46:52 +02:00
TomasVotruba
ff4c3cc8ce decopule NodesWithFileDestinationPrinter 2020-06-21 02:31:27 +02:00
TomasVotruba
97a50186f0 decopule AbstractFileMovingFileSystemRector 2020-06-19 18:01:50 +02:00
TomasVotruba
489531aee7 skip interface 2020-06-19 17:09:59 +02:00
TomasVotruba
bfbbcb6a81 add test case for MoveValueObjectsToValueObjectDirectoryRector 2020-06-19 16:10:28 +02:00
TomasVotruba
f83c6c080e decouple ControlFactoryInterfaceAnalyzer 2020-06-19 15:51:41 +02:00
TomasVotruba
afe189d355 resolve @see annotations in AstractRector childs 2020-06-19 15:37:24 +02:00
TomasVotruba
75b8d37e4b extend test case 2020-06-19 12:06:46 +02:00
TomasVotruba
5feac59021 prepare for multiple files 2020-06-18 23:22:55 +02:00
TomasVotruba
9abc75916a fix namespace 2020-06-18 23:08:06 +02:00
TomasVotruba
fca3eaed8b cleanup 2020-06-18 21:10:41 +02:00
TomasVotruba
48bbc835b1 add TokensByFilePathStorage 2020-06-18 21:10:41 +02:00
TomasVotruba
daaf2143d8 skip already correct group 2020-06-18 17:42:43 +02:00
TomasVotruba
7a85d8596e covers @return doc too 2020-06-18 17:29:42 +02:00
TomasVotruba
dc36f0f469 skip Form factories too 2020-06-18 16:56:16 +02:00
TomasVotruba
4f1cd06c7e add class-rename to MoveServicesBySuffixToDirectoryRector 2020-06-18 16:09:24 +02:00
TomasVotruba
5adc8cc782 [Autodiscovery] Skip control factory in interface split 2020-06-18 12:50:16 +02:00
rector-bot
238ecb319e fixup! fixup! add class-rename to MoveInterfacesToContractNamespaceDirectoryRector 2020-06-16 21:59:31 +00:00
rector-bot
5ba7e4567d fixup! add class-rename to MoveInterfacesToContractNamespaceDirectoryRector 2020-06-16 21:58:38 +00:00
TomasVotruba
bcb0a642d5 add class-rename to MoveInterfacesToContractNamespaceDirectoryRector 2020-06-16 23:54:15 +02:00
TomasVotruba
7622326dba add self-rename test 2020-06-16 23:40:31 +02:00
TomasVotruba
b5f0129c84 complete missing code samples 2020-06-16 16:20:17 +02:00
TomasVotruba
aff10cf014 [Autodiscovery] Do not nest already correct name 2020-06-10 19:59:15 +02:00
TomasVotruba
e81044fd3b decouple ClassRenamer 2020-05-11 18:08:13 +02:00
TomasVotruba
1bf62ac1c7 [cs] sort private methods by call order and property by complexity 2020-04-26 02:57:47 +02:00
TomasVotruba
d29c4ede57 Add DoctrineAnnotationParserSyncer 2020-04-04 22:01:47 +02:00
TomasVotruba
21238589fe Revert "remove unused file"
This reverts commit c50621c4f92e18071e046a8f2137d029563a81f7.
2020-03-09 15:54:35 +01:00
TomasVotruba
c50621c4f9 remove unused file 2020-03-09 15:46:20 +01:00
TomasVotruba
3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00