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

PHPCSStandards / PHPCSUtils / 124
97%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/action-runners-c4b2a15d30
DEFAULT BRANCH: develop
Ran 22 Jan 2020 03:36PM UTC
Jobs 4
Files 11
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
124

Pull #32

travis-ci-com

web-flow
:sparkles: New Utils\FunctionDeclarations class

New `PHPCSUtils\Utils\FunctionDeclarations` class which will hold improved versions of the `File::getMethodProperties()` and the `File::getMethodParameters()` methods as well as additional methods related to examining function declaration statements.

Take note of the dropping of `Method` from the method names in the `FunctionDeclarations` class.
As these methods also work for global functions as well as closures, having `Method` in the name doesn't cover the actual functionality of the methods.

For the initial functions in this class, the unit tests for the `PHPCSUtils\BackCompat\BCFile` versions of these functions are re-used to ensure that the improved functions in this class stay compatible with the original functions.

This commit also adds a `getName()` method which is an alias of the `PHPCSUtils\Utils\ObjectDeclarations::getName()` method.
Pull Request #32: New Utils\FunctionDeclarations class

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

1091 of 1130 relevant lines covered (96.55%)

54.93 hits per line

Jobs
ID Job ID Ran Files Coverage
29 124.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0") 22 Jan 2020 03:36PM UTC 0
93.6
Travis Job 124.29
30 124.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0") 22 Jan 2020 03:36PM UTC 0
94.04
Travis Job 124.30
31 124.31 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^1.0") 22 Jan 2020 03:36PM UTC 0
92.67
Travis Job 124.31
32 124.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0") 22 Jan 2020 03:38PM UTC 0
92.6
Travis Job 124.32
Source Files on build 124
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #124
  • Pull Request #32
  • PR Base - develop (#122)
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