Tomas Votruba
|
f929cea9b0
|
fix nullable array type param for PropertyTypeDeclarationRector
|
2019-08-04 13:53:50 +02:00 |
|
Tomas Votruba
|
f3235553dd
|
fix nullable for xToOne annotation by default
|
2019-08-04 13:38:42 +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 |
|
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 |
|
Witold Wasiczko
|
81b657b335
|
Break class name in @var when relation is defined in same namespace
|
2019-08-03 17:00: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 |
|
Tomas Votruba
|
5a0258cc55
|
[CodingStyle] remove extra break from BinarySwitchToIfElseRector
|
2019-08-01 14:09:18 +02:00 |
|
Tomas Votruba
|
977a6c02de
|
add xToOne relation support to Doctrine var type resolver
|
2019-08-01 14:04:52 +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 |
|
Tomas Votruba
|
bf2faee295
|
add return nullable type to GetterOrSetterPropertyTypeInferer
|
2019-08-01 01:02:23 +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 |
|
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 |
|
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 |
|
Tomas Votruba
|
e147731771
|
make constant array types unique
|
2019-07-28 18:10:15 +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 |
|
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 |
|
Tomas Votruba
|
7337a292ec
|
fix type analyzer for FQN
|
2019-07-27 20:57:42 +02:00 |
|
Tomas Votruba
|
3ff7016618
|
fix multiple annotations in one filep
|
2019-07-27 13:02:32 +02:00 |
|
Tomas Votruba
|
8e09cef081
|
skip non-annotation prefix
|
2019-07-27 12:49:41 +02:00 |
|
Tomáš Votruba
|
756182c686
|
[Restoration] Return removed class annotations (#1769)
[Restoration] Return removed class annotations
|
2019-07-26 23:02:50 +02:00 |
|
Tomas Votruba
|
20a5763af5
|
[Restoration] Return removed class annotations
|
2019-07-26 22:55:21 +02:00 |
|
Joseph Bielawski
|
f5aee66f2f
|
[Symfony] Use Symfony bridge interface for doctrine service
Autowire is using `Symfony\Bridge\Doctrine\RegistryInterface` not the Doctrine one.
|
2019-07-25 12:12:29 +02:00 |
|
Tomas Votruba
|
4596d656b7
|
[CodingStyle] Add ManualJsonStringToJsonEncodeArrayRector
|
2019-07-24 16:28:32 +02:00 |
|
Tomas Votruba
|
32b19b437b
|
[CodeQuality] Add ThrowWithPreviousExceptionRector
|
2019-07-23 11:08:04 +02:00 |
|
Tomas Votruba
|
bb523e60cb
|
[DeadCode] Add RemoveDuplicatedCaseInSwitchRector
|
2019-07-23 10:51:30 +02:00 |
|
Tomas Votruba
|
dcb9c88e51
|
[SymfonyCodeQuality] Add EventListenerToEventSubscriberRector
|
2019-07-22 21:20:16 +02:00 |
|
Tomas Votruba
|
2b1e07399d
|
make SymfonyContainer factory configurable with kernel_environment
|
2019-07-21 10:06:53 +02:00 |
|
Tomáš Votruba
|
981df8a90f
|
[CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRect… (#1754)
[CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRector
|
2019-07-19 22:32:41 +02:00 |
|
Tomas Votruba
|
953de95cf0
|
[CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRector
|
2019-07-19 21:49:42 +02:00 |
|
Joseph Bielawski
|
d2923570d2
|
[DeadCode] Rector RemoveDeadConstructorRector should skip private method
|
2019-07-19 16:16:30 +02:00 |
|