Tomas Votruba
42078c4127
Updated Rector to commit 08d73a1af5ebc77bf37e9854fc1aca76cd5fcbcb
...
08d73a1af5
[Printer] Apply configurable multiline on Fluent Method Call on print after method call created/re-printed (#5779 )
2024-03-28 16:05:42 +00:00
Tomas Votruba
695c190be3
Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
...
94b5561ca8
chore: bump min version of github actions (fix deprecations) (#5675 )
2024-03-01 20:02:28 +00:00
Tomas Votruba
7bb5d0c0c4
Updated Rector to commit 5b3d656a003e72540050d47e00285341a96b5796
...
5b3d656a00
[Custom] Add "detect-node" command to help with writing custom rules (#5576 )
2024-02-07 16:28:52 +00:00
Tomas Votruba
b0211bc3d8
Updated Rector to commit fa75fcf0d1445f90cff9199875aba352671795f9
...
fa75fcf0d1
[Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542 )
2024-02-01 23:54:40 +00:00
Tomas Votruba
94c55b84c0
Updated Rector to commit 1608ae8c9497bbfaf78ce54130ec304963ac6f2a
...
1608ae8c94
[Windows] Utilize Nette\Utils\FileSystem instead of Symfony\Component\Filesystem\Filesystem to write file (#5514 )
2024-01-28 22:41:37 +00:00
Tomas Votruba
e47a59adcc
Updated Rector to commit b107a16f98aecf2a5ff969e30ff48595daadc06d
...
b107a16f98
[Performance] Reduce repetitive FileSystem::read() on AbstractRectorTestCase (#5511 )
2024-01-28 03:50:21 +00:00
Tomas Votruba
bfa367259d
Updated Rector to commit 6d0abe7b49908c66940c7b4065cd28f0d66fbf45
...
6d0abe7b49
[Autoload] Remove src/core_namespace_aliases.php (#5476 )
2024-01-17 11:38:29 +00:00
Tomas Votruba
0d611d897a
Updated Rector to commit 07df7dc1a344c52711441149d61251a4fe10366d
...
07df7dc1a3
Remove collector interface and fix SpatieEnumClassToEnumRector already has underscore to double underscore (#5473 )
2024-01-16 10:21:57 +00:00
Tomas Votruba
ec3d78eef4
Updated Rector to commit 5a3a59c50c7810296274eb4408737c8f2f8921e7
...
5a3a59c50c
Remove collectors, as performance very costly and not practically useful (#5470 )
2024-01-15 22:10:40 +00:00
Tomas Votruba
c888002735
Updated Rector to commit 4005683997ceadfff65d19328e4eb2d0b5b3bbae
...
4005683997
[Scoper] Include src/core_namespace_aliases.php on last after project autoload (#5420 )
2024-01-02 13:36:58 +00:00
Tomas Votruba
7e7a2f067a
Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
...
476cfb00cb
disable fallback for now
2024-01-02 02:40:38 +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
2c120e283e
Inform about useless second part in tests fixture, after -----, if it is identical ( #4514 )
...
* embed skip fixture of same before/after
* [Testing] Add exception on identical second half of the fixture, that should not change
* [ci] use composer 2 for code_analysis
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-30 13:56:55 +00:00
Igor
35537dba84
[SOLID] Change if && to early return ( #4344 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-10 18:27:13 +02:00
Tomas Votruba
e47a806300
Remove AbstractFileSystemRector and move to AbstractRector ( #4378 )
2020-10-09 21:51:09 +02:00
Tomas Votruba
7d56318046
[Legacy] From file system Rector to classic Rector ( #4373 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-09 10:11:22 +02:00
Tomas Votruba
4f1beae3fd
[DX] Fix NoAbstractMethodRule cases ( #4180 )
...
* decouple IsAbleFuncCallInterface
* decouple WithFunctionToNetteUtilsStringsRectorInterface
* decouple NodeTraversableInterface
* decouple RectorInterfaceAwareInterface
* [ci] disable markdown check to prevent user bothering
2020-09-09 09:07:14 +00:00
dobryy
d40309963c
[Type Declaration] Create new unit test for ArrayTypeMapper with fixes ( #4054 )
...
* Create new unit test for ArrayTypeMapper with fixes
* Fix typo in method name that breaks all tests
* Remove skip too many fixtures to implement the fix for these fixtures as a next PR.
2020-08-29 10:41:19 +02:00
Tomas Votruba
190d7cf616
update ecs ( #4048 )
...
* remove array return
* misc
2020-08-28 23:10:00 +02:00
Tomas Votruba
7212366606
[Naming] Decouple RenameParamToMatchTypeRector ( #3906 )
...
* [Naming] Decouple RenameParamToMatchTypeRector
* remove overrlaping useless test fixtures
* [rector] remove overrlaping useless test fixtures
* [cs] remove overrlaping useless test fixtures
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-04 18:30:31 +00:00
TomasVotruba
ce480d3983
remove SplitLine value object
2020-07-30 16:40:34 +02:00
TomasVotruba
2291d5540a
decopule testing tools
2020-07-30 16:31:57 +02:00
TomasVotruba
2ad011673f
[PHP 7.0] Fix variable name on static call
2020-07-30 15:53:21 +02:00
TomasVotruba
fe72e003ed
use constants in configs
2020-07-30 13:53:53 +02:00
TomasVotruba
ccd630f808
code readability
2020-07-26 18:25:02 +02:00
TomasVotruba
8705aea928
update tests
2020-07-26 18:15:31 +02:00
TomasVotruba
0188d802d2
use SmartFileSystem over Nette FileSystem
2020-07-24 14:39:10 +02:00
TomasVotruba
e5d7cee695
move RectorConfigsResolver to bootstrap, fix paths
2020-07-22 00:55:22 +02:00
TomasVotruba
3a9375007e
decouple Set package
2020-07-21 01:39:24 +02:00
TomasVotruba
aeb7937972
add set constants + command to generate them
2020-07-20 01:00:49 +02:00
TomasVotruba
9c7cbc65ad
[rector] apply on the rest
2020-07-19 21:05:14 +02:00
TomasVotruba
3353bc2ed4
update Fixture splitter class name
2020-07-04 17:23:50 +02:00
TomasVotruba
0e2b52000d
note about hashes in tests compoarision
2020-07-02 14:19:23 +02:00
TomasVotruba
b5981133a9
[Decouple] Add DecoupleClassMethodToOwnClassRector
2020-06-28 14:13:29 +02:00
TomasVotruba
7f49658112
change test(string ) to test(SmartFileInfo ) in tests
2020-06-25 20:02:36 +02:00
TomasVotruba
f713c16afd
make use of Symplify/EasyTesting
2020-06-25 19:15:40 +02:00
TomasVotruba
c504062ec2
add typed property if on PHP 7.4
2020-06-24 15:09:50 +02:00
TomasVotruba
94cc4e84e8
add rename class support in twig/latte as well
2020-06-23 13:48:53 +02:00
Vladyslav Startsev
9eb94a9a68
added support post class move rename in XML files
2020-06-22 01:01:17 +03:00
TomasVotruba
baee588461
add rename neon/yaml file content case
2020-06-21 19:03:39 +02:00
TomasVotruba
bf3c9396d3
change trait to class
2020-06-21 14:04:04 +02:00
TomasVotruba
34c40428f3
add VIRTUAL_NODE constant, prevent double post traversing nodes
2020-06-19 01:35:11 +02:00
TomasVotruba
1dd4c70483
Add test case for #3514
2020-06-15 17:44:25 +02:00
TomasVotruba
df3c56f616
make FixtureSplitter return SmartFileInfo
2020-05-31 14:23:34 +02:00
TomasVotruba
f27f50bf9c
rework AbstractRunnableRectorTestCase from eval to include
2020-05-31 14:11:04 +02:00
TomasVotruba
cf3198a8f1
fix node print testing
2020-05-28 01:28:37 +02:00
TomasVotruba
47e163dbe7
[NetteKdyby] Add ReplaceMagicPropertyEventWithEventClassRector
2020-05-25 13:05:22 +02:00
TomasVotruba
beeb9b3458
remove dead-comment
2020-05-24 18:52:54 +02:00
TomasVotruba
cc55918bd3
remove constant warmup from AbstractRectorTestCase
2020-05-21 15:04:07 +02:00
TomasVotruba
292ba9d4db
fix race-conditions in tests
2020-05-19 12:29:08 +02:00