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

digiaonline / graphql-php / 1275 / 2
92%
main: 91%

Build:
Build:
LAST BUILD BRANCH: graphql-contracts
DEFAULT BRANCH: main
Ran 09 Apr 2018 07:07AM UTC
Files 310
Run time 8s
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

09 Apr 2018 07:04AM UTC coverage: 91.964% (+2.4%) from 89.565%
1275.2

push

travis-ci

crisu83
Lexer unit tests (#184)

* Fix two bugs in the StringReader, fixes escaped string handling and multi-byte handling

The JavaScript String.fromCharCode() function doesn't really have a good equivalent in PHP, luckily it's easy to cheat here and achieve the same result

* Fix a multi-byte issue in charCodeAt()

String indexing doesn't take into account multi-byte characters

* Prevent calling charCodeAt() with parameters that would trigger out of bounds errors

In JavaScript, the charCodeAt() function returns NaN if the requested position is outside the body, while we get crazy errors from unpack() if we try to do the same

* Add unit tests for the lexer

* Refactor lexing

* Refactor lexer tests

* Add missing lexer tests

* Fix lexer unicode tests (fixes #192)

* Port mb_chr and mb_ord from Symfony mbstring polyfill

* Rename chr and ord functions

* Refactor language helpers

* Change to use strlen instead of the multibyte variant

5470 of 5948 relevant lines covered (91.96%)

101.77 hits per line

Source Files on job 1275.2
  • Tree
  • List 0
  • Changed 61
  • Source Changed 35
  • Coverage Changed 61
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 71
  • Travis Job 1275.2
  • 8c2102a2 on github
  • Prev Job for on master (#1238.2)
  • Next Job for on master (#1276.2)
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