ErrLookup › sebastianbergmann/phpunit

sebastianbergmann/phpunit

The PHP Unit Testing framework. · PHP · 1,151 source files

Analyzed at f123cdb2a2 on 2026-08-23. 139 documented errors.

Code / MessageTypeSeverityTags
Options and cannot be used together
exception error phpunit, cli, mutually-exclusive-options, argument-parsing
Not enough parameter sets configured, only
exception error phpunit, mockobject, expectation, parameter-sets, test-failure
Subscriber " " does not implement any known interface - did…
exception error phpunit, event-dispatcher, subscriber, extension-registration, php
Parameter count for invocation
exception error phpunit, mock, argument-count, with-constraints
" " does not match "socket://hostname:port" format
exception error phpunit, output, printer, socket, url-format, logging
Trying to double property
exception error phpunit, mockobject, property-doubling, visibility, reflection
The path " " specified for the --log-events-text option…
exception error phpunit, cli, logging, event-log, filesystem, path-resolution
File " " does not exist
exception error phpunit, php, baseline, deprecation
Too many parameter sets given
exception error phpunit, mock, parameter-sets, verification
Trying to configure method
exception error phpunit, mockobject, onlymethods, unknown-method, reflection
No entry in the value map matched the invocation of
exception error phpunit, mockobject, stub, return-value-map, strict-matching
Only return values have been configured for :: ()
exception error phpunit, mockobject, stub, consecutive-calls, return-values
PHPT file must contain one of the sections
exception error phpunit, phpt, required-section, parser
Class declared in does not extend PHPUnit\Framework\TestCase
exception error phpunit, test-loader, base-class, wrong-inheritance
out of expected unordered parameter set called, index [ ]…
exception error phpunit, mockobject, expectation, verification, parameter-sets
Error in bootstrap script
exception error phpunit, bootstrap, syntax-error, configuration, startup-failure
No return value is configured for
exception error phpunit, mock-object, unconfigured-return, mock-vs-stub
File exists, PHPT test will not be executed
exception error phpunit, phpt, code-coverage, stale-artifact, crash-recovery
E_USER_ERROR was triggered
exception error phpunit, php, trigger-error, e-user-error, error-handling
was expected to be but was .
exception error phpunit, mock-object, expects, invocation-count, expectation-failed
Parameters for method
exception error phpunit, mock-object, with, expectations, willreturnmap
Could not load -- -- for PHPT file
exception error phpunit, phpt, external-file, fixtures, file-permissions
Test directory " " not found
exception error phpunit, xml, test-suite, directory-not-found, configuration
Expected invocation at least
exception error phpunit, mock, verification, invocation-count
PHPUnit does not support PHPT
exception error phpunit, phpt, cgi, unsupported-section, porting
Doubled method does not exist.
exception error phpunit, mock, never-invoked, with-constraints, misleading-message
Subscriber " " does not implement a known interface
exception error phpunit, type-map, subscriber, event-system, php
File " " does not have line
exception error phpunit, php, baseline, file-io
Regular expression cannot be matched
exception error php, phpunit, regex, pcre, backtrack-limit, assertmatchesregexp
IteratorAggregate::getIterator() returned an object that…
exception error php, phpunit, assertcount, iteratoraggregate, infinite-loop, traversable
Trying to double property
exception error phpunit, mockobject, property-doubling, unknown-property, reflection
Schema for PHPUnit is not available
exception error phpunit, xml, schema, installation, validation
Unknown event type
exception error phpunit, event-dispatcher, custom-events, php
" " is not a valid version_compare() operator
exception error phpunit, xml-config, version-constraint, validation
Format description cannot be matched
exception error php, phpunit, assertstringmatchesformat, pcre, backtrack-limit, format-string
Cannot double method with invalid name
exception error phpunit, mock-object, method-name, input-validation, identifier
was not expected to be called more than times, actually…
exception error phpunit, mock, invocation-count, runtime-failure
Return value for :: () cannot be generated
exception error phpunit, mock-object, return-value-generation, constructor-error, reflection
The key " " has already been defined by provider
exception error phpunit, php, data-provider, duplicate-key
Trying to double property
exception error phpunit, mockobject, property-doubling, static, reflection
Class or interface " " does not exist
exception error phpunit, assertion, class-not-found, typo, autoload, php
Cannot load XML configuration file
validation error phpunit, xml, configuration, schema-validation, migration
Interfaces must not declare the same method
exception error php, phpunit, mockbuilder, interface-intersection, method-collision
Expectation for failed.
exception error phpunit, mock-object, with, argument-mismatch, expectation-failed
Method was expected to be called
exception error phpunit, mock, verification, invocation-count
Value for must not be negative.
exception error phpunit, telemetry, value-object, duration, php
unrecognized --order-by option
exception error phpunit, cli, order-by, configuration, invalid-option
Comparison method :: () does not exist.
exception error php, phpunit, assertobjectequals, equals-method, reflection
Directory " " does not exist and could not be created
exception error phpunit, run-history, filesystem, permissions, ci
getrusage() failed.
exception error phpunit, telemetry, getrusage, environment, php
PHP setting " " contains a line-break character, which is…
exception error phpunit, process-isolation, ini-settings, config-validation
PHPT file must not contain more than one of the sections
exception error phpunit, phpt, conflicting-sections, parser
Cannot open socket
exception error phpunit, socket, output, network, tcp
getrusage() did not return the expected keys
exception error phpunit, telemetry, getrusage, environment, php
-- -- is not a valid PHPT section
exception error phpunit, phpt, parser, section-header, typo
Configured code coverage driver class
exception error phpunit, php, code-coverage, configuration
Unable to write temporary file
exception error phpunit, process-isolation, temp-file, filesystem, environment
Cannot use " " as the name of a test double class because…
exception error phpunit, mock-object, class-name, input-validation, identifier
File referenced by --FILE_EXTERNAL-- section is empty
exception error phpunit, phpt, empty-file, fixtures, file-external
is not an accepted argument type for comparison method :…
exception error php, phpunit, assertobjectequals, type-mismatch, equals-method
Expected invocation at least once but it never occurred.
exception error phpunit, mock, verification, never-invoked
Option requires a non-empty value
exception error phpunit, cli, option-value, shell-interpolation, validation
Return value for :: () cannot be generated , please…
exception error phpunit, mock-object, union-type, intersection-type, return-value-generation
The name " " is already in use
exception error phpunit, mock-object, class-name, name-collision, redeclare
Invalid expected exception message regular expression given
exception error phpunit, regex, pcre, assertion, exception-expectation
Unable to spawn worker process
exception error phpunit, proc-open, process-isolation, environment, disable-functions
Configured code coverage driver class
exception error phpunit, php, code-coverage, configuration, reflection
Parameter " " does not exist
exception error phpunit, extension, configuration, xml, parameters
Static method " " cannot be invoked on mock object
exception error phpunit, mockobject, static-methods, phpunit-10
Method may not return value of type , its declared return…
exception error phpunit, mock-object, return-type, type-mismatch, willreturn
PHPT file must not contain text before its first section
exception error phpunit, phpt, file-format, bom, parser
Data set provided by is invalid, expected array but got
exception error phpunit, php, data-provider, tests
Passing an argument of type Generator for the
exception error phpunit, assertion, generator, count
" " is not a directory
exception error phpunit, exclude-list, bootstrap, path-validation
At least two interfaces must be specified
exception error php, phpunit, mockbuilder, interface-intersection, createmockforintersectionofinterfaces
Expected invocation at most
exception error phpunit, mock, verification, invocation-count
getrusage() returned non-integer values for
exception error phpunit, telemetry, getrusage, type-mismatch, environment, php
Cannot read from
exception error phpunit, cli, file-io, test-selection
Failed asserting that exception with message
exception error phpunit, exception-assertion, assertion-failed, expected-exception
Could not read XML from file
exception error phpunit, xml, configuration, file-io
Default test suite is not configured
exception error phpunit, xml, test-suite, configuration, api-misuse
Method :: () is declared to never return
exception error phpunit, mock-object, never-return-type, return-value-generation, php-81
No builder found for match builder identification <
exception error phpunit, mock-object, after, matcher-id, dangling-reference
Trying to double property
exception error phpunit, mock-object, test-double, readonly-property, reflection
Invalid version comparison operator
validation error phpunit, xml, version-constraint, configuration, phpversion
Subscriber " " does not exist or is not an interface
exception error phpunit, type-map, interface-not-found, autoload, php
Trying to configure method
exception error phpunit, mock-object, partial-mock, final-method, method-not-found
Comparison method :: () does not declare exactly one…
exception error php, phpunit, assertobjectequals, method-signature, equals-method
The file does not validate against any known schema
validation error phpunit, xml, migration, schema-detection, configuration
No supported schema was detected
exception error phpunit, xml, schema-detection, api-misuse, result-object
Option requires a positive integer value
exception error phpunit, cli, option-value, numeric-validation, diff-output
The path " " specified for the --log-events-verbose-text…
exception error phpunit, cli, logging, event-log, verbose, path-resolution
-- -- section occurs more than once
exception error phpunit, phpt, parser, duplicate, section-header
Class cannot be found in
exception error phpunit, cli, file-not-found, test-loader, typo
Unable to create temporary file for redirected output
exception error phpunit, process-isolation, temp-file, stderr-redirect, environment
Cannot read baseline
exception error phpunit, php, baseline, version-mismatch, xml
Event " " already assigned
exception error phpunit, type-map, duplicate-registration, event-system, php
The file does not need to be migrated
exception warning phpunit, xml, migration, no-op, configuration
Subscriber type " " already registered
exception error phpunit, type-map, duplicate-registration, php
Value for nanoseconds must not be greater than 999999999.
exception error phpunit, telemetry, value-object, cpu-time, unit-conversion, php