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

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

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

pending completion
1275

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

5512 of 5990 relevant lines covered (92.02%)

205.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1275.1 09 Apr 2018 07:05AM UTC 0
92.02
Travis Job 1275.1
2 1275.2 09 Apr 2018 07:05AM UTC 0
91.96
Travis Job 1275.2
Source Files on build 1275
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1275
  • 8c2102a2 on github
  • Prev Build on master (#1238)
  • Next Build on master (#1276)
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