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

PHPCSStandards / PHPCSUtils / 169 / 29
97%
develop: 99%

Build:
LAST BUILD BRANCH: feature/ghactions-remark-ignore-release-links
DEFAULT BRANCH: develop
Ran 22 Jan 2020 10:06PM UTC
Files 15
Run time 4s
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

22 Jan 2020 - 21:50 coverage: 94.494%. First build
LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0"

Pull #45

travis-ci-com

web-flow
Operators::isReference(): fix compatibility with PHPCS 2.8.0 - 3.2.3

PHPCS 2.8.0 - 3.2.3 contained a bug where a square open bracket `[` as the first code content after the PHP open tag in a file would be tokenized as `T_OPEN_SQUARE_BRACKET` not `T_OPEN_SHORT_ARRAY`.

This is an edge-case bug as it can only occur when following the very first PHP open tag in a file and only if there is nothing before that open tag.

Either way, this commit adds work-arounds to the utility method to handle the situation correctly.

Ref: squizlabs/PHP_CodeSniffer 1971
Pull Request #45: Operators::isReference(): various improvements

1390 of 1471 relevant lines covered (94.49%)

14.52 hits per line

Source Files on job 169.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0")
  • Tree
  • List 15
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 62
  • Travis Job 169.29
  • 4a981e34 on github
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2023 Coveralls, Inc