5505 Commits

Author SHA1 Message Date
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
Tomas Votruba
b479aa4b9b make interface description PHPStorm compatible, so it will not break abstract method complete 2019-07-20 23:18:57 +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
Tomáš Votruba
b199b8c254
Merge pull request #1753 from stloyd/issue-1750
[DeadCode] Rector `RemoveDeadConstructorRector` should skip `private` method
2019-07-19 18:10:55 +02:00
Joseph Bielawski
d2923570d2 [DeadCode] Rector RemoveDeadConstructorRector should skip private method 2019-07-19 16:16:30 +02:00
Tomáš Votruba
361c9eb832
[CodeQuality] Fix CompleteDynamicPropertiesRector for dynamic p… (#1752)
[CodeQuality] Fix CompleteDynamicPropertiesRector for dynamic property fetch
2019-07-19 16:09:40 +02:00
Tomas Votruba
e8b5a11ce4 [CodeQuality] Fix CompleteDynamicPropertiesRector for dynamic property fetch 2019-07-19 16:00:55 +02:00
Tomáš Votruba
b675f5262d
[CodingStyle] Improve NewlineBeforeNewAssignSetRector (#1748)
[CodingStyle] Improve NewlineBeforeNewAssignSetRector
2019-07-16 22:55:31 +02:00
Tomas Votruba
28f51cd5ce [CodingStyle] Improve NewlineBeforeNewAssignSetRector 2019-07-16 22:47:29 +02:00
Tomáš Votruba
61ad8c9e58
add reference support to ParamTypeDeclarationRector (#1744)
add reference support to ParamTypeDeclarationRector
2019-07-15 22:43:42 +02:00
Tomas Votruba
48449eed0c add reference support to ParamTypeDeclarationRector 2019-07-15 21:40:45 +02:00
Tomáš Votruba
b38f7fa2f8
[CodeStyle] Newline before assign (#1739)
[CodeStyle] Newline before assign
2019-07-15 20:44:14 +02:00
Tomáš Votruba
ddb54b248a
Merge pull request #1735 from tigitz/feat-consider-ref-symbol-docblock
Consider reference symbol in docblock for param type declaration rector
2019-07-15 20:36:24 +02:00
Tomas Votruba
473460e1e5 [CodingStyle] Add NewlineBeforeNewAssignSetRector 2019-07-15 20:35:52 +02:00
Tomáš Votruba
212ad921b2
Fix InjectAnnotationClassRector with aliases (#1738)
Fix InjectAnnotationClassRector with aliases
2019-07-14 14:51:30 +02:00
Tomas Votruba
87e7343268 use constant over string [skip ci] 2019-07-14 14:50:28 +02:00
Tomas Votruba
7ab3d4238f travis: allow PHP 7.4 to fail 2019-07-14 14:47:42 +02:00
Tomas Votruba
d04b66adef fix import order 2019-07-14 14:00:41 +02:00
Tomas Votruba
1a8ed46b02 fix cs 2019-07-14 13:05:55 +02:00
Tomáš Votruba
c09986c77e
Merge pull request #1731 from holtkamp/patch-intermixed-types
Add failing test to demonstrate difference in import order
2019-07-14 13:03:45 +02:00
Tomáš Votruba
ea158b0ac8
Typo in Travis config (#1737)
Typo in Travis config
2019-07-14 12:55:04 +02:00
Tomáš Votruba
7646927ea8
Merge pull request #1736 from szepeviktor/patch-1
Colorify neon files
2019-07-14 12:53:55 +02:00
Viktor Szépe
24e7e45b47
Typo in Travis config 2019-07-14 12:15:00 +02:00
Viktor Szépe
4697fd162d
Colorify neon files
Tell GitHub to syntax highlight .neon files.
2019-07-14 12:07:34 +02:00
Philippe Segatori
dd28099d92 Consider reference symbol in docblock for param type declaration rector 2019-07-13 15:40:29 +02:00