759 Commits

Author SHA1 Message Date
Tomas Votruba
7704728ba3 make class unique to pass tests 2018-05-30 11:55:56 +02:00
Tomas Votruba
aac0285c92 make test unique 2018-05-30 11:36:29 +02:00
Tomas Votruba
1474755f03 fix cs 2018-05-19 21:01:44 +02:00
Tomas Votruba
bf953ab842 add more default Kernel class names to DefaultAnalyzedSymfonyApplicationContainer [closes #468] 2018-05-19 21:00:03 +02:00
Gabriel Caruso
530a1f65e6
Fix check for non ConstFetch values 2018-05-13 15:36:08 -03:00
Gabriel Caruso
3969a4e845
Fix binary operations when necessary 2018-05-13 15:19:51 -03:00
Gabriel Caruso
4b7d41b4ce
Remove unnecessary ternary expressions 2018-05-13 14:47:59 -03:00
Gabriel Caruso
6950973d48
[CodeQuality] Create UnnecessaryTernaryExpressionRector 2018-05-13 14:17:15 -03:00
Tomas Votruba
64701f240c add default App\Kernel class 2018-05-10 22:02:42 +02:00
Tomas Votruba
deb897947e update namespaces 2018-05-10 19:05:41 +02:00
Tomáš Votruba
c62f8fb59a
Merge pull request #459 from rectorphp/action-inject-to-constructor
Improve Action Inject to work with container
2018-05-10 19:04:36 +02:00
Tomas Votruba
1193151295 cleanup, make test fail 2018-05-07 10:32:03 +02:00
Tomas Votruba
90bfbcf1f0 add test case for non-services 2018-05-07 09:46:00 +02:00
Tomas Votruba
9eb120fb24 DefaultServiceTypeForNameProvider - add hasService() method 2018-05-07 09:42:01 +02:00
Tomas Votruba
7a7379c619 ActionInjectionToConstructorInjectionRector - add kernel_class, to verify class exis a service 2018-05-06 22:32:31 +02:00
Tomáš Votruba
7dde83880d
Merge pull request #458 from rectorphp/action-inject-to-constructor
Add Action inject to constructor Rector
2018-05-05 16:21:45 +01:00
Tomas Votruba
9b6dc41729 make property adding work 2018-05-05 10:54:37 +01:00
Tomas Votruba
a15c177a73 ActionInjectionToConstructorInjectionRector prototype 2018-05-05 10:33:11 +01:00
Tomas Votruba
59f7b9c958 hide ArgumentAdderRectorTest test case, resolve in follow-up PR 2018-05-05 01:04:17 +01:00
Tomas Votruba
d3bdac95af add failing case for ArgumentAdderRector 2018-05-05 01:04:16 +01:00
Tomas Votruba
4da74d474b fix test cases 2018-05-05 01:03:04 +01:00
Tomas Votruba
35b13c776c ArgumentDefaultValueReplacerRector - add valid test case 2018-05-05 01:03:04 +01:00
Tomas Votruba
8fab4d9f48 ArgumentDefaultValueReplacerRector - cleanup test config from other Rectors 2018-05-05 01:03:04 +01:00
Tomas Votruba
6642ef8af9 ArgumentAdderRector: rename 'replacement' to 'default_value' 2018-05-05 01:03:04 +01:00
Tomas Votruba
e7dc6bce1c update namespaces as well 2018-05-05 01:03:04 +01:00
Tomas Votruba
d0d940b0b4 split former ArgumentRector test cases to standalone Rectors 2018-05-05 01:03:04 +01:00
Gabriel Caruso
de9fb3cf55 Failing test for #447 2018-05-04 14:05:13 +01:00
Tomas Votruba
294f8317e6 fix empty doc storing on MagicMethodRector 2018-05-04 10:32:38 +01:00
Tomas Votruba
550b9a9535 fix IdentifierRector (regression of php-parser update) 2018-05-02 18:33:15 +02:00
Tomas Votruba
f8a5fc7d55 make test run again 2018-05-02 18:33:15 +02:00
Tomas Votruba
3717f13ec1 separate different cases 2018-05-02 18:33:15 +02:00
Tomas Votruba
77564e1a58 cleanup dead code 2018-05-02 18:33:15 +02:00
Tomas Votruba
96a5b370c6 update empty doc render 2018-05-02 18:33:15 +02:00
Tomas Votruba
49c834f324 fix storing of empty DocBlock 2018-05-02 18:33:15 +02:00
Tomas Votruba
be5b1cc5f2 fix ExceptionAnnotationRector description 2018-05-02 18:33:15 +02:00
Tomáš Votruba
d5561dbfb3
Merge pull request #451 from mssimi/simplify-argument-rector
simplify argument rector
2018-05-02 16:11:25 +02:00
mssimi
4965127652 split argument rector into:
ArgumentAdderRector
ArgumentDefaultValueReplacerRector
ArgumentRemoverRector
2018-05-01 19:31:41 +02:00
mssimi
a97ede05ec fix AssertPropertyExistsRector 2018-04-30 12:03:05 +02:00
mssimi
1b39e32b2d simplify argument rector 2018-04-30 10:34:01 +02:00
Tomáš Votruba
5f01f37444
Merge pull request #444 from rectorphp/document-analyzers-and-others
Document analyzers and others
2018-04-29 09:41:16 +02:00
Tomas Votruba
9aa21666ad move Bridge related Contracts to Bridge namespace 2018-04-28 23:21:33 +02:00
Tomáš Votruba
8a5776ac28
Merge pull request #442 from mssimi/argument-analyzer-improvement
improvement - argument analyzer dynamic
2018-04-28 21:10:51 +02:00
Tomas Votruba
f32778fe16 typo 2018-04-28 18:52:52 +02:00
Tomas Votruba
f86130cb87 cs split 2018-04-28 18:52:35 +02:00
Tomas Votruba
ff21d6c459 fix ContainerGetToConstructorInjectionRector test 2018-04-28 18:49:05 +02:00
Tomas Votruba
c743b74974 move Kernel test Sourcet to AbstractToConstructorInjectionRectorSource 2018-04-28 18:49:05 +02:00
Tomas Votruba
e5ebe51963 use service instead of manual map 2018-04-28 18:49:05 +02:00
Tomas Votruba
3792dbe9b3 add 2 more failing cases, make sure the class in 'kernel_class' is instance of Kernel 2018-04-28 18:49:05 +02:00
Tomas Votruba
70f03c0101 add invalid configuraiton test 2018-04-28 18:49:05 +02:00
Tomas Votruba
24a86b45e4 use it in other Rector 2018-04-28 18:49:05 +02:00