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

PHPCSStandards / PHP_CodeSniffer / 13349026013
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 15 Feb 2025 10:05PM UTC
Jobs 8
Files 262
Run time 1min
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

15 Feb 2025 10:03PM UTC coverage: 77.282%. Remained the same
13349026013

push

github

jrfnl
Help: update list of config options

Follow up on 447

I noticed while working on something else that some typical config options were missing from the list in the help text.

The difference between the previously listed ones and the additional options I'm now adding to the list, is that the original set of options are options which the `Config` class manages and for which it has a default value, while the additional options I'm now adding are used at runtime in various places by PHPCS, but do not have default value management in the `Config` class.

Whether default value handling of these options should be added to the `Config` class is up for debate, however, making it more discoverable that these options _exist_ and can be used, seems like an easy win for usability.

* `installed_paths` is probably the best known one and is used to register external standards with PHPCS. It is used in the `Util\Standards` class.
* `php_version` is a way to tell PHPCS what PHP version they code is supposed to run on. It is used by select sniffs.
* `ignore_errors_on_exit` and `ignore_warnings_on_exit` influence the exit code used by PHPCS and is used in the `Runner` class.

These additional options are all mentioned and described in more detail in the wiki: https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Configuration-Options

Fixes squizlabs/PHP_CodeSniffer 2412

1 of 1 new or added line in 1 file covered. (100.0%)

19132 of 24756 relevant lines covered (77.28%)

76.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 13349026013.1 15 Feb 2025 10:08PM UTC 262
1.9
GitHub Action Run
2 os-windows-latest-php-7.2-custom-ini-false - 13349026013.2 15 Feb 2025 10:05PM UTC 262
2.11
GitHub Action Run
3 os-ubuntu-latest-php-8.4-custom-ini-false - 13349026013.3 15 Feb 2025 10:08PM UTC 262
75.78
GitHub Action Run
4 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 13349026013.4 15 Feb 2025 10:08PM UTC 262
1.9
GitHub Action Run
5 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 13349026013.5 15 Feb 2025 10:09PM UTC 262
0.82
GitHub Action Run
6 os-ubuntu-latest-php-8.1-custom-ini-true - 13349026013.6 15 Feb 2025 10:08PM UTC 262
75.8
GitHub Action Run
7 os-ubuntu-latest-php-7.2-custom-ini-false - 13349026013.7 15 Feb 2025 10:09PM UTC 262
73.61
GitHub Action Run
8 os-windows-latest-php-8.4-custom-ini-false - 13349026013.8 15 Feb 2025 10:05PM UTC 262
2.64
GitHub Action Run
Source Files on build 13349026013
  • Tree
  • List 262
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13349026013
  • 3759825c on github
  • Prev Build on 4.0 (#13319598613)
  • Next Build on 4.0 (#13349050283)
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

© 2025 Coveralls, Inc