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

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

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

31 May 2019 09:27PM UTC coverage: 91.845% (-0.2%) from 92.02%
COLLECT_COVERAGE=1

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

Source Files on job 18137.7 (COLLECT_COVERAGE=1)
  • Tree
  • List 0
  • Changed 93
  • Source Changed 4
  • Coverage Changed 92
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14556
  • Travis Job 18137.7
  • 2e2bc2e9 on github
  • Prev Job for COLLECT_COVERAGE=1 on 2.12 (#18043.7)
  • Next Job for COLLECT_COVERAGE=1 on 2.12 (#18143.7)
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