• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

keradus / PHP-CS-Fixer / 3004 / 4
94%
1.11: 82%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 1.11
Ran 17 Jul 2017 10:00PM UTC
Files 278
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Jul 2017 10:17AM UTC coverage: 78.647% (+0.7%) from 77.991%
COLLECT_COVERAGE=1

push

travis-ci

keradus
feature #2825 Add PhpdocTypesOrderFixer (julienfalque, keradus)

This PR was squashed before being merged into the 2.4-dev branch (closes #2825).

Discussion
----------

Add PhpdocTypesOrderFixer

A new fixer that sorts the types in PHPDoc annotations like `@param`. For now, it only moves `null` to the first position:
```diff
 /**
- * @return string|null
+ * @return null|string
  */
```
An option allows to move it to the last position instead:
```diff
 /**
- * @return null|string
+ * @return string|null
  */
```

Commits
-------

2c0cdb5b Add PhpdocTypesOrderFixer

7672 of 9755 relevant lines covered (78.65%)

34.58 hits per line

Source Files on job 3004.4 (COLLECT_COVERAGE=1)
  • Tree
  • List 0
  • Changed 167
  • Source Changed 15
  • Coverage Changed 164
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3004
  • Travis Job 3004.4
  • b09cda19 on github
  • Prev Job for COLLECT_COVERAGE=1 on master (#3002.4)
  • Next Job for COLLECT_COVERAGE=1 on master (#3034.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc