Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F211538
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Subscribers
None
View Options
diff --git a/.gitignore b/.gitignore
index 67264b8..c7eeb9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1,18 @@
## Cache
cache/compiled/*.php
cache/sessions/sess_*
cache/openid/associations/
cache/openid/nonces/
## Editors files
*.komodoproject
## Composer
vendor/
composer.lock
+## PHPUnit
+.phpunit.cache/
+
## Content
/content/
diff --git a/composer.json b/composer.json
index 273f286..2c3e67d 100644
--- a/composer.json
+++ b/composer.json
@@ -1,32 +1,32 @@
{
"name": "zed/zed",
"description": "Hypership and galaxy",
"type": "project",
"require": {
"smarty/smarty": "dev-master",
"vlucas/phpdotenv": "^5.5",
"keruald/database": "^0.1.0",
"keruald/globalfunctions": "^0.5.1",
"keruald/omnitools": "^0.6.0",
"hypership/geo": "^0.1.0"
},
"require-dev": {
"nasqueron/codestyle": "^0.0.1",
"phan/phan": "^5.3.1",
"squizlabs/php_codesniffer": "^3.6",
- "phpunit/phpunit": "^9.5"
+ "phpunit/phpunit": "^10.2.2"
},
"autoload": {
"psr-4": {
"Zed\\Engines\\": "Engines",
"Zed\\Tests\\": "dev/tests"
}
},
"license": "BSD-2-Clause",
"authors": [
{
"name": "Sébastien Santoro",
"email": "dereckson@espace-win.org"
}
]
}
diff --git a/phpunit.xml b/phpunit.xml
index 3d85e64..30cbcbd 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -1,24 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
-<phpunit bootstrap="vendor/autoload.php"
- convertErrorsToExceptions="true"
- convertNoticesToExceptions="true"
- convertWarningsToExceptions="true"
- stopOnFailure="false">
- <php>
- <ini name="display_errors" value="On" />
- <ini name="display_startup_errors" value="On" />
- <ini name="error_reporting" value="On" />
- </php>
- <testsuites>
- <testsuite name="Unit tests">
- <directory suffix="Test.php">./dev/tests</directory>
- </testsuite>
- </testsuites>
- <filter>
- <whitelist processUncoveredFilesFromWhitelist="true">
- <directory suffix=".php">controllers/</directory>
- <directory suffix=".php">Engines/</directory>
- <directory suffix=".php">includes/</directory>
- </whitelist>
- </filter>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache">
+ <coverage/>
+ <php>
+ <ini name="display_errors" value="On"/>
+ <ini name="display_startup_errors" value="On"/>
+ <ini name="error_reporting" value="On"/>
+ </php>
+ <testsuites>
+ <testsuite name="Unit tests">
+ <directory suffix="Test.php">./dev/tests</directory>
+ </testsuite>
+ </testsuites>
+ <source>
+ <include>
+ <directory suffix=".php">controllers/</directory>
+ <directory suffix=".php">Engines/</directory>
+ <directory suffix=".php">includes/</directory>
+ </include>
+ </source>
</phpunit>
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Nov 24, 09:07 (9 h, 52 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20763
Default Alt Text
(3 KB)
Attached To
rZED Zed
Event Timeline
Log In to Comment