5581 Commits

Author SHA1 Message Date
Tomas Votruba
fb8af74d4a add spaceflow sponsor 2019-08-06 14:08:56 +02:00
Tomas Votruba
6000b30369 [DeadCode] Add RemoveSetterOnlyPropertyAndMethodCallRector 2019-08-06 12:50:53 +02:00
Tomáš Votruba
5400d6c5c1
add removed nodes collector (#1818)
add removed nodes collector
2019-08-06 10:20:41 +02:00
Tomas Votruba
fc6e80c814 fix scope resolver files for tests 2019-08-06 10:13:11 +02:00
Tomas Votruba
0f60135b08 add removed nodes collector 2019-08-06 09:37:31 +02:00
Tomáš Votruba
e5c0c5df03
Fix analysed files for PHPStan scope resolver (#1817)
Fix analysed files for PHPStan scope resolver
2019-08-06 09:20:11 +02:00
Tomas Votruba
11732c84e7 fix multiple trait analysis 2019-08-06 08:32:21 +02:00
Tomas Votruba
5c1de848e7 cleanup code 2019-08-06 08:32:21 +02:00
Tomáš Votruba
b95942aa2f
Improve PHPStan trait scope resolving (#1814)
Improve PHPStan trait scope resolving
2019-08-05 23:12:15 +02:00
Tomas Votruba
a20558e8d3 rebuilds docs [skip ci] 2019-08-05 23:10:47 +02:00
Tomas Votruba
a4302b44be Improve trait node scope resolving 2019-08-05 21:13:37 +02:00
Tomáš Votruba
3ecafd4054
Merge pull request #1813 from slepic/master
dont load phpstan-phpunit if phpunit not installed
2019-08-05 18:50:40 +02:00
slepic
8f16525c3f dont load phpstan-phpunit if phpunit not installed 2019-08-05 18:14:49 +02:00
Tomáš Votruba
59222aa086
[DeadCode] Add RemoveUnusedDoctrineEntityMethodAndPropertyRector (#1800)
[DeadCode] Add RemoveUnusedDoctrineEntityMethodAndPropertyRector
2019-08-05 16:55:42 +02:00
Tomas Votruba
9145e6685f composer: require nette/di to allow phpstan extension with Reference class 2019-08-05 16:50:34 +02:00
Tomas Votruba
d22f3d009c trait resolving can work with missing vendor parent class 2019-08-05 14:57:29 +02:00
Tomas Votruba
72b91209c7 [DeadCode] Add RemoveUnusedDoctrineEntityMethodAndPropertyRector 2019-08-04 23:39:48 +02:00
Tomáš Votruba
541ffe975c
Merge pull request #1808 from rectorphp/resolver
Correct NameResolver::getName() + cleanup static analysis
2019-08-04 20:50:19 +02:00
Tomas Votruba
02463d2bc3 cleanup phpstan errors 2019-08-04 20:49:03 +02:00
Tomas Votruba
201a8f31fa update getName() 2019-08-04 20:41:51 +02:00
Tomáš Votruba
eb0486ee03
add alias support to PropertyTypeDeclarationRector (#1807)
add alias support to PropertyTypeDeclarationRector
2019-08-04 15:00:24 +02:00
Tomas Votruba
6548c5e5fa add alias support to PropertyTypeDeclarationRector 2019-08-04 14:47:35 +02:00
Tomáš Votruba
368c8b79d5
use DateTimeInterface over DateTime (#1806)
use DateTimeInterface over DateTime
2019-08-04 14:22:31 +02:00
Tomáš Votruba
7b7daa242e
Merge pull request #1805 from rectorphp/doctrine-alias
resolve target entity from same namespace
2019-08-04 14:15:46 +02:00
Tomas Votruba
12ca3349ce resolve target entity from same namespace 2019-08-04 14:14:10 +02:00
Tomáš Votruba
3ca838735d
fix nullable array type param for PropertyTypeDeclarationRector (#1804)
fix nullable array type param for PropertyTypeDeclarationRector
2019-08-04 14:09:16 +02:00
Tomas Votruba
f929cea9b0 fix nullable array type param for PropertyTypeDeclarationRector 2019-08-04 13:53:50 +02:00
Tomáš Votruba
ccb47ac5b3
fix nullable for xToOne annotation by default (#1803)
fix nullable for xToOne annotation by default
2019-08-04 13:49:03 +02:00
Tomas Votruba
f3235553dd fix nullable for xToOne annotation by default 2019-08-04 13:38:42 +02:00
Tomáš Votruba
4097daa585
add iterable return type for yield values in ReturnTypeDeclarat… (#1802)
add iterable return type for yield values in ReturnTypeDeclarationRector
2019-08-04 13:18:58 +02:00
Tomas Votruba
1a085ce7e1 decouple same-entity-test case 2019-08-04 13:18:28 +02:00
Tomas Votruba
acc28ca681 split doctrine_relation test to toOne and toMany 2019-08-04 13:15:55 +02:00
Tomas Votruba
9410c0039e add iterable return type for yield values in ReturnTypeDeclarationRector 2019-08-04 13:05:40 +02:00
Tomáš Votruba
8b6eb0981c
Merge pull request #1799 from snapshotpl/iterable-function
Falling test: Iterable return type in function when yield used
2019-08-04 01:41:07 +02:00
Tomáš Votruba
023acabfde
Merge pull request #1798 from snapshotpl/constructor-with-alias-param
Falling test: invalid alias import to @var
2019-08-04 00:45:24 +02:00
Witold Wasiczko
fb72139d27 Iterable return type in function when yield used 2019-08-04 00:42:18 +02:00
Witold Wasiczko
28dc08049d
Merge branch 'master' into constructor-with-alias-param 2019-08-04 00:20:02 +02:00
Tomáš Votruba
d738cbb43e
Merge pull request #1796 from bendavies/PropertyTypeDeclarationRector-doctrine-ManyToOne-nullable-default
failing testcase for PropertyTypeDeclarationRector
2019-08-04 00:19:50 +02:00
Tomáš Votruba
349b3e46e5
Merge pull request #1793 from snapshotpl/break-doctrine-relation-in-same-namespace
Break class name in @var when relation is defined in same namespace
2019-08-04 00:19:27 +02:00
Witold Wasiczko
99751e384c Falling test: aliased import invalid use in @var 2019-08-04 00:17:48 +02:00
Tomáš Votruba
65c97a8a74
Merge pull request #1797 from snapshotpl/nullable-array-param
Falling test: nullable array param generate wrong @var
2019-08-04 00:08:06 +02:00
Witold Wasiczko
31403d9e45
Update packages/TypeDeclaration/tests/Rector/Property/PropertyTypeDeclarationRector/Fixture/doctrine_relation.php.inc
Co-Authored-By: Tomáš Votruba <tomas.vot@gmail.com>
2019-08-04 00:03:20 +02:00
Ben Davies
4771774968 failing testcase for PropertyTypeDeclarationRector
Doctrine *ToOne are nullable by default
2019-08-03 23:02:27 +01:00
Witold Wasiczko
43354955bd Falling test: nullable array param generate wrong @var 2019-08-03 23:58:50 +02:00
Tomáš Votruba
a5a65d8ba3
fix method call type (#1794)
fix method call type
2019-08-03 18:21:36 +02:00
Tomas Votruba
2844f635cc fix method call type 2019-08-03 18:21:14 +02:00
Witold Wasiczko
81b657b335 Break class name in @var when relation is defined in same namespace 2019-08-03 17:00:04 +02:00
Tomas Votruba
02a7b1b9e3 use DateTimeInterface over DateTime 2019-08-01 18:31:49 +02:00
Tomas Votruba
2c67698a21 add PropertyTypeDeclarationRector to type-declaration set v0.5.9 2019-08-01 15:53:04 +02:00
Tomáš Votruba
01ca3aa1ef
[CodingStyle] remove extra break from BinarySwitchToIfElseRector (#1791)
[CodingStyle] remove extra break from BinarySwitchToIfElseRector
2019-08-01 14:17:57 +02:00