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

FriendsOfPHP / PHP-CS-Fixer / 2936
85%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 29 Mar 2015 07:51PM UTC
Jobs 5
Files 118
Run time 2min
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

pending completion
2936

push

travis-ci

keradus
minor #1110 code grooming (kalessil)

This PR was submitted for the 1.6 branch but it was merged into the 1.7 branch instead (closes #1110).

Discussion
----------

code grooming

- default value hidden in else branch
- array casting equivalent structures
- not optimal if conditions
- array_keys/array_values as foreach array
- slow alter in foreach
- strlen usage for empty string check

In spite of positive experience with all changes I wouldn't include this into release, but rather next one.

Commits
-------

95ba8a3 code grooming

3659 of 4362 relevant lines covered (83.88%)

211.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2936.1 29 Mar 2015 07:48PM UTC 0
82.34
Travis Job 2936.1
2 2936.2 29 Mar 2015 07:48PM UTC 0
82.61
Travis Job 2936.2
3 2936.3 29 Mar 2015 07:48PM UTC 0
82.75
Travis Job 2936.3
4 2936.4 29 Mar 2015 07:51PM UTC 0
82.75
Travis Job 2936.4
6 2936.6 29 Mar 2015 07:51PM UTC 0
75.54
Travis Job 2936.6
Source Files on build 2936
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2936
  • a32039fc on github
  • Prev Build on 1.7 (#2920)
  • Next Build on 1.7 (#2960)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc