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

FriendsOfPHP / PHP-CS-Fixer / 18137
92%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 31 May 2019 09:51PM UTC
Jobs 1
Files 365
Run time 24s
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
18137

push

travis-ci

keradus
bug #4418 PhpUnitNamespacedFixer - properly translate classes which do not follow translation pattern (ktomk)

This PR was merged into the 2.12 branch.

Discussion
----------

PhpUnitNamespacedFixer - properly translate classes which do not follow translation pattern

Fixes #4417

When cs-fix the name-space of the class

    PHPUnit_Framework_MockObject_Stub_Return

it results in a new class name which causes a PHP parse error b/c of the
reserved word "return" as the new class-name.

Phpunit has renamed that class to ...\ReturnStub (5 -> 6).

Fix is to translate it to the "new" name so that it transposes correctly.

Fixer: PhpUnitNamespacedFixer

Commits
-------

01829052 PhpUnitNamespacedFixer - properly translate classes which do not follow translation pattern

13572 of 14777 relevant lines covered (91.85%)

64.56 hits per line

Jobs
ID Job ID Ran Files Coverage
7 18137.7 (COLLECT_COVERAGE=1) 31 May 2019 09:49PM UTC 0
91.85
Travis Job 18137.7
Source Files on build 18137
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #18137
  • 2e2bc2e9 on github
  • Prev Build on 2.12 (#18043)
  • Next Build on 2.12 (#18143)
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