4068 Commits

Author SHA1 Message Date
Tomáš Votruba
ae37c40e37
Merge pull request #788 from rectorphp/phpunit/iterator-count
[PHPUnit] Convert iterator_count into assertCount
2018-11-18 17:17:09 +01:00
Gabriel Caruso
3ba2759970
[PHPUnit] Convert iterator_count into assertCount 2018-11-18 13:19:15 -02:00
Tomáš Votruba
908044bff0
Merge pull request #787 from rectorphp/phpstorm-doc-fixer
[PHPStan] Add Phpstorm doc fixer
2018-11-17 11:16:48 +02:00
Tomas Votruba
e0a399eefc [PHPStan] Add PHPStormVarAnnotationRector 2018-11-17 01:20:21 +02:00
Tomáš Votruba
6a94b8c274
Merge pull request #778 from bendavies/JmsInjectAnnotationRector-improve
impove JmsInjectAnnotationRector
2018-11-15 14:26:12 +02:00
Ben Davies
7cbe2a3620 add support for class names as service ids 2018-11-13 10:20:31 +00:00
Ben Davies
f677c0036a make nodes public after removing property injection 2018-11-13 10:08:23 +00:00
Tomáš Votruba
ad582c7066
Merge pull request #782 from rectorphp/docs
Update Docs
2018-11-11 14:18:20 +01:00
Tomas Votruba
15bafc3d36 docs: update How to create own Rector tutorial 2018-11-11 14:09:58 +01:00
Tomas Votruba
0abecd8087 use short config in code samples + update Rector overview 2018-11-11 14:09:49 +01:00
Tomáš Votruba
9eb3057bc0
Merge pull request #780 from rectorphp/shorten-null-compare
null compare over boolcast in SimplifyIfReturnBoolRector
v0.3.20
2018-11-10 00:33:31 +01:00
Tomas Votruba
5778103f21 null compare over boolcast in SimplifyIfReturnBoolRector 2018-11-10 00:16:25 +01:00
Tomas Votruba
169f160efd move SimplifyEmptyArrayCheckRector to BooleanAnd category 2018-11-10 00:16:25 +01:00
Tomáš Votruba
bad7cc3815
Merge pull request #779 from rectorphp/is-empty
fix SimplifyEmptyArrayCheckRector for not empty non-arrays
2018-11-09 23:47:40 +01:00
Tomas Votruba
09e949f76e make use of matchFirstAndSecondConditionNode Node type 2018-11-09 23:31:45 +01:00
Tomas Votruba
3ecf8172ed validate condition in BinaryOpMaintainer 2018-11-09 23:25:05 +01:00
Tomas Votruba
ea28a2600a fix SimplifyEmptyArrayCheckRector for not empty non-arrays 2018-11-09 23:22:42 +01:00
Tomas Votruba
475db7bf4d fix cs 2018-11-09 22:19:04 +01:00
Tomas Votruba
8a74acf11b include strict/non-strict in SimplifyArraySearchRector 2018-11-09 22:18:48 +01:00
Tomas Votruba
1877d4069f fix constant bug in UnnecessaryTernaryExpressionRector 2018-11-09 21:55:12 +01:00
Tomas Votruba
9eacf38b3b resolve only types with scope 2018-11-09 19:32:50 +01:00
Tomas Votruba
f36d033f97 add shortcuts to ProcessCommand options 2018-11-09 19:14:47 +01:00
Tomas Votruba
b0fb72623d inline unsued variable 2018-11-09 19:01:02 +01:00
Tomas Votruba
3491f386a9 reset applied rectors 2018-11-09 19:00:19 +01:00
Tomas Votruba
5b050a09c2 Add BetterStandardPrinter comment 2018-11-09 18:42:50 +01:00
Tomas Votruba
904417add9 merge NodeAddingTrait and NodeRemovingTrait to NodeCommandersTrait 2018-11-09 17:17:33 +01:00
Tomas Votruba
b789d2b1e4 fixup! show applied Rectors even on adding/removing nodes 2018-11-09 15:47:51 +01:00
Tomas Votruba
7682a10dd9 show applied Rectors even on adding/removing nodes 2018-11-09 15:47:23 +01:00
Tomas Votruba
b390f1b887 add isActive() to CommanterInterface 2018-11-09 15:46:51 +01:00
Tomas Votruba
82573638bc do not actually remove nodes on PHPStan skipping deep nested chains 2018-11-09 15:46:06 +01:00
Tomas Votruba
9f5265ceaa keep commented dead code in DeadCodeRemovingRector 2018-11-09 15:02:00 +01:00
Tomas Votruba
3ed6d42817 improve README 2018-11-09 14:58:49 +01:00
Tomas Votruba
b5c9e9021c README: update coverage status 2018-11-09 14:45:14 +01:00
Tomas Votruba
f05c71c58d do not touch end newlines, keep only in tests 2018-11-09 13:36:58 +01:00
Tomas Votruba
1be856068b show config on run 2018-11-09 01:54:33 +01:00
Tomáš Votruba
c13885eb05
Merge pull request #777 from bendavies/patch-1
fixed named parameter.
2018-11-09 00:46:16 +01:00
Ben Davies
6aee902a1a
fixed named parameter. 2018-11-08 17:32:53 +00:00
Tomáš Votruba
5540b1ccd0
Merge pull request #776 from rectorphp/ps-type-cast
[PHPStan] Add RecastingRemovalRector
2018-11-08 14:01:55 +01:00
Tomas Votruba
dabf8bac49 [PHPStan] Add RecastingRemovalRector 2018-11-08 13:52:02 +01:00
Tomáš Votruba
14d806990f
Merge pull request #775 from rectorphp/cq-dead-code
[CodeQuality] Add DeadCodeRemovingRector
2018-11-08 13:24:31 +01:00
Tomas Votruba
01dab609a3 [CodeQuality] Add DeadCodeRemovingRector 2018-11-08 13:17:37 +01:00
Tomas Votruba
36dc29b56d merge Utils package to PhpParser 2018-11-08 13:04:38 +01:00
Tomas Votruba
b14f326697 Show version run [closes #774] 2018-11-08 12:24:55 +01:00
Tomáš Votruba
6006a75c8f
Merge pull request #773 from rectorphp/commander
Make use of AssignAndBinaryMap + BinaryOpMaintainer + add NodeCommanders
v0.3.19
2018-11-07 23:50:40 +01:00
Tomas Votruba
9201ad86e2 cleanup [skip ci] 2018-11-07 23:38:44 +01:00
Tomas Votruba
52d133f1f1 move VariableInfo to Node namespace 2018-11-07 23:31:07 +01:00
Tomas Votruba
29e933c66b Add PropertyAddingCommander 2018-11-07 23:24:29 +01:00
Tomas Votruba
efc39b394d Add NodeAddingCommander 2018-11-07 21:58:41 +01:00
Tomas Votruba
b62c31bcad Add NodeRemovingCommander 2018-11-07 21:30:55 +01:00
Tomas Votruba
bf37049776 Move Expression re-type to AbstractRector 2018-11-07 20:52:37 +01:00