[CORE][COMPOSER] Ensure we are compatible with PHP 7.0.0

This commit is contained in:
Diogo Cordeiro 2019-07-12 18:51:27 +01:00
parent 9f30c299ee
commit d9e7862cea
3 changed files with 391 additions and 924 deletions

View File

@ -30,7 +30,7 @@
}, },
"require-dev": { "require-dev": {
"phpdocumentor/phpdocumentor": "^2.9", "phpdocumentor/phpdocumentor": "^2.9",
"phpunit/phpunit": "^8.2", "phpunit/phpunit": "^6.5",
"psy/psysh": "^0.9.9" "psy/psysh": "^0.9.9"
}, },
"suggest": { "suggest": {
@ -67,7 +67,10 @@
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,
"preferred-install": "dist", "preferred-install": "dist",
"sort-packages": true "sort-packages": true,
"platform": {
"php": "7.0.0"
}
}, },
"scripts": { "scripts": {
"post-update-cmd": [ "post-update-cmd": [

1307
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,6 @@ use PHPUnit\Framework\TestCase;
use XmppPlugin; use XmppPlugin;
require_once INSTALLDIR . '/lib/common.php'; require_once INSTALLDIR . '/lib/common.php';
require_once INSTALLDIR . '/plugins/Xmpp/XmppPlugin.php'; require_once INSTALLDIR . '/plugins/Xmpp/XmppPlugin.php';
final class XmppValidateTest extends TestCase final class XmppValidateTest extends TestCase