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

PHPCSStandards / PHPCSUtils / 124 / 29

DEFAULT BRANCH: develop
Build:
LAST BUILD BRANCH: stable
Ran 22 Jan 2020 03:36PM UTC
Files 11
Run time 2s
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 - 15:36 coverage: 93.596% (+1.4%) from 92.159%
LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0"

Pull #32

travis-ci-com

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

1067 of 1140 relevant lines covered (93.6%)

13.56 hits per line

Source Files on job 124.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0")
  • Tree
  • List 11
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 49
  • Travis Job 124.29
  • 3e0a3df5 on github
  • Prev Job for LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0" on feature/new-functiondeclarations-class (#122.29)
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