7495 Commits

Author SHA1 Message Date
TomasVotruba
cc75b8b0af move stubs autoload after class autoload 2020-02-07 07:13:53 +01:00
Tomas Votruba
3e353feb88
Merge pull request #2808 from markstory/fix-buildrules
Fix replacement for Table::buildRules()
2020-02-07 07:02:08 +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
Tomas Votruba
525ed1e2cb
Merge pull request #2807 from rectorphp/core
Move src namespace frm Rector\ to Rector\Core\
2020-02-07 01:02:18 +01:00
TomasVotruba
607358a8e1 move src classes to Rector\Core namespace to prevent duplications 2020-02-07 00:57:45 +01:00
TomasVotruba
aa14cdd461 use FQN bin paths in composer.json for easier copy-paste 2020-02-07 00:09:31 +01:00
TomasVotruba
c9976ef43b Add YamlProcessor 2020-02-07 00:09:31 +01:00
TomasVotruba
9cb8a12ba6 init rename-core 2020-02-07 00:09:31 +01:00
TomasVotruba
2239b15487 add ScanClassesCommand 2020-02-06 17:30:09 +01:00
TomasVotruba
f47d1760b8 composer: add Core namespace to prevent collision 2020-02-06 17:30:09 +01:00
Tomas Votruba
eaab6649ca
Merge pull request #2800 from rectorphp/phpstan-phar-deps
Update to PHPStan 0.12.9 and fix scoping deps
2020-02-06 17:15:10 +01:00
TomasVotruba
9e0ca0f234 skip doctrine for now, impossible to fix 2020-02-06 17:09:57 +01:00
TomasVotruba
3b2cfbf2c7 fix array expr 2020-02-06 17:04:12 +01:00
TomasVotruba
e706559d1f add missing deps 2020-02-06 00:55:00 +01:00
Tomas Votruba
f64422c905
Merge pull request #2756 from staabm/patch-3
github-action: Annotate Github Pull Requests based on a Checkstyle X…
2020-02-05 18:27:03 +01:00
Markus Staab
18d6097da5
Revert phpstan.neon 2020-02-05 17:04:59 +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
Markus Staab
bf116bf9e2
Update phpstan.yaml 2020-02-05 10:17:12 +01:00
Markus Staab
0b6293fa3a
fix CS 2020-02-05 10:16:47 +01:00
Markus Staab
b599965435
use cs2pr baked into shivammathur/setup-php@v1
support was recently added with https://github.com/shivammathur/setup-php/releases/tag/1.8.2
2020-02-05 10:16:24 +01:00
TomasVotruba
1b45b08196 update to phpstan 0.12.9 2020-02-05 09:22:46 +01:00
TomasVotruba
51a5b21315 composer: use phpstan 0.12.8 2020-02-05 09:22:46 +01:00
TomasVotruba
629197465c mirror phpstan scoper.php.inc change 2020-02-05 09:22:46 +01:00
Tomas Votruba
41c874ad76
Merge pull request #2801 from rectorphp/php-doc-manipulator
Decouple DocBlockClassRenamer
2020-02-05 09:18:30 +01:00
TomasVotruba
6ecb72481a decopule PhpDocTypeRenamer 2020-02-05 09:07:44 +01:00
Tomas Votruba
62afe3ac26
Merge pull request #2802 from C0pyR1ght/C0pyR1ght-patch-1
added --config parameter to README
2020-02-05 08:22:42 +01:00
Luca Feiser
5f38637cae
added --config parameter 2020-02-04 22:03:27 +01:00
Tomas Votruba
688643f766
DocBlockManipulator decoupling (#2799)
DocBlockManipulator decoupling
2020-02-04 09:46:55 +01:00
TomasVotruba
af09937841 remove addTag() from DocBlockManipulator, decrease extra php doc nodes 2020-02-04 09:41:52 +01:00
TomasVotruba
21f906d77c use type interface in custom nodes 2020-02-04 09:22:07 +01:00
TomasVotruba
293c37f96a decopule type detection in phpdoc 2020-02-04 09:11:39 +01:00
TomasVotruba
2500363bc6 move hasTag from DocBlockManipulator 2020-02-04 08:54:00 +01:00
TomasVotruba
7f29fde465 extract docblock importer from docblock manipulator 2020-02-04 08:46:16 +01:00
TomasVotruba
fa9bbbd8b0 fixup! Merge pull request #2798 from rectorphp/remove-nullables-phpdoc 2020-02-04 08:37:02 +01:00
Tomas Votruba
78dae63de8
Merge pull request #2798 from rectorphp/remove-nullables-phpdoc
Remove nullable PhpDoc
2020-02-04 08:16:29 +01:00
TomasVotruba
5e238cc3b1 use PhpDocInfo by default 2020-02-04 07:39:16 +01:00
Tomas Votruba
a7b4596fd8
Merge pull request #2797 from rectorphp/phpdoc-info
[PhpDoc] Add by PhpDocInfo to empty nodes as well
2020-02-03 18:52:32 +01:00
TomasVotruba
71332ebd41 use PhpDocInfo by default 2020-02-03 18:47:03 +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
Tomas Votruba
650279493e
Merge pull request #2795 from rectorphp/cake-before-sub
[CakePHPToSymfony] Add CakePHPBeforeFilterToRequestEventSubscriberRector
2020-02-03 01:45:32 +01:00
TomasVotruba
c1417eada6 [CakePHPToSymfony] Add CakePHPBeforeFilterToRequestEventSubscriberRector 2020-02-03 01:42:33 +01:00
Tomas Votruba
697a1f5021
Merge pull request #2794 from rectorphp/cakephp-before-request
Improve generate command to work with extra files
2020-02-02 18:43:04 +01:00
TomasVotruba
db51ada1ab generate update 2020-02-02 18:37:07 +01:00
TomasVotruba
447c2ead87 naming conventions for test fixtures 2020-02-02 18:37:04 +01:00
TomasVotruba
9cf045561f improve create rector command 2020-02-02 18:37:04 +01:00
Tomas Votruba
29c8de530b
Merge pull request #2792 from rectorphp/cake-route
decopule ImplicitToExplicitRoutingAnnotationDecorator
2020-02-02 12:41:27 +01:00
TomasVotruba
3934975e44 decopule ImplicitToExplicitRoutingAnnotationDecorator 2020-02-02 12:35:38 +01:00
Tomas Votruba
7dccdd4583
Merge pull request #2791 from rectorphp/cs-check
apply method and property order
2020-02-02 12:27:14 +01:00
TomasVotruba
1dda9804f5 apply property and method order 2020-02-02 12:14:43 +01:00
Tomas Votruba
9ac6f39c34
Merge pull request #2790 from rectorphp/cakephp-routes-to-explicit
[CakePHPToSymfony] Add CakePHPImplicitRouteToExplicitRouteAnnotationRector
2020-02-02 11:45:15 +01:00