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

FriendsOfPHP / PHP-CS-Fixer / 2960 / 1
85%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 30 Mar 2015 08:05PM UTC
Files 119
Run time 7s
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

30 Mar 2015 07:59PM UTC coverage: 82.531% (+0.2%) from 82.34%
2960.1

push

travis-ci

keradus
feature #1064 OperatorsSpacesFixer enhancements (gharlan)

This PR was merged into the 1.6 branch.

Discussion
----------

OperatorsSpacesFixer enhancements

http://symfony.com/doc/current/contributing/code/standards.html#structure:

> * Add a single space around binary operators (==, &&, ...), with the exception of the concatenation (.) operator;
> * Place unary operators (!, --, ...) adjacent to the affected variable;

So I made these enhancements for the `OperatorsSpacesFixer`:

* added unary operator checks (`++`, `--`, `+`, `-`, `!`, `&`, `~`, `@`, `...`)
* added missing binary operators (`+`, `-`, `*`, `/`, `%`, `<`, `>`, `&`, `|`, `^`, `**`, `**=`, `<=>`, `??`)

Commits
-------

7c6e22d OperatorsSpacesFixer enhancements and new UnaryOperatorsSpacesFixer

3482 of 4219 relevant lines covered (82.53%)

54.25 hits per line

Source Files on job 2960.1
  • Tree
  • List 0
  • Changed 14
  • Source Changed 3
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2960
  • Travis Job 2960.1
  • 83db6b37 on github
  • Prev Job for on 1.7 (#2936.1)
  • Next Job for on 1.7 (#2961.1)
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