7305 Commits

Author SHA1 Message Date
TomasVotruba
8d00bd8e02 generate AttributeAware nodes + factories 2020-01-12 21:42:20 +01:00
TomasVotruba
464eb22030 Add PHPStanAttributeTypeSyncer 2020-01-12 21:42:19 +01:00
Tomas Votruba
f586d42b0f
[Doctrine 2.0] Add class rename set (#2648)
[Doctrine 2.0] Add class rename set
2020-01-12 12:45:13 +01:00
TomasVotruba
0004935965 add doctrine common 2.0 set + diff class extractor helper 2020-01-12 12:19:56 +01:00
Tomas Votruba
cd1f16192d
Test with Doctrine (#2635)
Test with Doctrine
2020-01-12 11:30:22 +01:00
TomasVotruba
51ce266eb4 test doctrine/orm 2020-01-12 11:26:27 +01:00
TomasVotruba
8aff7f4b4a use 4-space indent in actions 2020-01-12 01:05:11 +01:00
Tomas Votruba
5d71630ae6
Merge pull request #2646 from rectorphp/fix-var-const-unions
Fix Union Array type StaticTypeMapper to string
2020-01-12 00:53:26 +01:00
TomasVotruba
3fec96049b Add nested array const type 2020-01-12 00:49:54 +01:00
Tomas Votruba
0ea5e8df5b
Extend AddDoesNotPerformAssertionToNonAssertingTestRector by ca… (#2645)
Extend AddDoesNotPerformAssertionToNonAssertingTestRector by catching more test messages
2020-01-12 00:00:07 +01:00
TomasVotruba
4358dbc1a1 Extend AddDoesNotPerformAssertionToNonAssertingTestRector by catching more test messages 2020-01-11 23:56:53 +01:00
Tomas Votruba
8876a62deb
Merge pull request #2640 from gnutix/AddDoesNotPerformAssertionToNonAssertingTestRector/prophecy-failing-test
[AddDoesNotPerformAssertionToNonAssertingTestRector] Add failing test for Prophecy assertions.
2020-01-11 23:21:09 +01:00
Tomas Votruba
57b4359ce9
[CountOnNullRector] fix Rector applying on properties with phpd… (#2637)
[CountOnNullRector] fix Rector applying on properties with phpdocs array
2020-01-11 23:20:35 +01:00
TomasVotruba
cb96c8ef41 add few cake30 classes 2020-01-11 23:12:21 +01:00
Tomas Votruba
e33489001d
[CakePHP 3.0] add class renames (#2644)
[CakePHP 3.0] add class renames
2020-01-11 22:31:52 +01:00
TomasVotruba
db0876a0b4 add class renames 2020-01-11 22:20:45 +01:00
Tomas Votruba
d73b193e5b
[CakePHP 3.0] Add AppUsesStaticCallToUseStatementRector (#2643)
[CakePHP 3.0] Add AppUsesStaticCallToUseStatementRector
2020-01-11 22:19:25 +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
Tomas Votruba
9960874b70
use Github Actions to compiler and publish prefixed rector.phar (#2641)
use Github Actions to compiler and publish prefixed rector.phar
2020-01-11 16:39:42 +01:00
TomasVotruba
aa4d0017d0 use Github Actions to compile and publish prefixed rector.phar, coverage and the rest 2020-01-11 16:31:06 +01:00
Dorian Villet
58ac2cd797 [AddDoesNotPerformAssertionToNonAssertingTestRector] Add failing test for Prophecy assertions. 2020-01-11 14:48:17 +01:00
Tomas Votruba
413a348e00
[ForeachItemsAssignToEmptyArrayToAssignRector] apply on code it… (#2587)
[ForeachItemsAssignToEmptyArrayToAssignRector] apply on code it should not
2020-01-11 12:34:24 +01:00
Dorian Villet
f9b8a4102d Rename fixtures files. 2020-01-11 12:29:52 +01:00
Tomas Votruba
3f805d93c3
fix pattern miss matching (#2639)
fix pattern miss matching
2020-01-11 11:10:55 +01:00
Tomas Votruba
2e83fe78c1
[Php70] add a rector to pass only variables as arguments by ref… (#2546)
[Php70] add a rector to pass only variables as arguments by reference
2020-01-11 11:08:56 +01:00
TomasVotruba
16f32a05c5 fix pattern miss matching 2020-01-11 10:52:49 +01:00
Tomas Votruba
9cac83e364
[AddDoesNotPerformAssertionToNonAssertingTestRector] fix skippi… (#2636)
[AddDoesNotPerformAssertionToNonAssertingTestRector] fix skipping if annotation already exists (fixes infinite loop too)
2020-01-11 10:32:28 +01:00
Tomas Votruba
d31b77e779
Merge pull request #2638 from rectorphp/fix-non-compound
[CodingStyle] Prevent adding non-namespaced imports to non-namespaced class
2020-01-11 10:27:03 +01:00
TomasVotruba
23c0fb1d2a [CodingStyle] Prevent adding non-namespaced imports to non-namespaced class 2020-01-11 09:54:10 +01:00
Dorian Villet
0a64874194 Fix it. 2020-01-11 01:56:26 +01:00
Dorian Villet
28fb2aa3c3 Add broken tests for ForeachItemsAssignToEmptyArrayToAssignRector. 2020-01-11 01:47:14 +01:00
Dorian Villet
2108efd37e [CountOnNullRector] fix Rector applying on properties with phpdocs array. 2020-01-11 01:44:42 +01:00
TomasVotruba
4107774ffc use own name to publish phar 2020-01-11 01:14:03 +01:00
Tomas Votruba
779d154839
drop redundant interface and factory, remove symfony/var-dumper… (#2633)
drop redundant interface and factory, remove symfony/var-dumper from rector.phar
2020-01-11 01:08:23 +01:00
TomasVotruba
d0ad4cb06e try phar build 2020-01-11 01:08:09 +01:00
Dorian Villet
7eeee4f44e AddDoesNotPerformAssertionToNonAssertingTestRector: fix skipping if annotation already exists. Fixes #2634. 2020-01-11 01:04:44 +01:00
TomasVotruba
b827e2cfe9 remove var-dumper from rector.phar 2020-01-11 00:53:51 +01:00
TomasVotruba
acdeb51f0d decopuling composer.json modifying methods 2020-01-11 00:43:13 +01:00
TomasVotruba
a79e0a8887 drop redundant interface and factory 2020-01-11 00:43:13 +01:00
Dorian Villet
56c9d312ee Fix it. 2020-01-10 16:53:57 +01:00
Dorian Villet
e073b9ac01 Add failing test case for mixed[] (return array). 2020-01-10 16:49:03 +01:00
Dorian Villet
9874e80e7d Simplify the test case method for one that better illustrate the issue. 2020-01-10 16:42:01 +01:00
Dorian Villet
426dd6ab4b Fix CS. 2020-01-10 16:29:33 +01:00
Dorian Villet
8facc752a4 Fix AddArrayReturnDocTypeRector on @return iterable<mixed>. 2020-01-10 16:22:14 +01:00
Lctrs
85e73f9827 [Php70] add a rector to pass only variables as arguments by reference 2020-01-10 15:37:08 +01:00
Tomas Votruba
a21b805655
Add a --no-progress-bar option (inspired from ECS) for nicer CI… (#2629)
Add a --no-progress-bar option (inspired from ECS) for nicer CI output.
2020-01-10 15:10:19 +01:00
Dorian Villet
8787d375bf Add a --no-progress-bar option (inspired from ECS) for nicer CI output. 2020-01-10 15:06:05 +01:00
Tomas Votruba
532ce9e642
Merge pull request #2625 from C0pyR1ght/master
REAME changed URL to relative path
2020-01-10 10:37:01 +01:00
Luca Feiser
c6eb1967fd changed url to relative path 2020-01-10 09:43:15 +01:00