5530 Commits

Author SHA1 Message Date
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
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
Tomas Votruba
3ff7016618 fix multiple annotations in one filep 2019-07-27 13:02:32 +02:00
Tomáš Votruba
e433ee6932
skip non-annotation prefix (#1771)
skip non-annotation prefix
2019-07-27 12:50:50 +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
Tomáš Votruba
eb8b94affa
Merge pull request #1764 from stloyd/patch-1
[Symfony] Use Symfony bridge interface for `doctrine` service
2019-07-25 12:39:02 +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
Tomáš Votruba
5b6da4e22c
Merge pull request #1762 from rectorphp/json-mix-to-json-call
[CodingStyle] Add ManualJsonStringToJsonEncodeArrayRector
2019-07-24 16:53:22 +02:00
Tomas Votruba
4596d656b7 [CodingStyle] Add ManualJsonStringToJsonEncodeArrayRector 2019-07-24 16:28:32 +02:00
Tomáš Votruba
2a473175e3
Merge pull request #1761 from rectorphp/throwable-bundle
[CodeQuality] Add ThrowWithPreviousExceptionRector
2019-07-23 11:13:03 +02:00
Tomas Votruba
32b19b437b [CodeQuality] Add ThrowWithPreviousExceptionRector 2019-07-23 11:08:04 +02:00
Tomáš Votruba
0f5a33d97f
Merge pull request #1760 from rectorphp/dupli-switch
[DeadCode] Add RemoveDuplicatedCaseInSwitchRector
2019-07-23 10:55:03 +02:00
Tomas Votruba
bb523e60cb [DeadCode] Add RemoveDuplicatedCaseInSwitchRector 2019-07-23 10:51:30 +02:00
Tomáš Votruba
bba9d1570e
[SymfonyCodeQuality] From listener to subscriber (#1759)
[SymfonyCodeQuality] From listener to subscriber
2019-07-22 22:05:24 +02:00
Tomas Votruba
dcb9c88e51 [SymfonyCodeQuality] Add EventListenerToEventSubscriberRector 2019-07-22 21:20:16 +02:00
Tomas Votruba
4f1a26e0b6 update CHANGELOG for v0.5.8 2019-07-21 10:46:36 +02:00
Tomáš Votruba
4e0ec2e173
make SymfonyContainer factory configurable with "kernel_environ… (#1757)
make SymfonyContainer factory configurable with "kernel_environment" parameter in rector.yaml
v0.5.8
2019-07-21 10:14:15 +02:00
Tomas Votruba
2b1e07399d make SymfonyContainer factory configurable with kernel_environment 2019-07-21 10:06:53 +02:00
Tomáš Votruba
ecf8a1d0f6
make interface description PHPStorm compatible, so it will not… (#1755)
make interface description PHPStorm compatible, so it will not break abstract method complete
2019-07-20 23:20:13 +02:00