develop #37

Merged
timw4mail merged 15 commits from develop into master 2021-02-03 10:07:11 -05:00
3 changed files with 50 additions and 59 deletions
Showing only changes of commit 05c7fa1a3e - Show all commits

View File

@ -1,29 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" stopOnFailure="false" bootstrap="../tests/bootstrap.php" beStrictAboutTestsThatDoNotTestAnything="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
colors="true" <coverage>
stopOnFailure="false" <include>
bootstrap="../tests/bootstrap.php" <directory suffix=".php">../src</directory>
beStrictAboutTestsThatDoNotTestAnything="true" </include>
> <report>
<filter> <clover outputFile="logs/clover.xml"/>
<whitelist> <html outputDirectory="../coverage"/>
<directory suffix=".php">../src</directory> </report>
</whitelist> </coverage>
</filter> <testsuites>
<testsuites> <testsuite name="AnimeClient">
<testsuite name="AnimeClient"> <directory>../tests</directory>
<directory>../tests</directory> </testsuite>
</testsuite> </testsuites>
</testsuites> <logging/>
<logging> <php>
<log type="coverage-html" target="../coverage"/> <server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0"/>
<log type="coverage-clover" target="logs/clover.xml"/> <server name="HTTP_HOST" value="localhost"/>
</logging> <server name="SERVER_NAME" value="localhost"/>
<php> <server name="REQUEST_URI" value="/"/>
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" /> <server name="REQUEST_METHOD" value="GET"/>
<server name="HTTP_HOST" value="localhost" /> </php>
<server name="SERVER_NAME" value="localhost" /> </phpunit>
<server name="REQUEST_URI" value="/" />
<server name="REQUEST_METHOD" value="GET" />
</php>
</phpunit>

View File

@ -48,6 +48,7 @@
"ext-json": "*", "ext-json": "*",
"ext-gd": "*", "ext-gd": "*",
"ext-pdo": "*", "ext-pdo": "*",
"filp/whoops": "^2.1",
"laminas/laminas-diactoros": "^2.2.3", "laminas/laminas-diactoros": "^2.2.3",
"laminas/laminas-httphandlerrunner": "^1.1.0", "laminas/laminas-httphandlerrunner": "^1.1.0",
"maximebf/consolekit": "^1.0.3", "maximebf/consolekit": "^1.0.3",
@ -56,23 +57,21 @@
"psr/container": "^1.0.0", "psr/container": "^1.0.0",
"psr/http-message": "^1.0.1", "psr/http-message": "^1.0.1",
"psr/log": "^1.1.3", "psr/log": "^1.1.3",
"robmorgan/phinx": "^0.12.4",
"symfony/var-dumper": "^5.0.7",
"yosymfony/toml": "^1.0.4" "yosymfony/toml": "^1.0.4"
}, },
"require-dev": { "require-dev": {
"consolidation/robo": "^2.0.0", "consolidation/robo": "^2.0.0",
"filp/whoops": "^2.1",
"pdepend/pdepend": "^2.", "pdepend/pdepend": "^2.",
"phploc/phploc": "^5.0.0", "phploc/phploc": "^7.0.0",
"phpmd/phpmd": "^2.8.2", "phpmd/phpmd": "^2.8.2",
"phpstan/phpstan": "^0.12.19", "phpstan/phpstan": "^0.12.19",
"phpunit/phpunit": "^8.5.2", "phpunit/phpunit": "^9.5.0",
"roave/security-advisories": "dev-master", "roave/security-advisories": "dev-master",
"robmorgan/phinx": "^0.12.4", "sebastian/phpcpd": "^6.0.0",
"sebastian/phpcpd": "^4.1.0",
"spatie/phpunit-snapshot-assertions": "^4.1.0", "spatie/phpunit-snapshot-assertions": "^4.1.0",
"squizlabs/php_codesniffer": "^3.5.4", "squizlabs/php_codesniffer": "^3.5.4"
"symfony/var-dumper": "^5.0.7",
"theseer/phpdox": "^0.12.0"
}, },
"scripts": { "scripts": {
"build": "vendor/bin/robo build", "build": "vendor/bin/robo build",

View File

@ -1,24 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" stopOnFailure="false" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
colors="true" <coverage>
stopOnFailure="false" <include>
bootstrap="tests/bootstrap.php" <directory suffix=".php">src</directory>
> </include>
<filter> </coverage>
<whitelist> <testsuites>
<directory suffix=".php">src</directory> <testsuite name="AnimeClient">
</whitelist> <directory>tests</directory>
</filter> </testsuite>
<testsuites> </testsuites>
<testsuite name="AnimeClient"> <php>
<directory>tests</directory> <server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0"/>
</testsuite> <server name="HTTP_HOST" value="localhost"/>
</testsuites> <server name="SERVER_NAME" value="localhost"/>
<php> <server name="REQUEST_URI" value="/"/>
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" /> <server name="REQUEST_METHOD" value="GET"/>
<server name="HTTP_HOST" value="localhost" /> </php>
<server name="SERVER_NAME" value="localhost" /> </phpunit>
<server name="REQUEST_URI" value="/" />
<server name="REQUEST_METHOD" value="GET" />
</php>
</phpunit>