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

PHPCSStandards / PHP_CodeSniffer / 13839354231 / 2
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 13 Mar 2025 04:18PM UTC
Files 263
Run time 26min
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

13 Mar 2025 04:11PM UTC coverage: 2.08% (-0.001%) from 2.081%
13839354231.2

push

github

jrfnl
Config: add tests for setting `--extensions`

Includes minor bug fix to treat an empty value correctly.

Previously, passing `--extensions=` (without value) would result in the `Config::$extensions` property being set to:
```php
public $extensions = [
    '' => 'PHP'
];
```
Now, an empty value will set the extensions array to an empty array.
```php
public $extensions = [];
```

Note: in practice, the above change will not make a difference in how files are filtered/scanned.

:point_right: The change to the `Config` class will be most straight-forward to review while ignoring whitespace changes.

636 of 30571 relevant lines covered (2.08%)

0.23 hits per line

Source Files on job os-windows-latest-php-7.2-custom-ini-false - 13839354231.2
  • Tree
  • List 263
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13839354231
  • 5d1a9227 on github
  • Prev Job for on 4.0 (#13827689050.8)
  • Next Job for on 4.0 (#13847720834.4)
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