2337 Commits

Author SHA1 Message Date
Gabriel Caruso
c922234715
Inject NodeTypeResolver in AbstractPHPUnitRector class 2018-03-31 17:01:38 -03:00
Gabriel Caruso
2cca204748
Use NodeTypeResolver 2018-03-31 17:01:37 -03:00
Gabriel Caruso
f99be18e2e
Add failing test for extend test classes 2018-03-31 17:01:37 -03:00
Gabriel Caruso
20f0bca837
[PHPUnit] Safe way to check if a class is a Test class 2018-03-31 17:01:37 -03:00
Tomáš Votruba
de119d314b
Merge pull request #391 from rectorphp/coding-standards
Remove dead coding standards rules
2018-03-31 22:00:32 +02:00
Gabriel Caruso
54f7b0fd15
Remove dead coding standards rules 2018-03-31 15:47:53 -03:00
Tomáš Votruba
9f4ca8071a
Merge pull request #381 from rectorphp/phpstan
Several fixes from PHPStan
2018-03-28 15:09:02 +02:00
Gabriel Caruso
91964cfb73
Remove dead rule 2018-03-28 09:16:44 -03:00
Gabriel Caruso
2486201254
Fix void return 2018-03-28 09:13:21 -03:00
Gabriel Caruso
05bc52eac5
Ignore false positive 2018-03-28 09:12:20 -03:00
Gabriel Caruso
32340bf952
Add # description 2018-03-28 09:12:20 -03:00
Gabriel Caruso
0484fc2253
Use MethodCall instead of Node as typehint 2018-03-28 09:12:20 -03:00
Gabriel Caruso
141593b058
Revert ClassLike change 2018-03-28 09:12:20 -03:00
Gabriel Caruso
968f6e45ea
Fix isCandidate annotations 2018-03-28 09:12:20 -03:00
Gabriel Caruso
ba1bb656ea
Several fixes from PHPStan 2018-03-28 09:12:19 -03:00
Tomáš Votruba
867af36a30
Merge pull request #388 from rectorphp/to-lower-string
Use toLowerString method
2018-03-28 14:08:45 +02:00
Gabriel Caruso
52dfd38b8c
Use toLowerString method 2018-03-28 08:55:34 -03:00
Gabriel Caruso
b2e9a57fa6
Fix NodeFactory::createClassConstant comment 2018-03-28 08:10:38 -03:00
Tomáš Votruba
5879fda22a
Merge pull request #379 from rectorphp/assert-instance-of
Make assertInstanceOf Rector smarter
2018-03-28 09:46:18 +02:00
Gabriel Caruso
04f5ee0521
Create NodeFactory::createRelativeClassConstantReference 2018-03-27 22:41:01 -03:00
Gabriel Caruso
51ed4a10a7
Use createClassConstanceReference 2018-03-27 22:41:01 -03:00
Gabriel Caruso
8436dfdf89
Make assertInstanceOf Rector smarter 2018-03-27 22:41:01 -03:00
Tomáš Votruba
30534c0aad
Merge pull request #378 from mssimi/get-to-const-bug-fix
AbstractToConstructorInjectionRector fix
2018-03-25 23:45:15 +02:00
Tomáš Votruba
ecd6fe3f5a
Merge pull request #384 from rectorphp/renamer
[IdentifierRenamer] Make use of renameNodeWithMap
2018-03-25 23:43:35 +02:00
Gabriel Caruso
ad3b947714
[IdentifierRenamer] Make use of renameNodeWithMap 2018-03-25 18:40:40 -03:00
Tomáš Votruba
deeee41b24
Merge pull request #380 from rectorphp/not-rector
[PHPUnit] Add AssertNotOperatorRector
2018-03-25 12:59:38 +02:00
Gabriel Caruso
6baf5ee193
[PHPUnit] Add AssertNotOperatorRector 2018-03-25 07:00:32 -03:00
Gabriel Caruso
8fc40fd5d3
Fix levels folder path in clean_levels.sh 2018-03-25 04:14:06 -03:00
mssimi
7df6e5db0f removed useless condition 2018-03-24 19:07:37 +01:00
mssimi
564891b86f fix AbstractToConstructorInjectionRector to work with class names in get arguments 2018-03-24 12:20:13 +01:00
Gabriel Caruso
1eecf5cf2b
Add shortcuts for levels and config 2018-03-21 17:10:46 -03:00
Eduard Barnáš
f9239c8eed Fix CS 2018-03-21 14:58:29 +01:00
Gabriel Caruso
13a3970f36
[CS] Move cast to variable attribution 2018-03-20 16:26:47 -03:00
Tomáš Votruba
30d9bf9faa
Merge pull request #372 from rectorphp/assert-count-complex
[PHPUnit] Fix assertCount with complex arguments wasn't been refactored
2018-03-20 20:07:36 +01:00
Gabriel Caruso
945c8aea2a
Fix assertCount with complex arguments wasn't been refactored 2018-03-20 15:45:06 -03:00
Tomáš Votruba
0cc9fdfc23
Merge pull request #371 from rectorphp/phpstan
Fix some PHPStan errors
2018-03-19 23:44:34 +01:00
Gabriel Caruso
f93a0f3f04
Fix some PHPStan errors 2018-03-19 16:17:53 -03:00
Tomáš Votruba
cd0a198f49
Merge pull request #370 from rectorphp/config-root
Move config to root level
2018-03-19 20:04:07 +01:00
Gabriel Caruso
94c1cc1f43
Move config/levels to root level 2018-03-19 13:54:31 -03:00
Eduard Barnáš
9cb92e9898 Fix static analyse bugs 2018-03-19 12:26:06 +01:00
Eduard Barnáš
9cc739aef6 Fix CS error 2018-03-17 14:53:55 +01:00
Eduard Barnáš
ac48a16d83 Fix static analyse bugs 2018-03-17 14:48:45 +01:00
Eduard Barnáš
7b22d885a6 Add static ReplaceCreateMethodWithoutReviewerRector 2018-03-16 18:55:08 +01:00
Tomáš Votruba
e4e1aeaecd
Merge pull request #366 from rectorphp/fix-is_a
Fix 3th argument of is_a
2018-03-16 16:19:26 +01:00
Gabriel Caruso
678f45f3ea
Fix 3th argument of is_a 2018-03-16 08:23:02 -03:00
Gabriel Caruso
59ab1a6ea7
Update to PHP-Parser v4 2018-03-16 07:59:37 -03:00
Tomáš Votruba
98fe2891e0
Merge pull request #362 from rectorphp/revert-359-symplify-4
Revert "Bump to Symplify 4-dev"
2018-03-13 22:42:49 +01:00
Tomáš Votruba
37e520407c
Revert "Bump to Symplify 4-dev" 2018-03-13 22:42:21 +01:00
Tomáš Votruba
0e3d394641
Merge pull request #360 from rectorphp/cakephp-set-fix
fix argument name for PropertyToMethodRector [closes #358]
2018-03-13 21:56:46 +01:00
TomasVotruba
c01ea37b35 fix in test as well 2018-03-13 21:47:35 +01:00