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

PHPCSStandards / PHPCSUtils / 188
97%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/action-runners-c4b2a15d30
DEFAULT BRANCH: develop
Ran 23 Jan 2020 12:14AM UTC
Jobs 4
Files 17
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
188

Pull #51

travis-ci-com

web-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 0
94.5
Travis Job 188.29
30 188.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0") 23 Jan 2020 12:14AM UTC 0
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 0
93.6
Travis Job 188.31
32 188.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0") 23 Jan 2020 12:16AM UTC 0
94.37
Travis Job 188.32
Source Files on build 188
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #188
  • Pull Request #51
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