Abdul Malik Ikhsan
ca0b4cfdc7
[EarlyReturn] Register ChangeOrIfReturnToEarlyReturnRector to early-return set ( #4975 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-24 17:28:56 +01:00
Tomas Votruba
a7705ed0a5
[Symplify 9] First update + switch to RuleDocGenerator ( #4616 )
...
* [composer] bump to Symplify 9
* [Symplify 9] Update phpstan rules
* bump to Symplify 9 BETA2
* update AbstractKernel from Tests to Testing namespace
* decoupling removing node trait
* remove fluent calls
* removing variadic
* [CodingStyle] Improve AnnotateThrowablesRector
* bump deps
* Make use of RuleDocGenerator
* first short
* [DocumentationGenerator] Drop deprecated package, RuleSetGenerator now handles it
* import namespace
* update docs
2020-11-16 17:50:38 +00:00
Abdul Malik Ikhsan
0cc7b66a1e
[FileSystem] Improve MovedFileWithNodesFactory : SKip if desiredGroupName already inside oldClassName ( #4554 )
2020-11-04 15:55:22 +01:00
Tomas Votruba
297ec316af
move suffix filesystem 3 ( #4540 )
2020-11-01 21:31:13 +01:00
Tomas Votruba
c03b66f7cd
move suffix filesystem 2 ( #4529 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-01 16:39:04 +01:00
Tomas Votruba
8542a3bcbc
Move from Filesystem rules to FileNode ( #4528 )
...
* make MoveServicesBySuffixToDirectoryRector with non-filesystem rector
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Apply coding standards
* fixup! make MoveServicesBySuffixToDirectoryRector with non-filesystem rector
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-31 21:39:09 +00:00
Tomas Votruba
0513315056
Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node ( #4522 )
...
* Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node
* update DecoupleClassMethodToOwnClassRector
* [ci] add rebase jobp
* disable fail fast for unit tests
* misc
2020-10-31 12:59:40 +00:00
Tomas Votruba
a4b4b474cb
[SimplePhpDocParser] Init ( #4391 )
2020-10-11 12:40:45 +02:00
Tomas Votruba
e47a806300
Remove AbstractFileSystemRector and move to AbstractRector ( #4378 )
2020-10-09 21:51:09 +02:00
Tomas Votruba
5cb49a2d5a
[PSR-4] Move from FileSystemRector to FileWithoutNamespace node ( #4372 )
2020-10-08 23:28:24 +02:00
TomasVotruba
44d6bc1195
update yaml params to php params
2020-10-07 15:41:19 +02:00
dobryy
a6444fb801
[DX] Configurable rule must have configure code sample, and vice versa ( #4174 )
...
* [DX] Configurable rule must have configure code sample, and vice versa
* Add ConfiguredCodeSample
* heredocs
* code sample
* fix class
* drop AbstractConfigurableMatchTypeRector
Co-authored-by: TomasVotruba <tomas.vot@gmail.com>
2020-09-11 11:21:48 +02:00
Tomas Votruba
7ac228c638
[CI] Add type-declaration set ( #4089 )
...
* [CI] Add type-declaration set
* [rector] [CI] Add type-declaration set
* [cs] [CI] Add type-declaration set
* skip nullable void
* add anonymous parent/interface support
* refactor MultiExceptionCatchRector to use Catch_ over integers
* type fixes
* fix unoin array type override
* remove unused test cases
* drop overcomplicated InlineValidationRulesToArrayDefinitionRector
* skip assign on var
* [rector] skip assign on var
* [cs] skip assign on var
* [rector] [cs] skip assign on var
* skip assign on var
* fixes
* [rector] fixes
* [cs] fixes
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-01 17:56:30 +00:00
Tomas Votruba
042f08f71b
Drop YAML config support ( #4081 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-30 23:29:39 +02:00
Tomas Votruba
fa9f618866
skip configure unless in tests ( #3907 )
2020-08-04 19:12:46 +00:00
TomasVotruba
fe72e003ed
use constants in configs
2020-07-30 13:53:53 +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
b045b316e8
[config] switch packages config from YAML to PHP
2020-07-16 12:40:57 +02:00
TomasVotruba
9808601d1b
move array re-index to printer
2020-06-21 11:51:50 +02:00
TomasVotruba
fac932a8bd
cleanup
2020-06-21 11:46:52 +02:00
TomasVotruba
379aa80679
cleanup AbstractFileSystemRector
2020-06-21 11:34:08 +02:00
TomasVotruba
ff4c3cc8ce
decopule NodesWithFileDestinationPrinter
2020-06-21 02:31:27 +02:00
rector-bot
7c9fe78b07
fixup! fixup! decopule AbstractFileMovingFileSystemRector
2020-06-19 16:06:27 +00:00
rector-bot
ea2f59e864
fixup! decopule AbstractFileMovingFileSystemRector
2020-06-19 16:05:33 +00:00
TomasVotruba
97a50186f0
decopule AbstractFileMovingFileSystemRector
2020-06-19 18:01:50 +02:00
TomasVotruba
715f87aff0
add test case for RenameTesterTestToPHPUnitToTestFileRector
2020-06-19 16:05:13 +02:00
TomasVotruba
9f3fb6eb19
add ParsedStmtsAndTokens value object
2020-06-19 12:51:05 +02:00
TomasVotruba
eaf615c44e
remove MoveAndRenameClassRector, confusing, preffer class rename
2020-06-18 22:51:17 +02:00
TomasVotruba
14a72f15d8
remove MoveAndRenameNamespaceRector, not tested and not working, prefer class rename
2020-06-18 22:34:25 +02:00
TomasVotruba
dba3e4429a
use file info
2020-06-18 21:43:50 +02:00
TomasVotruba
48bbc835b1
add TokensByFilePathStorage
2020-06-18 21:10:41 +02:00
TomasVotruba
bcb0a642d5
add class-rename to MoveInterfacesToContractNamespaceDirectoryRector
2020-06-16 23:54:15 +02:00
TomasVotruba
b5f0129c84
complete missing code samples
2020-06-16 16:20:17 +02:00
TomasVotruba
af0358998b
fix static to explicit type
2020-05-29 11:38:32 +02:00
TomasVotruba
f63e4424b8
move MultipleClassFileToPsr4ClassesRector to PSR4
2020-05-10 00:54:56 +02:00
TomasVotruba
1bf62ac1c7
[cs] sort private methods by call order and property by complexity
2020-04-26 02:57:47 +02:00
TomasVotruba
1ecd30818a
remove unused print method
2020-04-20 09:45:15 +02:00
TomasVotruba
5f4a2c1e3b
Add changed files caching
2020-04-20 01:54:17 +02:00
TomasVotruba
538a5ac95e
use FileInfo in Parser
2020-04-19 23:22:07 +02:00
TomasVotruba
192c4464ec
various improvements
2020-04-19 23:17:01 +02:00
TomasVotruba
d0b5971a77
remove nodes in post process in filesystem too
2020-04-10 12:48:42 +02:00
TomasVotruba
9adff0a459
set current rector on FileSystemFileProcessor
2020-04-10 12:22:28 +02:00
TomasVotruba
626287ec76
apply privatization
2020-03-29 00:06:05 +01:00
TomasVotruba
15283616a4
add current file info provide to file system file processor
2020-03-09 17:53:16 +01:00
TomasVotruba
7f2b0afd7d
rename package to use lowercased standard, prevent confusion with PSR-4 autoloaded
2020-02-07 16:11:43 +01:00