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

nikic / PHP-Parser / 37275967941
93%

Build:
DEFAULT BRANCH: master
Ran 05 Oct 2026 07:07AM UTC
Jobs 1
Files 271
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

05 Oct 2026 07:07AM UTC coverage: 92.913% (+0.001%) from 92.912%
37275967941

push

github

web-flow
Reject malformed Unicode escape sequences (#1176)

`String_` only matches complete hexadecimal Unicode escapes, leaving
malformed sequences as literal text instead of reporting an error:

```php
String_::parse('"\u{zz}"'); // Before: literal \u{zz}
String_::parse('"\u{}"');   // Before: literal \u{}
// After: both throw PhpParser\Error("Invalid UTF-8 codepoint escape sequence")
```

Also match the `\u{` prefix and reject it when no complete hexadecimal
escape was captured. This catches invalid digits, empty escapes, and
missing closing braces.

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

7788 of 8382 relevant lines covered (92.91%)

234.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37275967941.1 05 Oct 2026 07:07AM UTC 271
92.91
GitHub Action Run
Source Files on build 37275967941
  • Tree
  • List 271
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8d2b672a on github
  • Prev Build on master (#37275102599)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc