TomasVotruba
8f1208d18b
drop preg_match support from StrContains, too vague
2020-03-27 15:20:20 +01:00
Tomas Votruba
8406192dca
[DeadCode] Add RemoveAssignOfVoidReturnFunctionRector ( #3068 )
2020-03-25 22:51:12 +01:00
Tomas Votruba
5204ce1523
[DeadCode] Add RemoveUnusedNonEmptyArrayBeforeForeachRector ( #3066 )
2020-03-25 19:00:26 +01:00
TomasVotruba
6a0551f004
[DeadCode] Add RemoveUnusedFunctionRector
2020-03-25 12:50:51 +01:00
TomasVotruba
d608507f2e
rename PHP sets to comply with standard
2020-03-24 23:44:42 +01:00
TomasVotruba
5cc6cdfb2b
fix set location
2020-03-16 13:13:16 +01:00
nightlinus
e2b5ff1df2
SpecificAssertContainsWithoutIdentityRector: add phpunit 9 compatibility rector
...
As of https://github.com/sebastianbergmann/phpunit/issues/3426 assertContains() and assertNotContains() will perform strict comparisons starting with PHPUnit 9 where non-strict comparisons were performed in PHPUnit 8 and earlier; assertContainsEqual() and assertNotContainsEqual() should be used instead if needed non-strict comparison
2020-03-15 12:16:55 +03:00
TomasVotruba
27c0cd0576
remove dead dir
2020-03-04 00:46:09 +01:00
TomasVotruba
e29f8fafab
[DeadCode] Add RemoveDuplicatedIfReturnRector
2020-02-28 00:08:53 +01:00
TomasVotruba
3e7e3bf7dc
add project_type
2020-02-25 21:43:29 +01:00
TomasVotruba
8e131ccb26
add codeigniter 40 set
2020-02-25 00:29:01 +01:00
TomasVotruba
25aca8b774
[MysqlToMysqli] Add MysqlQueryMysqlErrorWithLinkRector
2020-02-23 23:13:49 +01:00
TomasVotruba
f7aefc68b8
[DeadCode] Add RemoveUnusedVariableAssignRector
2020-02-23 22:36:23 +01:00
TomasVotruba
4f86ccc349
remove dead constants
2020-02-23 22:22:12 +01:00
TomasVotruba
c2b89700a3
[DeadCode] Add RemoveUnusedClassConstantRector
2020-02-23 22:07:19 +01:00
TomasVotruba
735be73800
[SOLID] Add ChangeNestedForeachIfsToEarlyContinueRector
2020-02-22 16:04:15 +01:00
TomasVotruba
93633a4c04
[CodeQuality] Add InlineIfToExplicitIfRector
2020-02-22 13:07:36 +01:00
TomasVotruba
0e61d7e96f
[CodingStyle] Add CamelCaseFunctionNamingToUnderscoreRector
2020-02-21 02:50:54 +01:00
TomasVotruba
1ad8f08ccd
[SOLID] Add ChangeReadOnlyVariableWithDefaultValueToConstantRector
2020-02-18 23:59:07 +01:00
alfredbez
2cd3761661
added rector to replace oxid backwards-compatability classes
2020-02-18 12:10:03 +01:00
Ivo Toman
bb059a74db
Update set for transforming Kdyby\Translation to Contributte\Translation
2020-02-17 16:20:04 +01:00
TomasVotruba
00a3fb3a17
[SOLID] Add ChangeReadOnlyPropertyWithDefaultValueToConstantRector
2020-02-14 17:08:51 +01:00
TomasVotruba
af90cba019
[DeadCode] Add RemoveDeadTryCatchRector
2020-02-14 15:48:45 +01:00
TomasVotruba
d4a32b4e1b
improve create command
2020-02-14 15:48:45 +01:00
alfredbez
462cd0dc5d
added first OXID rector
2020-02-14 09:27:11 +01:00
TomasVotruba
4e37157a88
fix non-Rector locations
2020-02-13 23:44:04 +01:00
TomasVotruba
09cf6f8a4a
move core architecture to own set
2020-02-13 14:44:36 +01:00
TomasVotruba
3e5dd77bb6
move Rector-rule based packages from /packages to /rules
2020-02-11 13:41:37 +01:00
Mark Story
8053fcbefe
Fix replacement for Table::buildRules()
...
I got this wrong last time. Refs cakephp/cakephp#14250
2020-02-06 19:30:36 -05:00
TomasVotruba
607358a8e1
move src classes to Rector\Core namespace to prevent duplications
2020-02-07 00:57:45 +01:00
alfredbez
5ef6073711
feature: add rule to refactor exception methods
...
see: https://github.com/sebastianbergmann/phpunit/issues/3775
2020-02-03 10:07:34 +01:00
TomasVotruba
c1417eada6
[CakePHPToSymfony] Add CakePHPBeforeFilterToRequestEventSubscriberRector
2020-02-03 01:42:33 +01:00
TomasVotruba
ab89f4b780
[CakePHPToSymfony] Add CakePHPImplicitRouteToExplicitRouteAnnotationRector
2020-02-02 11:36:39 +01:00
TomasVotruba
c706d721a3
[DeadCode] increate deep chain limit to prevent used params bugs
2020-02-01 10:42:09 +01:00
TomasVotruba
a63038b95c
[CakePHPToSymfony] Add CakePHPModelToDoctrineRepositoryRector
2020-01-22 22:52:27 +01:00
TomasVotruba
934bfb691a
fix function autoload and exclude duplicated fixture from create command
2020-01-22 00:26:29 +01:00
TomasVotruba
4fce5091ae
move RectorGenerator to core code
2020-01-21 23:55:58 +01:00
TomasVotruba
1b052ca9b8
fix unloaded Rector utils
2020-01-21 18:30:02 +01:00
TomasVotruba
ed37a79209
[CakePHPToSymfony] Add CakePHPModelToDoctrineEntityRector
2020-01-21 14:32:51 +01:00
TomasVotruba
08567c2f6a
add c alias for create command, fix html input for code samples
2020-01-20 00:09:56 +01:00
TomasVotruba
81531b2669
[CakePHPToSymfony] Add CakePHPControllerRenderToSymfonyRector
2020-01-19 02:21:07 +01:00
TomasVotruba
37c342b654
[CakePHPToSymfony] Add CakePHPControllerRenderToSymfonyRector
2020-01-18 23:09:01 +01:00
TomasVotruba
70031e0b50
cleanup fixed phpstan reports
2020-01-18 22:59:20 +01:00
TomasVotruba
0b3a468dfa
[CakePHPToSymfony] Add CakePHPControllerRedirectToSymfonyRector
2020-01-18 21:58:00 +01:00
TomasVotruba
a60e526722
[CakePHPToSymfony] Add CakePHPControllerComponentToSymfonyRector
2020-01-18 18:50:03 +01:00
TomasVotruba
22cbd150e8
[CakePHPToSymfony] Add CakePHPControllerHelperToSymfonyRector
2020-01-18 18:50:03 +01:00
TomasVotruba
95b5486747
[CakePHPToSymfony] Add CakePHPControllerActionToSymfonyControllerActionRector
2020-01-18 18:50:03 +01:00
TomasVotruba
6627ced1f7
drop linter, slow and already covered by php-parser
2020-01-18 00:35:10 +01:00
TomasVotruba
f9f62aa311
remove unused parameter
2020-01-18 00:21:26 +01:00
TomasVotruba
e4f1380c19
Add PHP linter
2020-01-17 16:43:25 +01:00