- Issue created by @jan.koprowski
I removed the tag per the guidelines unless this is very specifically unique to phpunit 10.
PHPUnit in --debug mode throws PHP warnings.
1. Setup Drupal 11 by this instruction: https://ddev.readthedocs.io/en/stable/users/quickstart/#drupal
2. Setup PHPUnit according
https://www.drupal.org/docs/develop/automated-testing/phpunit-in-drupal/... →
3. Run following commands
ddev start
ddev ssh
cd /var/www/html/web/core
../../vendor/bin/phpunit -c ./phpunit.xml --debug modules/help/tests/src/Functional
PHPUnit triggers PHP Warnings below:
Test Triggered Suppressed PHP Warning (Drupal\Tests\help\Functional\ExperimentalHelpTest::testExperimentalHelp)
stat(): stat failed for /var/www/html/web/sites/simpletest/99207887/files/.htaccess
Test Triggered Suppressed PHP Warning (Drupal\Tests\help\Functional\ExperimentalHelpTest::testExperimentalHelp)
stat(): stat failed for /var/www/html/web/sites/simpletest/99207887/private/.htaccess
Test Triggered Suppressed PHP Warning (Drupal\Tests\help\Functional\ExperimentalHelpTest::testExperimentalHelp)
stat(): stat failed for /var/www/html/web/sites/simpletest/99207887/temp/.htaccess
Test Triggered Suppressed PHP Warning (Drupal\Tests\help\Functional\ExperimentalHelpTest::testExperimentalHelp)
stat(): stat failed for /var/www/html/web/sites/simpletest/99207887/files/css
There should be no warnings at all.
Active
11.0 🔥
phpunit
I removed the tag per the guidelines unless this is very specifically unique to phpunit 10.