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

consolidation / annotated-command / 252
45%

Build:
DEFAULT BRANCH: master
Ran 26 Sep 2016 04:53AM UTC
Jobs 4
Files 22
Run time 19s
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
252

push

travis-ci

web-flow
Hook options (#43)

Allows hooks to add @option and @usage annotations that will be attached to the help text of the command(s) they hook.

* Move getNames() method from AnnotatedCommand to HookManager.

* Refactor AnnotatedCommand::addOptions().

* Refactor AnnotatedCommand::explicitOptions() into CommandInfo::inputOptions().

* Add DefaultsWithDescriptions::empty() to indicate the options set has no options.

* Add an option hook, so that hooks can add options to the commands they hook.

* Refactor to allow option hooks to specify usage annotations as well as options.

* Fix code style error in AlterOptionsCommandEvent.

* Rename DefaultsWithDescriptions::empty() to DefaultsWithDescriptions::isEmpty(), as only php7 allows the former. Remove a couple of unused variables.

111 of 111 new or added lines in 7 files covered. (100.0%)

892 of 982 relevant lines covered (90.84%)

39.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/AlterOptionsCommandEvent.php
2
100.0
src/Parser/CommandInfo.php
5
100.0
src/AnnotatedCommand.php
8
100.0
src/Hooks/HookManager.php

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/AnnotatedCommand.php
Jobs
ID Job ID Ran Files Coverage
1 252.1 26 Sep 2016 04:53AM UTC 0
88.42
Travis Job 252.1
2 252.2 26 Sep 2016 04:53AM UTC 0
89.26
Travis Job 252.2
3 252.3 26 Sep 2016 04:53AM UTC 0
89.26
Travis Job 252.3
4 252.4 26 Sep 2016 04:53AM UTC 0
90.89
Travis Job 252.4
Source Files on build 252
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #252
  • 2c2ae1ac on github
  • Prev Build on master (#248)
  • Next Build on master (#256)
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