mirror of
https://github.com/VladPolskiy/dokuwiki.git
synced 2025-07-29 11:56:50 +00:00
use phpunit 9
This should be the last version supporting php 7.4
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
"require-dev": {
|
||||
"rector/rector": "^0.19",
|
||||
"squizlabs/php_codesniffer": "^3.7",
|
||||
"phpunit/phpunit": "^8.5"
|
||||
"phpunit/phpunit": "^9.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
|
954
_test/composer.lock
generated
954
_test/composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit
|
||||
bootstrap="bootstrap.php"
|
||||
convertNoticesToExceptions="false"
|
||||
colors="true"
|
||||
stderr="true"
|
||||
backupGlobals="true"
|
||||
>
|
||||
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
bootstrap="bootstrap.php"
|
||||
convertNoticesToExceptions="false"
|
||||
colors="true"
|
||||
stderr="true"
|
||||
backupGlobals="true"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||
<coverage includeUncoveredFiles="false">
|
||||
<include>
|
||||
<directory suffix=".php">../</directory>
|
||||
</include>
|
||||
<exclude>
|
||||
<directory suffix=".php">../_cs/</directory>
|
||||
<directory suffix=".php">../_test/</directory>
|
||||
<directory suffix=".php">../lib/plugins/*/_test/</directory>
|
||||
<directory suffix=".php">../lib/tpl/*/_test/</directory>
|
||||
</exclude>
|
||||
</coverage>
|
||||
<testsuites>
|
||||
<testsuite name="DokuWiki Tests">
|
||||
<directory suffix=".test.php">tests/</directory>
|
||||
@ -21,23 +31,9 @@
|
||||
<directory suffix="Test.php">../lib/tpl/*/_test/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<groups>
|
||||
<exclude>
|
||||
<group>flaky</group>
|
||||
</exclude>
|
||||
</groups>
|
||||
|
||||
<filter>
|
||||
<whitelist addUncoveredFilesFromWhitelist="false">
|
||||
<directory suffix=".php">../</directory>
|
||||
<exclude>
|
||||
<directory suffix=".php">../_cs/</directory>
|
||||
<directory suffix=".php">../_test/</directory>
|
||||
<directory suffix=".php">../lib/plugins/*/_test/</directory>
|
||||
<directory suffix=".php">../lib/tpl/*/_test/</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
</phpunit>
|
||||
|
Reference in New Issue
Block a user