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

PHPCSStandards / PHPCSUtils / 128 / 32

DEFAULT BRANCH: develop
Build:
LAST BUILD BRANCH: stable
Ran 22 Jan 2020 08:13AM 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: 92.44%. First build
PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.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

1235 of 1336 relevant lines covered (92.44%)

13.48 hits per line

Source Files on job 128.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.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.32
  • 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