We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error:
❯ ./vendor/bin/codecept run unit Accounting Codeception PHP Testing Framework v5.0.6 https://helpukrainewin.org [Seed] 2023267473 PHP Fatal error: Trait "Codeception\Subscriber\Shared\StaticEvents" not found in /home/patrick/github.com/getbooka/booka/tests/_support/Helper/CoverageReporter.php on line 13 PHP Stack trace: PHP 1. {main}() /home/patrick/github.com/getbooka/booka/vendor/bin/codecept:0 PHP 2. include() /home/patrick/github.com/getbooka/booka/vendor/bin/codecept:120 PHP 3. require() /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/codecept:7 PHP 4. {closure:/home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/app.php:7-46}() /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/app.php:46 PHP 5. Codeception\Application->run($input = *uninitialized*, $output = *uninitialized*) /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/app.php:45 PHP 6. Symfony\Component\Console\Application->run($input = class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = class Symfony\Component\Console\Input\InputArgument { ... }; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = ['command' => 'run', 'suite' => 'unit', 'test' => 'Accounting']; protected $interactive = TRUE; private array $tokens = [0 => 'run', 1 => 'unit', 2 => 'Accounting']; private array $parsed = [] }, $output = NULL) /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Application.php:112 PHP 7. Symfony\Component\Console\Application->doRun($input = class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = class Symfony\Component\Console\Input\InputArgument { ... }; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = ['command' => 'run', 'suite' => 'unit', 'test' => 'Accounting']; protected $interactive = TRUE; private array $tokens = [0 => 'run', 1 => 'unit', 2 => 'Accounting']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private bool $decorated = TRUE; private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /home/patrick/github.com/getbooka/booka/vendor/symfony/console/Application.php:168 PHP 8. Symfony\Component\Console\Application->doRunCommand($command = class Codeception\Command\Run { private ?Symfony\Component\Console\Application ${Symfony\Component\Console\Command\Command}application = class Codeception\Application { private array ${Symfony\Component\Console\Application}commands = [...]; private bool ${Symfony\Component\Console\Application}wantHelps = FALSE; private ?Symfony\Component\Console\Command\Command ${Symfony\Component\Console\Application}runningCommand = ...; private string ${Symfony\Component\Console\Application}name = 'Codeception'; private string ${Symfony\Component\Console\Application}version = '5.0.6'; private ?Symfony\Component\Console\CommandLoader\CommandLoaderInterface ${Symfony\Component\Console\Application}commandLoader = NULL; private bool ${Symfony\Component\Console\Application}catchExceptions = TRUE; private bool ${Symfony\Component\Console\Application}autoExit = TRUE; private Symfony\Component\Console\Input\InputDefinition ${Symfony\Component\Console\Application}definition = class Symfony\Component\Console\Input\InputDefinition { ... }; private Symfony\Component\Console\Helper\HelperSet ${Symfony\Component\Console\Application}helperSet = class Symfony\Component\Console\Helper\HelperSet { ... }; private ?Symfony\Contracts\EventDispatcher\EventDispatcherInterface ${Symfony\Component\Console\Application}dispatcher = NULL; private Symfony\Component\Console\Terminal ${Symfony\Component\Console\Application}terminal = class Symfony\Component\Console\Terminal { ... }; private string ${Symfony\Component\Console\Application}defaultCommand = 'list'; private bool ${Symfony\Component\Console\Application}singleCommand = FALSE; private bool ${Symfony\Component\Console\Application}initialized = TRUE; private Symfony\Component\Console\SignalRegistry\SignalRegistry ${Symfony\Component\Console\Application}signalRegistry = class Symfony\Component\Console\SignalRegistry\SignalRegistry { ... }; private array ${Symfony\Component\Console\Application}signalsToDispatchEvent = [...]; protected ?Symfony\Component\Console\Input\ArgvInput $coreArguments = class Symfony\Component\Console\Input\ArgvInput { ... } }; private ?string ${Symfony\Component\Console\Command\Command}name = 'run'; private ?string ${Symfony\Component\Console\Command\Command}processTitle = NULL; private array ${Symfony\Component\Console\Command\Command}aliases = []; private Symfony\Component\Console\Input\InputDefinition ${Symfony\Component\Console\Command\Command}definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 0; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = class Symfony\Component\Console\Input\InputArgument { ... }; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; private bool ${Symfony\Component\Console\Command\Command}hidden = FALSE; private string ${Symfony\Component\Console\Command\Command}help = ''; private string ${Symfony\Component\Console\Command\Command}description = ''; private ?Symfony\Component\Console\Input\InputDefinition ${Symfony\Component\Console\Command\Command}fullDefinition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = class Symfony\Component\Console\Input\InputArgument { ... }; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; private bool ${Symfony\Component\Console\Command\Command}ignoreValidationErrors = FALSE; private ?Closure ${Symfony\Component\Console\Command\Command}code = NULL; private array ${Symfony\Component\Console\Command\Command}synopsis = []; private array ${Symfony\Component\Console\Command\Command}usages = []; private ?Symfony\Component\Console\Helper\HelperSet ${Symfony\Component\Console\Command\Command}helperSet = class Symfony\Component\Console\Helper\HelperSet { private array $helpers = [...] }; protected ?Codeception\Codecept $codecept = NULL; protected int $executed = 0; protected array $options = ['override' => [...], 'ext' => [...], 'report' => FALSE, 'html' => 'report.html', 'xml' => 'report.xml', 'phpunit-xml' => 'phpunit-report.xml', 'colors' => TRUE, 'no-colors' => FALSE, 'silent' => FALSE, 'steps' => TRUE, 'debug' => FALSE, 'shard' => NULL, 'filter' => NULL, 'grep' => NULL, 'bootstrap' => FALSE, 'no-redirect' => FALSE, 'coverage' => NULL, 'coverage-html' => NULL, 'coverage-xml' => NULL, 'coverage-text' => NULL, 'coverage-crap4j' => NULL, 'coverage-cobertura' => NULL, 'coverage-phpunit' => NULL, 'no-exit' => FALSE, 'group' => [...], 'skip' => [...], 'skip-group' => [...], 'env' => [...], 'fail-fast' => NULL, 'no-rebuild' => FALSE, 'seed' => NULL, 'no-artifacts' => FALSE, 'help' => FALSE, 'quiet' => FALSE, 'verbose' => FALSE, 'version' => FALSE, 'ansi' => NULL, 'no-interaction' => FALSE, 'config' => NULL]; protected ?Symfony\Component\Console\Output\OutputInterface $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { ... }; private array $consoleSectionOutputs = [...] } }, $input = class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = class Symfony\Component\Console\Input\InputArgument { ... }; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = ['command' => 'run', 'suite' => 'unit', 'test' => 'Accounting']; protected $interactive = TRUE; private array $tokens = [0 => 'run', 1 => 'unit', 2 => 'Accounting']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private bool $decorated = TRUE; private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /home/patrick/github.com/getbooka/booka/vendor/symfony/console/Application.php:314 PHP 9. Symfony\Component\Console\Command\Command->run($input = class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = class Symfony\Component\Console\Input\InputArgument { ... }; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = ['command' => 'run', 'suite' => 'unit', 'test' => 'Accounting']; protected $interactive = TRUE; private array $tokens = [0 => 'run', 1 => 'unit', 2 => 'Accounting']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private bool $decorated = TRUE; private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /home/patrick/github.com/getbooka/booka/vendor/symfony/console/Application.php:1022 PHP 10. Codeception\Command\Run->execute($input = class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = class Symfony\Component\Console\Input\InputArgument { ... }; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = ['command' => 'run', 'suite' => 'unit', 'test' => 'Accounting']; protected $interactive = TRUE; private array $tokens = [0 => 'run', 1 => 'unit', 2 => 'Accounting']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private bool $decorated = TRUE; private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /home/patrick/github.com/getbooka/booka/vendor/symfony/console/Command/Command.php:312 PHP 11. Codeception\Codecept->__construct($options = ['xml' => FALSE, 'phpunit-xml' => FALSE, 'html' => FALSE, 'coverage' => FALSE, 'coverage-xml' => FALSE, 'coverage-html' => FALSE, 'coverage-text' => FALSE, 'coverage-crap4j' => FALSE, 'coverage-cobertura' => FALSE, 'coverage-phpunit' => FALSE, 'verbosity' => 32, 'interactive' => TRUE, 'ansi' => TRUE, 'seed' => 2023267473, 'filter' => NULL]) /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Command/Run.php:432 PHP 12. Codeception\Subscriber\ExtensionLoader->bootGlobalExtensions($options = ['silent' => FALSE, 'debug' => FALSE, 'steps' => FALSE, 'html' => FALSE, 'xml' => FALSE, 'phpunit-xml' => FALSE, 'no-redirect' => TRUE, 'report' => FALSE, 'colors' => TRUE, 'coverage' => FALSE, 'coverage-xml' => FALSE, 'coverage-html' => FALSE, 'coverage-text' => FALSE, 'coverage-crap4j' => FALSE, 'coverage-cobertura' => FALSE, 'coverage-phpunit' => FALSE, 'groups' => NULL, 'excludeGroups' => NULL, 'filter' => NULL, 'shard' => NULL, 'env' => NULL, 'fail-fast' => 0, 'ansi' => TRUE, 'verbosity' => 32, 'interactive' => TRUE, 'no-rebuild' => FALSE, 'quiet' => FALSE, 'lint' => FALSE, 'shuffle' => TRUE, 'strict_xml' => FALSE, 'memory_limit' => '512M', 'backup_globals' => TRUE, 'report_useless_tests' => TRUE, 'disallow_test_output' => FALSE, 'be_strict_about_changes_to_global_state' => FALSE, 'log_incomplete_skipped' => FALSE, 'bootstrap' => FALSE, 'seed' => 2023267473]) /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Codecept.php:90 PHP 13. Codeception\Subscriber\ExtensionLoader->bootExtensions($config = ['paths' => ['tests' => 'tests', 'output' => 'tests/_output', 'data' => 'tests/_data', 'support' => 'tests/_support', 'envs' => 'tests/_envs'], 'actor_suffix' => 'Tester', 'extensions' => ['enabled' => [...], 'config' => [...], 'commands' => [...]], 'settings' => ['lint' => FALSE, 'shuffle' => TRUE, 'colors' => TRUE, 'strict_xml' => FALSE, 'memory_limit' => '512M', 'backup_globals' => TRUE, 'report_useless_tests' => TRUE, 'disallow_test_output' => FALSE, 'be_strict_about_changes_to_global_state' => FALSE, 'log_incomplete_skipped' => FALSE, 'bootstrap' => FALSE], 'modules' => ['config' => [...]], 'coverage' => ['enabled' => TRUE, 'low_limit' => 25, 'high_limit' => 75, 'show_only_summary' => TRUE, 'show_uncovered' => FALSE, 'include' => [...], 'exclude' => [...]], 'support_namespace' => NULL, 'namespace' => '', 'include' => [], 'extends' => NULL, 'suites' => [], 'groups' => [], 'bootstrap' => FALSE, 'params' => [], 'gherkin' => []]) /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Subscriber/ExtensionLoader.php:63 PHP 14. class_exists($class = 'Helper\\CoverageReporter') /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Subscriber/ExtensionLoader.php:110 PHP 15. Codeception\Util\Autoload::load($class = 'Helper\\CoverageReporter') /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Subscriber/ExtensionLoader.php:110 PHP 16. Codeception\Util\Autoload::load($class = '\\Helper\\CoverageReporter') /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Util/Autoload.php:105 PHP 17. Codeception\Util\Autoload::loadMappedFile($prefix = '\\', $relativeClass = 'Helper\\CoverageReporter') /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Util/Autoload.php:94 PHP 18. Codeception\Util\Autoload::requireFile($file = '/home/patrick/github.com/getbooka/booka/tests/_support/Helper/CoverageReporter.php') /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Util/Autoload.php:138 PHP 19. require_once() /home/patrick/github.com/getbooka/booka/vendor/codeception/codeception/src/Codeception/Util/Autoload.php:149 [21:40:42][patrick@main]~/github.com/getbooka/booka(+1|%3|!255) ❯
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error:
The text was updated successfully, but these errors were encountered: