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

PHPCSStandards / PHPCSUtils / 188
97%
develop: 99%

Build:
LAST BUILD BRANCH: feature/ghactions-various-tweaks
DEFAULT BRANCH: develop
Ran 23 Jan 2020 12:14AM UTC
Jobs 4
Files 17
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

22 Jan 2020 - 23:54 coverage: 97.306%. First build
188

Pull #51

travis-ci-com

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
Utils\Lists: add new getOpenClose() utility method

This adds a new utility method:
* `getOpenClose()` - to retrieve the open and close brackets for a long/short list in a PHPCS cross-version compatible manner. Returns an array with an 'opener' and a 'closer' key or `false` if not a long/short list.
    While this may seem a simple operation, the method will save on code duplication for standards which need to do this in several sniffs.

Includes unit tests.
Pull Request #51: Utils\Lists: add new getOpenClose() utility method

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

1589 of 1633 relevant lines covered (97.31%)

68.27 hits per line

Jobs
ID Job ID Ran Files Coverage
29 188.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0") 23 Jan 2020 12:14AM UTC 17
94.5
Travis Job 188.29
30 188.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0") 23 Jan 2020 12:14AM UTC 17
95.47
Travis Job 188.30
31 188.31 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^1.0") 23 Jan 2020 12:14AM UTC 17
93.6
Travis Job 188.31
32 188.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0") 23 Jan 2020 12:16AM UTC 17
94.37
Travis Job 188.32
Source Files on build 188
  • Tree
  • List 17
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #188
  • Pull Request #51
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