Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPCSStandards / PHPCSUtils / 198
97%
develop: 99%

Build:
LAST BUILD BRANCH: feature/ghactions-various-tweaks
DEFAULT BRANCH: develop
Ran 23 Jan 2020 01:54AM UTC
Jobs 4
Files 18
Run time 2min
Badge
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 - 1:38 coverage: 96.617%. First build
198

Pull #54

travis-ci-com

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-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

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

1685 of 1744 relevant lines covered (96.62%)

67.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
68.09
PHPCSUtils/Utils/Arrays.php
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 18
93.38
Travis Job 198.29
30 198.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0") 23 Jan 2020 01:54AM UTC 18
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 18
92.27
Travis Job 198.31
32 198.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0") 23 Jan 2020 01:56AM UTC 18
94.3
Travis Job 198.32
Source Files on build 198
  • Tree
  • List 18
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #198
  • Pull Request #54
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