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

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

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

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

3744 of 4451 relevant lines covered (84.12%)

219.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2960.1 30 Mar 2015 08:02PM UTC 0
82.53
Travis Job 2960.1
2 2960.2 30 Mar 2015 08:01PM UTC 0
82.84
Travis Job 2960.2
3 2960.3 30 Mar 2015 08:01PM UTC 0
82.98
Travis Job 2960.3
4 2960.4 30 Mar 2015 08:01PM UTC 0
83.1
Travis Job 2960.4
6 2960.6 30 Mar 2015 08:03PM UTC 0
76.25
Travis Job 2960.6
Source Files on build 2960
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2960
  • 83db6b37 on github
  • Prev Build on 1.7 (#2936)
  • Next Build on 1.7 (#2961)
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