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

PHPCSStandards / PHPCSUtils / 198
97%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/action-runners-c4b2a15d30
DEFAULT BRANCH: develop
Ran 23 Jan 2020 01:54AM UTC
Jobs 4
Files 18
Run time 2min
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
198

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

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

1685 of 1744 relevant lines covered (96.62%)

67.0 hits per line

Jobs
ID Job ID Ran Files Coverage
29 198.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0") 23 Jan 2020 01:54AM UTC 0
93.38
Travis Job 198.29
30 198.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0") 23 Jan 2020 01:54AM UTC 0
94.85
Travis Job 198.30
31 198.31 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^1.0") 23 Jan 2020 01:54AM UTC 0
92.27
Travis Job 198.31
32 198.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0") 23 Jan 2020 01:56AM UTC 0
94.3
Travis Job 198.32
Source Files on build 198
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #198
  • Pull Request #54
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