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

PHPCSStandards / PHPCSUtils / 133
97%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/action-runners-c4b2a15d30
DEFAULT BRANCH: develop
Ran 22 Jan 2020 04:58PM UTC
Jobs 4
Files 11
Run time 5min
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
133

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

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

1062 of 1100 relevant lines covered (96.55%)

56.2 hits per line

Jobs
ID Job ID Ran Files Coverage
29 133.29 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^2.0") 22 Jan 2020 04:57PM UTC 0
93.43
Travis Job 133.29
30 133.30 (PHPCS_VERSION="2.9.2" COVERALLS_VERSION="^2.0") 22 Jan 2020 04:58PM UTC 0
93.88
Travis Job 133.30
31 133.31 (LINT=1 PHPCS_VERSION="dev-master" COVERALLS_VERSION="^1.0") 22 Jan 2020 04:59PM UTC 0
92.3
Travis Job 133.31
32 133.32 (PHPCS_VERSION="2.6.0" COVERALLS_VERSION="^1.0") 22 Jan 2020 05:00PM UTC 0
92.22
Travis Job 133.32
Source Files on build 133
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #133
  • Pull Request #34
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