[TESTS] Fix deprecation warnings caused by removing xdebug

This commit is contained in:
Hugo Sales 2022-10-29 16:40:28 +01:00
parent daec26f2d8
commit 789b1499c5
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0
3 changed files with 7 additions and 5 deletions

View File

@ -17,7 +17,6 @@ services:
# Main files
- ../../:/var/www/social
- /var/www/social/docker # exclude docker folder
- ./xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
env_file:
- social.env
- db.env

View File

@ -1,3 +0,0 @@
zend_extension=xdebug
xdebug.mode=develop,coverage

View File

@ -16,6 +16,11 @@
<!-- pathCoverage="true" -->
<include>
<directory suffix=".php">src</directory>
<directory>components/Attachment</directory>
<directory>components/Feed</directory>
<directory>components/Group</directory>
<directory>components/Person</directory>
<directory>plugins/ActivityPub</directory>
</include>
<exclude>
<directory>src/Util/Exception</directory>
@ -33,7 +38,7 @@
<php>
<ini name="error_reporting" value="-1"/>
<server name="APP_ENV" value="test" force="true"/>
<server name="APP_DEBUG" value="false" />
<!-- <server name="APP_DEBUG" value="false" /> -->
<server name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5"/>
@ -45,6 +50,7 @@
<testsuites>
<testsuite name="Controller">
<directory suffix="Test.php">./tests/Controller</directory>
<exclude>./tests/Controller/SecurityTest.php</exclude>
</testsuite>
<testsuite name="Core">
<directory suffix="Test.php">./tests/Core</directory>