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

PHPCSStandards / PHPCSUtils / 217 / 30
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 04:24AM UTC
Files 19
Run time 1s
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 03:21AM UTC coverage: 95.005%. First build
PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0"

Pull #60

travis-ci-com

web-flow
:sparkles: New Utils\TextStrings class

This introduces two new methods:
* `getCompleteTextString()` - to retrieve the complete text string content of a - potentially multi-line - text string. Returns the text string.
* `stripQuotes()` - to strip the text delimiter quotes off an arbitrary text string. Returns the resulting text string.

These methods have been battle-tested in various forms in the past year or two in the PHPCompatibility and the WordPressCS standards.

This commit includes a new convenience token array for working with text strings to the `PHPCSUtils\Tokens\Collections` class.

Includes dedicated unit tests for each method.
Pull Request #60: New Utils\TextStrings class

1731 of 1822 relevant lines covered (95.01%)

16.78 hits per line

Source Files on job 217.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 75
  • Travis Job 217.30
  • 33706abb 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