phpunit fixes

This commit is contained in:
Robin Appelman 2026-07-15 14:33:01 +02:00
commit 23149bd573
3 changed files with 4 additions and 3 deletions

View file

@ -34,6 +34,7 @@
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm.phar",
"phpstan": "phpstan analyse --level 6 src"
"phpstan": "phpstan analyse --level 6 src",
"phpunit": "phpunit -c tests/phpunit.xml"
}
}

View file

@ -26,7 +26,7 @@ use Sabre\DAV\Server;
use SearchDAV\DAV\PathHelper;
class PathHelperTest extends TestCase {
public function uriProvider() {
public static function uriProvider() {
return [
['/', '', ''],
['/index.php/', 'foo', 'foo'],

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<phpunit bootstrap="bootstrap.php">
<testsuite name='SearchDAV'>
<directory suffix='.php'>./</directory>
<directory suffix='Test.php'>./</directory>
</testsuite>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">