Add XSD schema to phpunit.xml.dist config

- Add XSD schema, so it can be validated (and PHPStorm provides
  auto-completion)
- Drop backupGlobals option, because false is the default value
This commit is contained in:
Martin Hujer
2017-11-10 09:58:19 +01:00
committed by Ben Ramsey
parent c5935bf963
commit 1eccd070c2
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
"moontoast/math": "^1.1",
"paragonie/random-lib": "^2",
"php-mock/php-mock-phpunit": "^2.5",
"phpunit/phpunit": "^8",
"phpunit/phpunit": "^8.5",
"squizlabs/php_codesniffer": "^3.5"
},
"suggest": {
+6 -2
View File
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./tests/bootstrap.php" colors="true" verbose="true" backupGlobals="false">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
bootstrap="./tests/bootstrap.php"
colors="true"
verbose="true">
<testsuites>
<testsuite>
<testsuite name="ramsey/uuid test suite">
<directory>./tests</directory>
</testsuite>
</testsuites>