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

MyIntervals / PHP-CSS-Parser / 13516869109
69%

Build:
DEFAULT BRANCH: main
Ran 25 Feb 2025 08:32AM UTC
Jobs 1
Files 40
Run time 4min
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

25 Feb 2025 08:31AM UTC coverage: 54.259% (-0.02%) from 54.283%
13516869109

push

github

web-flow
[CLEANUP] Use `null` for unset value in `DeclarationBlock::parse()` (#988)

The variable is either a string or it isn't.
The best practice for when it isn't is for it to be `null` or `unset()`.

Using `false` for when it isn't can lead to type-safety issues.
Reference:
https://vulke.medium.com/when-should-variables-be-null-false-undefined-or-an-empty-string-in-php-4ebd73c7a954

Also use `===` in a comparison in the affected code.

Resolves #975.
Part of #976.

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

1032 of 1902 relevant lines covered (54.26%)

12.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13516869109.1 25 Feb 2025 08:32AM UTC 40
54.26
GitHub Action Run
Source Files on build 13516869109
  • Tree
  • List 40
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13516869109
  • 6ff4aa5f on github
  • Prev Build on main (#13516813509)
  • Next Build on main (#13516884990)
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