-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
feature/configuration/xmltype/bugSomething is brokenSomething is brokenversion/10Something affects PHPUnit 10Something affects PHPUnit 10version/11Something affects PHPUnit 11Something affects PHPUnit 11version/12Something affects PHPUnit 12Something affects PHPUnit 12
Description
Q | A |
---|---|
PHPUnit version | 12.3.11 |
PHP version | 8.4.12 |
Installation Method | Composer |
Summary
The failOnPhpunitWarning
phpunit attribute configuration doesn't work.
It is not mentioned in the documentation, but is present in the phpunit.xsd file.
Current behavior
When I run tests with --do-not-fail-on-phpunit-warning
cli option, I have no errors.
When I run tests with the failOnPhpunitWarning
phpunit attribute configuration, I have an error.
How to reproduce
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
failOnPhpunitWarning="false"
>
Expected behavior
No longer have errors when using failOnPhpunitWarning
phpunit attribute configuration.
Metadata
Metadata
Assignees
Labels
feature/configuration/xmltype/bugSomething is brokenSomething is brokenversion/10Something affects PHPUnit 10Something affects PHPUnit 10version/11Something affects PHPUnit 11Something affects PHPUnit 11version/12Something affects PHPUnit 12Something affects PHPUnit 12