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

laminas / laminas-cli / 135
93%

Build:
DEFAULT BRANCH: master
Ran 16 Jun 2020 01:16PM UTC
Jobs 1
Files 21
Run time 4s
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
135

push

travis-ci-com

weierophinney
refactor: move guard clause in validators to `AbstractParamAwareInput`

Previously, each parameter defining validation had a conditional like
the following:

```php
if (null === $value && ! $this->isRequired()) {
    return $value;
}
```

To avoid duplication, and to simplify writing validators for users, this
logic has been moved into `AbstractParamAwareInput`, where it now
prepends that logic to the existing validator if the param is not
required (resetting to the original validator on completion).

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>

354 of 418 relevant lines covered (84.69%)

11.01 hits per line

Jobs
ID Job ID Ran Files Coverage
2 135.2 (COMPOSER_ARGS="--no-interaction" COVERAGE_DEPS="php-coveralls/php-coveralls" DEPS=latest CS_CHECK=true TEST_COVERAGE=true) 16 Jun 2020 01:16PM UTC 0
84.69
Travis Job 135.2
Source Files on build 135
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #135
  • 4aefc741 on github
  • Prev Build on master (#133)
  • Next Build on master (#136)
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