| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public function handle(Core $core) |
||
| 41 | { |
||
| 42 | $username = $this->argument('username'); |
||
| 43 | $lock = Lockout::isLocked($username); |
||
| 44 | $table = new Table($this->output); |
||
| 45 | if($lock){ |
||
| 46 | $table->setRows([ |
||
| 47 | ['<fg=yellow>'.$username.' is locked',]]); |
||
| 48 | $table->render(); |
||
| 49 | $this->line('<fg=default>Run <fg=cyan>php artisan lockout:unlock '.$username.'<fg=default> to unlock account.'); |
||
| 50 | } else{ |
||
| 51 | $table->setRows([ |
||
| 52 | ['<fg=green>'.$username.' is unlocked',]]); |
||
| 53 | $table->render(); |
||
| 54 | $this->line('<fg=default>Run <fg=cyan>php artisan lockout:lock '.$username.'<fg=default> to lock account.'); |
||
| 55 | } |
||
| 61 | } |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths