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

PHPCSStandards / PHPCSUtils / 198 / 32
97%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/upload-pages-artifact-5.0.0
DEFAULT BRANCH: develop
Ran 23 Jan 2020 01:56AM UTC
Files 18
Run time 3s
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

23 Jan 2020 01:38AM UTC coverage: 94.3%. First build
PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0"

Pull #54

travis-ci-com

web-flow
Arrays::isShortArray(): fix compatibility with PHPCS < 2.8.0 [4]

Work around a bug in the tokenizer of PHPCS < 2.8.0 where a `[` would be tokenized as T_OPEN_SQUARE_BRACKET instead of T_OPEN_SHORT_ARRAY if it was preceded by a close curly of a control structure.

This commit adds work-arounds to the utility method to handle the situation correctly.

Ref: squizlabs/PHP_CodeSniffer 1284
Pull Request #54: Arrays::isShortArray(): fix compatibility with older PHPCS versions

1952 of 2070 relevant lines covered (94.3%)

16.6 hits per line

Source Files on job 198.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 70
  • Travis Job 198.32
  • a140443e on github
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