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

PHPCSStandards / PHPCSUtils / 121
96%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/action-runners-c4b2a15d30
DEFAULT BRANCH: develop
Ran 22 Jan 2020 02:45PM UTC
Jobs 4
Files 10
Run time 2min
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
121

Pull #31

travis-ci-com

web-flow
Util\ObjectDeclarations: add findExtendedInterfaceNames() method

Interfaces can extend more than one interface (in contrast to classes) and both the PHPCS native, as well as  the `Util\ObjectDeclarations` `findExtendedClassName()` method does not allow for that.
See: http://php.net/manual/en/language.oop5.interfaces.php#example-208

To allow for this from within the existing `findExtendedClassName()` method would change the function signature from `@return string|false` to `@return string|array|false`, thus breaking the API.

So, instead, a new `ObjectDeclarations::findExtendedInterfaceNames()` method has been added and it is now explicitly recommended in the documentation of the `findExtendedClassName()` method to use the new method when examining interface declarations.

Includes dedicated unit tests for the new method.

This commit supersedes upstream PR 2128.
Pull Request #31: Util\ObjectDeclarations: add findExtendedInterfaceNames() method

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

882 of 921 relevant lines covered (95.77%)

55.19 hits per line

Jobs
ID Job ID Ran Files Coverage
29 121.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0") 22 Jan 2020 02:45PM UTC 0
92.16
Travis Job 121.29
30 121.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0") 22 Jan 2020 02:45PM UTC 0
92.7
Travis Job 121.30
31 121.31 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^1.0") 22 Jan 2020 02:45PM UTC 0
90.83
Travis Job 121.31
32 121.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0") 22 Jan 2020 02:47PM UTC 0
90.73
Travis Job 121.32
Source Files on build 121
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #121
  • Pull Request #31
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