7172 Commits

Author SHA1 Message Date
Dorian Villet
0f3fc569f2 Split fixtures. 2020-01-14 21:52:25 +01:00
Dorian Villet
4ba637f9a2 Merge remote-tracking branch 'origin/master' into AddArrayReturnDocTypeRector/fix-iterable-mixed 2020-01-14 13:17:55 +01:00
Tomas Votruba
8429a8e9f2
Update rector-prefixed only on push to master (#2659)
Update rector-prefixed only on push to master
2020-01-14 13:04:27 +01:00
Lctrs
c368fd821e
Update rector-prefixed only on push to master 2020-01-14 12:46:54 +01:00
Tomas Votruba
16b16d847b
Merge pull request #2657 from Lctrs/reflection-provider
Migrate from PHPStan's Broker to ReflectionProvider
2020-01-13 15:47:33 +01:00
Lctrs
173e3ddf15 Migrate from PHPStan's Broker to ReflectionProvider 2020-01-13 14:34:18 +01:00
Tomas Votruba
31bc254ceb
Merge pull request #2654 from rectorphp/polyfill-php
[Polyfill] Add UnwrapFutureCompatibleIfPhpVersionRector
2020-01-13 02:50:11 +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
Tomas Votruba
76a2fc5ec9
Add PHPStanAttributeTypeSyncer (#2649)
Add PHPStanAttributeTypeSyncer
v0.6.10
2020-01-12 23:41:49 +01:00
TomasVotruba
0afb435a07 composer: bump phpstan to 0.12.5 2020-01-12 23:34:34 +01:00
TomasVotruba
6b6350d2bc separate 2020-01-12 23:34:34 +01:00
TomasVotruba
1b6f616cf9 import names 2020-01-12 23:34:34 +01:00
TomasVotruba
ef982e3df3 remove old manual nodes 2020-01-12 22:42:38 +01:00
TomasVotruba
ded6e13996 fix cs 2020-01-12 22:42:38 +01:00
TomasVotruba
1735c0366d add type 2020-01-12 21:42:20 +01:00
TomasVotruba
efabe2d986 move usage from BetterPhpDocParser ast nodes to AttributeAwarePhpDoc 2020-01-12 21:42:20 +01:00
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