6464 Commits

Author SHA1 Message Date
Tomáš Votruba
6fba51ea46
add template nested (#2240)
add template nested
2019-11-03 22:39:29 +01:00
Tomas Votruba
056833adff add template nested 2019-11-03 22:30:02 +01:00
Tomáš Votruba
42ad1e1517
infer php version from composer.json (#2238)
infer php version from composer.json
2019-11-03 16:35:46 +01:00
Tomas Votruba
e699984b6d infer php version from composer.json 2019-11-03 16:28:24 +01:00
Tomáš Votruba
d7f103c5c6
keep comment on type change (#2237)
keep comment on type change
2019-11-03 16:17:10 +01:00
Tomas Votruba
c8f4c31cab keep comment on type change 2019-11-03 16:09:35 +01:00
Tomáš Votruba
79a0069ee9
[TypeDeclaration] Fix CompleteVarDocTypePropertyRector for mixe… (#2236)
[TypeDeclaration] Fix CompleteVarDocTypePropertyRector for mixed[] override
2019-11-03 15:46:16 +01:00
Tomas Votruba
6927f30f99 [TypeDeclaration] Fix CompleteVarDocTypePropertyRector for mixed[] override 2019-11-03 15:42:07 +01:00
Tomáš Votruba
b1ac797da0
Merge pull request #2235 from rectorphp/fix-import-parent
Fix importing parent that is identical in short to class name
2019-11-02 19:53:15 +01:00
Tomas Votruba
60c9fb1663 fix importing parent that is identical in short to class name 2019-11-02 19:39:19 +01:00
Tomas Votruba
e4be4c3ebe add test case for #2226 2019-11-02 19:39:19 +01:00
Tomáš Votruba
492c0bab4c
Decouple PropertyFetchManipulator methods for array dim fetch (#2234)
Decouple PropertyFetchManipulator methods for array dim fetch
2019-11-02 19:34:06 +01:00
Tomas Votruba
564e9d418a add array dim fetch property unpacking 2019-11-02 19:28:20 +01:00
Tomas Votruba
bf16bfe341 decouple removeClassInnerAssigns() 2019-11-02 19:28:20 +01:00
Tomas Votruba
78eee33a6a decouple method 2019-11-02 19:28:20 +01:00
Tomas Votruba
4ff26079dd move hasPropertyFetchAsProperty() to PropertyFetchManipulator to keep tree service hierarchy 2019-11-02 19:27:35 +01:00
Tomáš Votruba
ef7943d8a0
Merge pull request #2233 from jeroensmit/DoubleAssignmentDifferentValue
Also remove assignment if the value of the assignment is different
2019-11-02 19:21:01 +01:00
Jeroen Smit
b7a1f130b5 Added typehint 2019-11-02 17:06:28 +01:00
Jeroen Smit
ea5fac3b87 Ran fix-cs 2019-11-02 17:06:28 +01:00
Jeroen Smit
4b38e85de3 Fixed self referencing assignments 2019-11-02 17:06:28 +01:00
Jeroen Smit
a83ec4aeea Also remove assignment if the value of the assignment is different 2019-11-02 17:05:10 +01:00
Tomáš Votruba
cd4f5085a3
Previous statement rewrite (#2207)
Previous statement rewrite
2019-11-01 22:24:34 +01:00
Jeroen Smit
730aec6880 Rector on self 2019-11-01 16:11:59 +01:00
Jeroen Smit
0ec9ee0f3c Fix after merging master 2019-11-01 15:58:47 +01:00
Jeroen Smit
c41737e3a2 Merge branch 'master' of github.com:rectorphp/rector into previousStatementRewrite 2019-11-01 15:55:46 +01:00
Jeroen Smit
05de1ccd96 Fixed for statements in parentless node 2019-11-01 15:54:17 +01:00
Tomáš Votruba
606f67d930
Merge pull request #2231 from rectorphp/screen-highlight
make screen generate file by default
2019-11-01 14:24:59 +01:00
Tomas Votruba
212511c5cd make screen generate file by default 2019-11-01 12:40:33 +01:00
Tomáš Votruba
5783fe4de6
Merge pull request #2223 from stedekay/without-base-class
Add AbstractController as base class if no one exists
2019-10-31 15:02:27 +01:00
Stefan Blanke
1b23cb059a Check if class has at least one template annotation 2019-10-31 10:00:45 +01:00
Tomas Votruba
afcdae4c45 fix cs v0.5.20 2019-10-31 07:52:51 +01:00
Tomáš Votruba
f78b52d924
Merge pull request #2224 from rectorphp/enable-dead-code
add dead-code set to CI
2019-10-31 01:09:32 +01:00
Tomas Votruba
46948a4fe7 fix xdebug option 2019-10-31 00:24:37 +01:00
Tomas Votruba
099fdcc05b fix phpstan false positive 2019-10-30 23:33:11 +01:00
Tomas Votruba
ced5f813aa add dead-code set to CI, make NameResolver exception on method call more verbose 2019-10-30 23:33:11 +01:00
Tomáš Votruba
24829f2036
Enable code quality set (#2222)
Enable code quality set
2019-10-30 22:42:02 +01:00
Tomas Votruba
18ac9a4514 fix dynamic property outside anonymous class scope 2019-10-30 22:25:07 +01:00
Tomas Votruba
cbe41dc497 apply 2019-10-30 21:46:36 +01:00
Tomas Votruba
9b3cf927b1 fix virtual node 2019-10-30 21:46:36 +01:00
Tomas Votruba
617f2cd5d7 simplify isName() 2019-10-30 21:46:36 +01:00
Tomas Votruba
40f998ca90 add test case for auto_import_names + Rector rule 2019-10-30 21:46:36 +01:00
Tomas Votruba
a6ccb11cd6 fix default value type 2019-10-30 18:41:33 +01:00
Stefan Blanke
2ed8b1049e Add AbstractController as base class if no one exists 2019-10-30 17:04:28 +01:00
Tomas Votruba
7606da42be add failing test case 2019-10-30 15:45:47 +01:00
Tomas Votruba
1620cf0211 apply code-quality 2019-10-30 15:38:30 +01:00
Tomas Votruba
6f667830fd Fix JoinStringConcatRector for too long lines 2019-10-30 14:38:43 +01:00
Tomas Votruba
e57526e4e4 Fix RemoveAlwaysTrueConditionSetInConstructorRector for nullable 2019-10-30 14:20:18 +01:00
Tomas Votruba
89f62fe98a use interface for AnnotationReader 2019-10-30 14:20:18 +01:00
Tomas Votruba
0f47150639 travis: be strict on dog food 2019-10-30 14:20:18 +01:00
Tomas Votruba
9e1b4cbcf6 add relative path config report to open file in IDE 2019-10-30 12:28:29 +01:00