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

PHPCSStandards / PHPCSUtils / 188 / 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 12:17AM UTC
Files 17
Run time 2s
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 11:54PM UTC coverage: 94.37%. First build
PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0"

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

1827 of 1936 relevant lines covered (94.37%)

16.82 hits per line

Source Files on job 188.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 67
  • Travis Job 188.32
  • 7294bd94 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