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

PHPCSStandards / PHPCSUtils / 117 / 29
96%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/upload-pages-artifact-5.0.0
DEFAULT BRANCH: develop
Ran 22 Jan 2020 02:05PM UTC
Files 10
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

22 Jan 2020 01:34PM UTC coverage: 92.125%. First build
LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0"

Pull #30

travis-ci-com

web-flow
ObjectDeclarations::findNames(): return cleaned up names

Previously, the method would use the `GetTokensAsString::normal()` method to retrieve the name of extended/implemented classes/interfaces.

Other than to just check that a class/interface _does_ extend/implement, the most common use case for using these methods is for comparing the returned class/interface name against a list of names.

The name, however, may contain superfluous whitespace and/or comments which would invalidate any such name comparison against the name.

To that end, the name is now returned "clean", i.e. stripped of all whitespace and/or comments.

Includes updating the existing unit tests to reflect the changed behaviour.
Pull Request #30: ObjectDeclarations::findExtendedClassName/findImplementedInterfaceNames(): various improvements

854 of 927 relevant lines covered (92.13%)

13.48 hits per line

Source Files on job 117.29 (LINT=1 PHPCS_VERSION="dev-master" 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 45
  • Travis Job 117.29
  • 070275ae 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