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

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

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 09 Apr 2015 01:48PM UTC
Jobs 5
Files 120
Run time 3min
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
3034

push

travis-ci

keradus
feature #1116 Added SelfAccessorFixer (gharlan)

This PR was merged into the 1.7 branch.

Discussion
----------

Added SelfAccessorFixer

The fixer converts class names to `self` (if possible).

```php
class Foo
{
    public function baz($a = Foo::BAR) // self::BAR
    {
        if ($b instanceof Foo) { // $b instanceof self
            new Foo(); // new self();
            Foo::baz(); // self::baz();
        }
    }
}
```

Commits
-------

fe85bb0 added SelfAccessorFixer

3778 of 4485 relevant lines covered (84.24%)

220.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3034.1 09 Apr 2015 01:45PM UTC 0
82.66
Travis Job 3034.1
2 3034.2 09 Apr 2015 01:45PM UTC 0
82.97
Travis Job 3034.2
3 3034.3 09 Apr 2015 01:47PM UTC 0
83.11
Travis Job 3034.3
4 3034.4 09 Apr 2015 01:48PM UTC 0
83.23
Travis Job 3034.4
6 3034.6 09 Apr 2015 01:49PM UTC 0
76.58
Travis Job 3034.6
Source Files on build 3034
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3034
  • b938ce75 on github
  • Prev Build on 1.7 (#3033)
  • Next Build on 1.7 (#3038)
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