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

PHPCSStandards / PHPCSUtils / 133 / 29
97%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/upload-pages-artifact-5.0.0
DEFAULT BRANCH: develop
Ran 22 Jan 2020 04:58PM UTC
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

22 Jan 2020 04:31PM UTC coverage: 93.429%. First build
LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0"

Pull #34

travis-ci-com

web-flow
FunctionDeclarations::getParameters(): code simplification and efficiency fix

Once the equal sign has been found, we know that everything else until the end of the parameter is part of the default value.

So instead of looping through each token individually after the equal sign, go straight to the end of the parameter.

This allows for greatly simplifying the code within various `case`s in the `switch` as well as for merging a lot of the `case`s together.
Pull Request #34: FunctionDeclarations::getParameters(): various improvements

1038 of 1111 relevant lines covered (93.43%)

13.86 hits per line

Source Files on job 133.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 51
  • Travis Job 133.29
  • b5c77808 on github
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