Skip to content

Commit

Permalink
fix: enable phpunit convertDeprecationsToExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Nov 8, 2023
1 parent 23bdabe commit c722420
Showing 1 changed file with 24 additions and 33 deletions.
57 changes: 24 additions & 33 deletions tests/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,39 +1,30 @@
<?xml version="1.0"?>
<phpunit
colors="true"
bootstrap="bootstrap.php"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="bootstrap.php" convertErrorsToExceptions="true"
convertNoticesToExceptions="true" convertWarningsToExceptions="true" beStrictAboutTestsThatDoNotTestAnything="true"
convertDeprecationsToExceptions="true" verbose="true"
beStrictAboutOutputDuringTests="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd">
<coverage includeUncoveredFiles="true">
<include>
<directory suffix=".php">../lib/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="sabre-http">
<directory>../vendor/sabre/http/tests/HTTP</directory>
</testsuite>

<testsuite name="sabre-dav">
<directory>Sabre/DAV</directory>
</testsuite>
<testsuite name="sabre-davacl">
<directory>Sabre/DAVACL</directory>
</testsuite>
<testsuite name="sabre-caldav">
<directory>Sabre/CalDAV</directory>
</testsuite>
<testsuite name="sabre-carddav">
<directory>Sabre/CardDAV</directory>
</testsuite>
<testsuite name="sabre-http">
<directory>../vendor/sabre/http/tests/HTTP</directory>
</testsuite>
<testsuite name="sabre-dav">
<directory>Sabre/DAV</directory>
</testsuite>
<testsuite name="sabre-davacl">
<directory>Sabre/DAVACL</directory>
</testsuite>
<testsuite name="sabre-caldav">
<directory>Sabre/CalDAV</directory>
</testsuite>
<testsuite name="sabre-carddav">
<directory>Sabre/CardDAV</directory>
</testsuite>
</testsuites>

<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../lib/</directory>
</whitelist>
</filter>

<php>
<env name="BASEURL" value="http://localhost:8000"/>
<env name="SABRE_HTTP_TEST_GET_LARGE_CONTENT_MAX_PEAK_MEMORY_USAGE" value="80000000"/>
Expand Down

0 comments on commit c722420

Please sign in to comment.