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

laminas / laminas-cli / 135 / 2
93%
master: 93%

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

15 Jun 2020 10:11PM UTC coverage: 84.689% (-0.3%) from 84.988%
COMPOSER_ARGS="--no-interaction" COVERAGE_DEPS="php-coveralls/php-coveralls" DEPS=latest CS_CHECK=true TEST_COVERAGE=true

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

Source Files on job 135.2 (COMPOSER_ARGS="--no-interaction" COVERAGE_DEPS="php-coveralls/php-coveralls" DEPS=latest CS_CHECK=true TEST_COVERAGE=true)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 5
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 92
  • Travis Job 135.2
  • 4aefc741 on github
  • Prev Job for COMPOSER_ARGS="--no-interaction" COVERAGE_DEPS="php-coveralls/php-coveralls" DEPS=latest CS_CHECK=true TEST_COVERAGE=true on master (#133.2)
  • Next Job for COMPOSER_ARGS="--no-interaction" COVERAGE_DEPS="php-coveralls/php-coveralls" DEPS=latest CS_CHECK=true TEST_COVERAGE=true on master (#136.2)
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