| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | 2 | protected function configure() |
|
| 20 | { |
||
| 21 | $this |
||
| 22 | 2 | ->setName('yokai:security-token:archive') |
|
| 23 | 2 | ->addOption('purpose', null, InputOption::VALUE_OPTIONAL, 'Filter tokens to archive on purpose.') |
|
| 24 | 2 | ->addOption('before', null, InputOption::VALUE_OPTIONAL, '[deprecated] Filter tokens to archive on created date.') |
|
| 25 | ; |
||
| 26 | 2 | } |
|
| 27 | |||
| 52 |
If you suppress an error, we recommend checking for the error condition explicitly: