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

PHPCSStandards / PHP_CodeSniffer / 14160189125 / 5
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feat/use-different-error-code-for-namespace-names
DEFAULT BRANCH: master
Ran 30 Mar 2025 09:41PM UTC
Files 263
Run time 7s
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

30 Mar 2025 09:34PM UTC coverage: 2.083%. Remained the same
14160189125.5

push

github

jrfnl
Tests: introduce new `AbstractRealConfigTestCase`

As the `Config` class contains a number of `static` properties, it is important to avoid tests influencing each other if the tests would cause changes to the value of the static properties.

This was already handled correctly in the two places were the _real_ `Config` class is being used in the tests, but that meant those test classes now contain duplicate code.

This new `AbstractRealConfigTestCase` class removes that code duplication.

This test case should be used in the rare circumstances that the _real_ `Config` class needs to be used in the tests.

In most cases, using the `ConfigDouble` class is much preferred, but for select tests for the `Config` class itself + for tests involving the `Runner` class, using the real `Config` class cannot be avoided.

637 of 30582 relevant lines covered (2.08%)

0.23 hits per line

Source Files on job os-windows-latest-php-7.2-custom-ini-false - 14160189125.5
  • Tree
  • List 263
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14160189125
  • 72dbc34b on github
  • Prev Job for on 4.0 (#14060037790.1)
  • Next Job for on 4.0 (#14160483024.3)
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