Closed
Description
What are you trying to achieve?
I create new Yii2 project and try to run tests on base version
composer create-project yiisoft/yii2-app-basic ./
also added
composer require codeception/module-phpbrowser
I wait for the report
I wrote already to the Yii but @samdark recommended to list this issue here
What do you get instead?
Provide console output if related. Use
-vvv
mode for more details.
Building Actor classes for suites: acceptance, functional, unit
Fatal error: Type of Codeception\Module\PhpBrowser::$client must not be defined (as in class Codeception\Lib\InnerBrowser) in /var/www/vendor/codeception/module-phpbrowser/src/Codeception/Module/PhpBrowser.php on line 81
Provide test source code if related
The test is from the yii-app-basic
Details
- Codeception version: 4.1.23
- PHP Version: 7.4
- Operating System: Ubuntu 21.04 (64)
- Installation type: Composer
- List of installed packages (
composer show
)
behat/gherkin v4.9.0 Gherkin DSL parser for PHP
bower-asset/inputmask 3.3.11
bower-asset/jquery 3.6.0
bower-asset/punycode v1.3.2
bower-asset/yii2-pjax 2.0.7.1
cebe/markdown 1.2.1 A super fast, highly extensible markdown parser for PHP
codeception/codeception 4.1.23 BDD-style testing framework
codeception/lib-asserts 1.13.2 Assertion methods used by Codeception core and Asserts module
codeception/lib-innerbrowser 1.5.1 Parent library for all Codeception framework modules and PhpBrowser
codeception/module-asserts 1.3.1 Codeception module containing various assertions
codeception/module-filesystem 1.0.3 Codeception module for testing local filesystem
codeception/module-phpbrowser 2.0.0 Codeception module for testing web application over HTTP
codeception/module-yii2 1.1.4 Codeception module for Yii2 framework
codeception/phpunit-wrapper 8.1.4 PHPUnit classes used by Codeception
codeception/specify 0.4.6 BDD code blocks for PHPUnit and Codeception
codeception/stub 3.7.0 Flexible Stub wrapper for PHPUnit's Mock Builder
codeception/verify 1.1.0 BDD assertion library for PHPUnit
doctrine/instantiator 1.4.0 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer 1.2.1 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
egulias/email-validator 3.1.2 A library for validating emails against several RFCs
ezyang/htmlpurifier v4.13.0 Standards compliant HTML filter written in PHP
fakerphp/faker v1.17.0 Faker is a PHP library that generates fake data for you.
guzzlehttp/guzzle 7.4.1 Guzzle is a PHP HTTP client library
guzzlehttp/promises 1.5.1 Guzzle promises library
guzzlehttp/psr7 2.1.0 PSR-7 message implementation that also provides common utility methods
myclabs/deep-copy 1.10.2 Create deep copies (clones) of your objects
npm-asset/bootstrap 4.6.1
opis/closure 3.6.2 A library that can be used to serialize closures (anonymous functions) and arbitrary objects.
paragonie/random_compat v9.99.100 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phar-io/manifest 2.0.3 Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version 3.1.0 Library for handling version information and constraints
phpdocumentor/reflection-common 2.2.0 Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock 5.3.0 With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
phpdocumentor/type-resolver 1.5.1 A PSR-5 based resolver of Class names, Types and Structural Element Names
phpspec/php-diff v1.1.3 A comprehensive library for generating differences between two hashable objects (strings or arrays).
phpspec/prophecy v1.15.0 Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage 7.0.15 Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator 2.0.5 FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template 1.2.1 Simple template engine.
phpunit/php-timer 2.1.3 Utility class for timing
phpunit/php-token-stream 4.0.4 Wrapper around PHP's tokenizer extension.
phpunit/phpunit 8.5.21 The PHP Unit Testing framework.
psr/container 2.0.2 Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher 1.0.0 Standard interfaces for event handling.
psr/http-client 1.0.1 Common interface for HTTP clients
psr/http-factory 1.0.1 Common interfaces for PSR-7 HTTP message factories
psr/http-message 1.0.1 Common interface for HTTP messages
ralouphie/getallheaders 3.0.3 A polyfill for getallheaders.
sebastian/code-unit-reverse-lookup 1.0.2 Looks up which function or method a line of code belongs to
sebastian/comparator 3.0.3 Provides the functionality to compare PHP values for equality
sebastian/diff 3.0.3 Diff implementation
sebastian/environment 4.2.4 Provides functionality to handle HHVM/PHP environments
sebastian/exporter 3.1.4 Provides the functionality to export PHP variables for visualization
sebastian/global-state 3.0.1 Snapshotting of global state
sebastian/object-enumerator 3.0.4 Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector 1.1.2 Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context 3.0.1 Provides functionality to recursively process PHP variables
sebastian/resource-operations 2.0.2 Provides a list of PHP built-in functions that operate on resources
sebastian/type 1.1.4 Collection of value objects that represent the types of the PHP type system
sebastian/version 2.0.1 Library that helps with managing the version number of Git-hosted PHP projects
swiftmailer/swiftmailer v6.3.0 Swiftmailer, free feature-rich PHP mailer
symfony/browser-kit v4.2.4 Symfony BrowserKit Component
symfony/console v5.4.1 Eases the creation of beautiful and testable command line interfaces
symfony/css-selector v5.4.0 Converts CSS selectors to XPath expressions
symfony/deprecation-contracts v2.5.0 A generic function and convention to trigger deprecation notices
symfony/dom-crawler v4.4.30 Eases DOM navigation for HTML and XML documents
symfony/event-dispatcher v5.4.0 Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
symfony/event-dispatcher-contracts v2.5.0 Generic abstractions related to dispatching event
symfony/finder v5.4.0 Finds files and directories via an intuitive fluent interface
symfony/polyfill-ctype v1.23.0 Symfony polyfill for ctype functions
symfony/polyfill-iconv v1.23.0 Symfony polyfill for the Iconv extension
symfony/polyfill-intl-grapheme v1.23.1 Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn v1.23.0 Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer v1.23.0 Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring v1.23.1 Symfony polyfill for the Mbstring extension
symfony/polyfill-php72 v1.23.0 Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73 v1.23.0 Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/polyfill-php80 v1.23.1 Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/service-contracts v1.1.2 Generic abstractions related to writing services
symfony/string v5.4.0 Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
symfony/yaml v5.4.0 Loads and dumps YAML files
theseer/tokenizer 1.2.1 A small library for converting tokenized PHP source code into XML and potentially other formats
webmozart/assert 1.10.0 Assertions to validate method input/output with nice error messages.
yiisoft/yii2 2.0.43 Yii PHP Framework Version 2
yiisoft/yii2-bootstrap4 2.0.10 The Twitter Bootstrap extension for the Yii framework
yiisoft/yii2-composer 2.0.10 The composer plugin for Yii extension installer
yiisoft/yii2-debug 2.1.18 The debugger extension for the Yii framework
yiisoft/yii2-faker 2.0.5 Fixture generator. The Faker integration for the Yii framework.
yiisoft/yii2-gii 2.2.3 The Gii extension for the Yii framework
yiisoft/yii2-swiftmailer 2.1.2 The SwiftMailer integration for the Yii framework
- Suite configuration:
actor: AcceptanceTester
modules:
enabled:
- PhpBrowser:
url: http://localhost/
Metadata
Metadata
Assignees
Labels
No labels