5549 Commits

Author SHA1 Message Date
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
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
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
Tomáš Votruba
b2ed5c77df
add xToOne relation support to Doctrine var type resolver (#1789)
add xToOne relation support to Doctrine var type resolver
2019-08-01 14:10:39 +02:00
Tomas Votruba
5a0258cc55 [CodingStyle] remove extra break from BinarySwitchToIfElseRector 2019-08-01 14:09:18 +02:00
Tomáš Votruba
4bd48c4983
fix laravel53 config (#1790)
fix laravel53 config
2019-08-01 14:08:43 +02:00
Tomas Votruba
3ff942ae51 fix laravel53 config 2019-08-01 14:06:08 +02:00
Tomas Votruba
977a6c02de add xToOne relation support to Doctrine var type resolver 2019-08-01 14:04:52 +02:00
Tomáš Votruba
f1decfd723
Merge pull request #1788 from rectorphp/infer-return
infer from @return doc type in PropertyTypeDeclaratoin
2019-08-01 11:56:33 +02:00
Tomas Votruba
09708aabe9 fix incorrect null 2019-08-01 11:12:37 +02:00
Tomas Votruba
aeb101312e re-use function return type resolving 2019-08-01 10:18:30 +02:00
Tomas Votruba
310ef2ae6e infer from @return doc type in PropertyTypeDeclaratoin 2019-08-01 10:04:49 +02:00
Tomáš Votruba
fcf3409584
Merge pull request #1787 from rectorphp/nullable-return
add return nullable type to GetterOrSetterPropertyTypeInferer
2019-08-01 01:03:21 +02:00
Tomas Votruba
bf2faee295 add return nullable type to GetterOrSetterPropertyTypeInferer 2019-08-01 01:02:23 +02:00
Tomáš Votruba
a3615948bc
Merge pull request #1786 from rectorphp/typed-complex
add priority to PropertyTypeInfererInterface and put doctrine infering first
2019-08-01 00:36:42 +02:00
Tomas Votruba
4e8ff948d8 add priority to PropertyTypeInfererInterface and put doctrine infering first 2019-08-01 00:28:31 +02:00
Tomáš Votruba
6ebd32d327
[TypeDeclaration] Add PropertyTypeDeclarationRector (#1781)
[TypeDeclaration] Add PropertyTypeDeclarationRector
2019-07-30 13:41:31 +02:00
Tomáš Votruba
ab5fb1f551
[Symfony] Fix frozen parameter bag in DefaultAnalyzedSymfonyApp… (#1782)
[Symfony] Fix frozen parameter bag in DefaultAnalyzedSymfonyApplicationContainer
2019-07-30 13:32:55 +02:00
Tomas Votruba
bc34d7895a set kernel and dummy id parameter to app symfony container 2019-07-30 13:27:08 +02:00
Tomas Votruba
4a6c54bd39 [TypeDeclaration] Add PropertyTypeDeclarationRector 2019-07-30 13:19:16 +02:00
Tomáš Votruba
afb8984a5a
[NodeTypeResolver] drop duplicated generic array type (#1780)
[NodeTypeResolver] drop duplicated generic array type
2019-07-29 11:54:14 +02:00
Tomas Votruba
4dd2b52f2b [NodeTypeResolver] drop duplicated generic array type 2019-07-29 11:50:42 +02:00
Tomáš Votruba
d075842d61
Merge pull request #1779 from hernst42/master
FIXED: Catastrophic backtracking in regular expression if the current…
2019-07-29 10:30:11 +02:00
Jürgen Henge-Ernst
f161b74939 FIXED: Catastrophic backtracking in regular expression if the current text pattern contains lot of white spaces 2019-07-29 10:12:47 +02:00
Tomáš Votruba
cf7bbef342
Merge pull request #1777 from rectorphp/constant-array-unique
make constant array types unique
2019-07-28 18:14:56 +02:00
Tomas Votruba
e147731771 make constant array types unique 2019-07-28 18:10:15 +02:00
Tomáš Votruba
d9977916b3
Merge pull request #1776 from rectorphp/phpunit-mock-types
[NodeTypeResolver] Add phpunit extension
2019-07-28 17:49:11 +02:00
Tomas Votruba
c7a3d5d8fd improve preslashing for intersection types in DocBlockManipulator 2019-07-28 15:58:54 +02:00
Tomas Votruba
cbb0c5ebc6 add IntersectionType to StaticTypeToStringResolver 2019-07-28 15:52:31 +02:00
Tomas Votruba
9e090281fc [NodeTypeResolver] Add phpunit extension 2019-07-28 15:46:37 +02:00
Tomáš Votruba
59dd10fcb5
Merge pull request #1774 from rectorphp/resolve-empty-array-string
add empty array to static type to string resolver
2019-07-28 13:14:48 +02:00
Tomas Votruba
a093e6a951 add empty array to static type to string resolver 2019-07-28 12:00:12 +02:00
Tomas Votruba
3b76ef97c6 add FQN-by defaultn ote 2019-07-28 11:10:18 +02:00
Tomáš Votruba
8f30925bf5
fix type analyzer for FQN (#1772)
fix type analyzer for FQN
2019-07-27 20:58:03 +02:00
Tomas Votruba
7337a292ec fix type analyzer for FQN 2019-07-27 20:57:42 +02:00