2296 Commits

Author SHA1 Message Date
Tomáš Votruba
534e688fba
Merge pull request #392 from rectorphp/php-parser-v401
Use BuilderFactory new methods
2018-04-02 11:13:12 +02:00
Tomáš Votruba
76d6575029
Merge branch 'master' into php-parser-v401 2018-04-02 11:11:07 +02:00
Tomáš Votruba
0c835da0cf
Merge pull request #330 from rectorphp/php-parser-v4
Update to PHP-Parser v4
2018-04-02 11:10:34 +02:00
Tomáš Votruba
84f3574d3f
Merge branch 'master' into php-parser-v4 2018-04-02 11:07:24 +02:00
Gabriel Caruso
8e2eb41d2f
Require php-parser:^4.0.1 2018-04-02 06:04:50 -03:00
Gabriel Caruso
7337f26b1a
Ignore BuilderFactory PHPStan errors
Looks like BuilderFactory is miss configured
2018-04-02 06:03:06 -03:00
Gabriel Caruso
e161c1da29
Use BuilderFactory new methods 2018-04-02 06:03:05 -03:00
Gabriel Caruso
bb78d043b4
Remove unused method NodeFactory::createFalseConstant 2018-04-02 06:03:05 -03:00
Tomáš Votruba
a503e19e86
Merge pull request #396 from rectorphp/bump-dependencies
Bump rector/better-reflection
2018-04-02 11:01:52 +02:00
Tomáš Votruba
256a070fdd
Merge pull request #395 from rectorphp/fix-tests
Skip more PHP 7.1 or lower tests
2018-04-02 11:01:30 +02:00
Gabriel Caruso
9e3b623ff0
Bump rector/better-reflection 2018-04-01 20:45:25 -03:00
Gabriel Caruso
a18780755c
Skip more PHP 7.1 or lower tests 2018-04-01 20:41:41 -03:00
Tomáš Votruba
c7b5b677b3
Merge pull request #374 from rectorphp/phpunit
[PHPUnit] Safe way to check if a class is a Test class
2018-04-02 00:59:37 +02:00
Tomáš Votruba
2d5dc7db49
Merge pull request #376 from rectorphp/shortcuts
Add shortcuts for levels and config
2018-04-02 00:58:57 +02:00
Gabriel Caruso
0ea360fca0
[Tests] Skip tests that require PHP 7.1 or lower 2018-04-01 19:58:42 -03:00
Tomáš Votruba
69394602d3
Merge pull request #394 from rectorphp/nette-tests
[Tests] Skip tests that require PHP 7.1 or lower
2018-04-02 00:57:08 +02:00
Gabriel Caruso
8e6626925a
[Tests] Skip tests that require PHP 7.1 or lower 2018-04-01 19:55:30 -03:00
Gabriel Caruso
b46d2aa285
Use commit version 2018-04-01 16:44:26 -03:00
Gabriel Caruso
845590d1e2
Use string instead of ::class when looking for TestCase 2018-03-31 17:02:36 -03:00
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