346 Commits

Author SHA1 Message Date
TomasVotruba
401d0aeaf6 fix namespaces, fixtures, add getThrowsTypes() 2020-02-14 23:35:40 +01:00
Tomas Votruba
5113d23776
Merge branch 'master' into 2824-annotate-throwables 2020-02-14 20:34:43 +01:00
Aerendir
f3449d886f Prepare to manage the other cases. 2020-02-14 17:29:16 +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
86bcb6eb7b fix cs 2020-02-13 22:48:16 +01:00
TomasVotruba
42c5141d70 [Renaming] Add RenameFuncCallToStaticCallRector 2020-02-13 17:12:38 +01:00
TomasVotruba
09cf6f8a4a move core architecture to own set 2020-02-13 14:44:36 +01:00
Tomas Votruba
6d944620b4
Merge pull request #2821 from vladyslavstartsev/setParameters-to-ArrayCollection
rector for doctrine setParameters method
2020-02-12 10:48:37 +01:00
Aerendir
12670ed9df #2824: Automatically add to DocBlock comments the thrown \Throwables. 2020-02-12 00:57:48 +01:00
TomasVotruba
8eabb25880 fix docs generator 2020-02-11 14:49:32 +01:00
Vladyslav Startsev
118cfd282e implemented basic of moving from array to ArrayCollection in setParameters method.
Only works in if you extend basic EntityRepository, but for all types
(Doctrine\ORM\Query, Doctrine\ORM\NativeQuery, Doctrine\ORM\QueryBuilder)
2020-02-11 00:12:01 +02:00
TomasVotruba
c52f03a019 [ECS] Remove cognitive complexity ignores 2020-02-09 23:13:12 +01:00
TomasVotruba
607358a8e1 move src classes to Rector\Core namespace to prevent duplications 2020-02-07 00:57:45 +01:00
Tomas Votruba
abbce32db9
Merge pull request #2784 from alfredbez/feature-add-phpunit90-rule-to-refactor-exception-methods
feature: add rule to refactor exception methods
2020-02-05 16:57:37 +01:00
TomasVotruba
293c37f96a decopule type detection in phpdoc 2020-02-04 09:11:39 +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
db51ada1ab generate update 2020-02-02 18:37:07 +01:00
TomasVotruba
ab89f4b780 [CakePHPToSymfony] Add CakePHPImplicitRouteToExplicitRouteAnnotationRector 2020-02-02 11:36:39 +01:00
TomasVotruba
a63038b95c [CakePHPToSymfony] Add CakePHPModelToDoctrineRepositoryRector 2020-01-22 22:52:27 +01:00
USAMI Kenta
d6effd60d4 Add SetcookieRector 2020-01-21 23:59:27 +09:00
TomasVotruba
ed37a79209 [CakePHPToSymfony] Add CakePHPModelToDoctrineEntityRector 2020-01-21 14:32:51 +01:00
TomasVotruba
89bfb7982e [CakePHPToSymfony] Add CakePHPTemplateHToTwigRector 2020-01-20 00:34:55 +01:00
Tomas Votruba
c66836a23d
Merge pull request #2710 from jeroensmit/splitIfs
Added more logic for if statement splitting
2020-01-19 10:32:25 +01:00
Jeroen Smit
4d986dd23c Added more logic for if statement splitting 2020-01-19 10:11:17 +01:00
TomasVotruba
e01b4e709c use pcov for coverage 2020-01-19 02:28:32 +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
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
C0pyR1ght
4980d18cb8
Changed ChangeMethodVisibilityRector yaml config
The example config resulted in an invalid yaml file with the current rector version.
´The configuration key "FrameworkClass" is unsupported for definition`
2020-01-17 11:02:39 +01:00
TomasVotruba
9944485d11 [PHPUnit] Add ClassMethod/RemoveEmptyTestMethodRector 2020-01-17 01:26:48 +01:00
Jeroen Smit
f0e3575846 updated docs 2020-01-15 21:40:44 +01:00
TomasVotruba
0bf8eb833d rebuid docs 2020-01-14 21:19:23 +01:00
TomasVotruba
a94dcb9f2a [Polyfill] Add UnwrapFutureCompatibleIfPhpVersionRector 2020-01-13 02:45:54 +01:00
TomasVotruba
a03f78027b rename UnwrapFutureCompatibleIfRector to UnwrapFutureCompatibleIfFunctionExistsRector 2020-01-13 00:03:10 +01:00
TomasVotruba
1b6f616cf9 import names 2020-01-12 23:34:34 +01:00
TomasVotruba
fa12a080e4 [CakePHP] Add ImplicitShortClassNameUseStatementRector 2020-01-11 22:14:25 +01:00
TomasVotruba
3050843a49 [CakePHP 3.0] Add AppUsesStaticCallToUseStatementRector 2020-01-11 22:14:25 +01:00
Lctrs
85e73f9827 [Php70] add a rector to pass only variables as arguments by reference 2020-01-10 15:37:08 +01:00
TomasVotruba
6071b994e7 update docs 2020-01-08 01:05:45 +01:00
TomasVotruba
06197d6cec update docs 2020-01-06 16:20:36 +01:00
TomasVotruba
8b533f7dd3 update docs [skip ci] 2020-01-05 00:18:57 +01:00
TomasVotruba
018fdf9340 update docs 2020-01-04 18:49:26 +01:00
TomasVotruba
e124806553 [CodeQuality] Add ChangeArrayPushToArrayAssignRector 2020-01-04 00:32:28 +01:00
TomasVotruba
88d3111975 update docs 2020-01-03 19:20:13 +01:00
TomasVotruba
8e588eb4bb update docs 2019-12-27 18:50:00 +01:00