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

PHPCSStandards / PHPCSUtils / 103
93%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/action-runners-c4b2a15d30
DEFAULT BRANCH: develop
Ran 22 Jan 2020 03:39AM UTC
Jobs 4
Files 9
Run time 15min
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
103

Pull #25

travis-ci-com

web-flow
BCFile::getDeclarationName(): fix compatibility with PHPCS < 2.6.1 [3]

In PHPCS 2.6.0, when live coding, the last token in a file can be tokenized as `T_STRING`, but without having the `content` index key set.

This commit adds a work-around to the utility method to handle the situation correctly.
Pull Request #25: BCFile::getDeclarationName(): add unit tests and fix compatibility with older PHPCS versions

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

781 of 842 relevant lines covered (92.76%)

53.85 hits per line

Jobs
ID Job ID Ran Files Coverage
29 103.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0") 22 Jan 2020 03:39AM UTC 0
88.94
Travis Job 103.29
30 103.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0") 22 Jan 2020 03:52AM UTC 0
89.53
Travis Job 103.30
31 103.31 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^1.0") 22 Jan 2020 03:52AM UTC 0
87.49
Travis Job 103.31
32 103.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0") 22 Jan 2020 03:55AM UTC 0
87.29
Travis Job 103.32
Source Files on build 103
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #103
  • Pull Request #25
  • PR Base - develop (#100)
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