Issues (11)

debug-test.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Codeception CLI
4
 */
5
6
require_once dirname(__FILE__).'/vendor/autoload.php';
7
8
use Symfony\Component\Console\Application;
9
10
$app = new Application('Codeception', Codeception\Codecept::VERSION);
11
$app->add(new Codeception\Command\Build('build'));
12
$app->add(new Codeception\Command\Run('run'));
13
$app->add(new Codeception\Command\Console('console'));
14
$app->add(new Codeception\Command\Bootstrap('bootstrap'));
15
$app->add(new Codeception\Command\GenerateCept('generate:cept'));
16
$app->add(new Codeception\Command\GenerateCest('generate:cest'));
17
$app->add(new Codeception\Command\GenerateTest('generate:test'));
18
$app->add(new Codeception\Command\GeneratePhpUnit('generate:phpunit'));
0 ignored issues
show
The type Codeception\Command\GeneratePhpUnit was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
19
$app->add(new Codeception\Command\GenerateSuite('generate:suite'));
20
$app->add(new Codeception\Command\GenerateHelper('generate:helper'));
21
$app->add(new Codeception\Command\GenerateScenarios('generate:scenarios'));
22
$app->add(new Codeception\Command\Clean('clean'));
23
$app->add(new Codeception\Command\GenerateGroup('generate:group'));
24
$app->add(new Codeception\Command\GeneratePageObject('generate:pageobject'));
25
$app->add(new Codeception\Command\GenerateStepObject('generate:stepobject'));
26
$app->run();