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

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

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 30 Mar 2015 09:34PM UTC
Jobs 4
Files 119
Run time 27s
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
2963

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%)

167.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2963.1 30 Mar 2015 09:31PM UTC 0
82.53
Travis Job 2963.1
3 2963.3 30 Mar 2015 09:31PM UTC 0
82.98
Travis Job 2963.3
4 2963.4 30 Mar 2015 09:31PM UTC 0
83.1
Travis Job 2963.4
6 2963.6 30 Mar 2015 09:33PM UTC 0
76.25
Travis Job 2963.6
Source Files on build 2963
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2963
  • b506b630 on github
  • Prev Build on 1.7 (#2961)
  • Next Build on 1.7 (#2964)
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