7505 Commits

Author SHA1 Message Date
Ondrej Mirtes
eade304bc5
PHPStan - require dev version 2020-02-08 20:00:10 +01:00
Tomas Votruba
71ef2fff57
Merge pull request #2813 from rectorphp/fix-encapsed
Fix encapsed
2020-02-08 14:17:49 +01:00
TomasVotruba
d4c8fbd88f fix enscaped type resolution 2020-02-08 14:17:03 +01:00
Tomas Votruba
7f453d2d6f
Merge pull request #2812 from rectorphp/fix-array-merge
[PHP 74] Fix ArraySpreadInsteadOfArrayMergeRector for non-constant string keys
2020-02-08 14:14:40 +01:00
TomasVotruba
5ad0771013 [PHP 74] Fix ArraySpreadInsteadOfArrayMergeRector for non-constant string keys 2020-02-08 14:08:56 +01:00
Tomas Votruba
03e1535d84
Merge pull request #2811 from snapshotpl/phpunit9
Add support for phpunit 9
2020-02-07 21:48:03 +01:00
Witold Wasiczko
09e744614c
Add support for phpunit 9 2020-02-07 20:46:43 +01:00
TomasVotruba
6ee4e7c65f workflows: disable docker push until phsptan si fixed 2020-02-07 16:39:53 +01:00
Tomas Votruba
025c9fe590
Merge pull request #2810 from rectorphp/package-naming
rename package to use lowercased standard, prevent confusion with PSR-4
2020-02-07 16:21:06 +01:00
TomasVotruba
7f2b0afd7d rename package to use lowercased standard, prevent confusion with PSR-4 autoloaded 2020-02-07 16:11:43 +01:00
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