Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPCSStandards / PHPCSUtils / 117
96%
develop: 99%

Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/deploy-pages-2
DEFAULT BRANCH: develop
Ran 22 Jan 2020 02:05PM UTC
Jobs 4
Files 10
Run time 1min
Badge
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 - 13:34 coverage: 95.747%. First build
117

Pull #30

travis-ci-com

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-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

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

878 of 917 relevant lines covered (95.75%)

54.76 hits per line

Jobs
ID Job ID Ran Files Coverage
29 117.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0") 22 Jan 2020 02:05PM UTC 10
92.13
Travis Job 117.29
30 117.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0") 22 Jan 2020 02:05PM UTC 10
92.66
Travis Job 117.30
31 117.31 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^1.0") 22 Jan 2020 02:06PM UTC 10
90.77
Travis Job 117.31
32 117.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0") 22 Jan 2020 02:07PM UTC 10
90.68
Travis Job 117.32
Source Files on build 117
  • Tree
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #117
  • Pull Request #30
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2023 Coveralls, Inc