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

PHPCSStandards / PHPCSUtils / 128 / 29

DEFAULT BRANCH: develop
Build:
LAST BUILD BRANCH: stable
Ran 22 Jan 2020 08:11AM PST
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 - 7:54 coverage: 93.568%. First build
LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0"

Pull #33

travis-ci-com

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
FunctionDeclarations::getProperties(): add 'return_type_end_token' to the array

The `getParameters()` method already returns stack pointers to both the "start" and "end" of a parameter type declaration.

The `getProperties()` method only returned the stack pointer to the _start_ of the return type declaration.

For feature completeness, a new `return_type_end_token` array index has been added to the array which is returned by this method.
The value will be `false` if there is no return type declaration; or the integer stack pointer to the last token of the return type declaration if there is.

Includes a new unit test for this feature, as well as some adjustments to the existing unit tests to allow for this feature.
Pull Request #33: FunctionDeclarations::getProperties(): various improvements

1062 of 1135 relevant lines covered (93.57%)

13.66 hits per line

Source Files on job 128.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 50
  • Travis Job 128.29
  • 9658d19d on github
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