Skip to content

Commit

Permalink
Ignore debug classes in code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Nov 2, 2023
1 parent 4164358 commit a612d85
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Debug/DebugRoutesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
use Yiisoft\VarDumper\VarDumper;
use Yiisoft\Yii\Debug\Debugger;

/**
* @codeCoverageIgnore
*/
final class DebugRoutesCommand extends Command
{
public const COMMAND_NAME = 'debug:routes';
Expand Down
3 changes: 3 additions & 0 deletions src/Debug/RouterCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
use Yiisoft\Yii\Debug\Collector\CollectorTrait;
use Yiisoft\Yii\Debug\Collector\SummaryCollectorInterface;

/**
* @codeCoverageIgnore
*/
final class RouterCollector implements SummaryCollectorInterface
{
use CollectorTrait;
Expand Down
3 changes: 3 additions & 0 deletions src/Debug/UrlMatcherInterfaceProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use Yiisoft\Router\MatchingResult;
use Yiisoft\Router\UrlMatcherInterface;

/**
* @codeCoverageIgnore
*/
final class UrlMatcherInterfaceProxy implements UrlMatcherInterface
{
public function __construct(private UrlMatcherInterface $urlMatcher, private RouterCollector $routerCollector)
Expand Down

0 comments on commit a612d85

Please sign in to comment.