Commit de054026 authored by Mario's avatar Mario
Browse files

try phpunit 9, remove dbunit (not compatible and abandoned), re-enable xdebug

parent 175b45d1
......@@ -34,8 +34,8 @@ before_script:
# pecl and composer do not work with PHP production restrictions (from Hubzilla Docker image)
- if [ -f /usr/local/etc/php/conf.d/z_prod.ini ]; then mv /usr/local/etc/php/conf.d/z_prod.ini /usr/local/etc/php/conf.d/z_prod.ini.off; fi
# Install & enable Xdebug for code coverage reports
#- pecl install xdebug
#- docker-php-ext-enable xdebug
- pecl install xdebug
- docker-php-ext-enable xdebug
# Install composer
- curl -sS https://getcomposer.org/installer | php
# Install dev libraries from composer
......
{
"name" : "zotlabs/hubzilla",
"type" : "application",
"description" : "Hubzilla is a powerful platform for creating interconnected websites featuring a decentralized identity, communications, and permissions framework built using common webserver technology.",
"keywords" : [
"CMS",
"identity",
"decentralisation",
"permission",
"SSO",
"ZOT"
],
"homepage" : "http://framagit.org/hubzilla/core/",
"license" : "MIT",
"authors" : [{
"name" : "Mike Macgirvin",
"role" : "founder"
}
],
"support" : {
"issues" : "https://framagit.org/hubzilla/core/issues",
"source" : "https://framagit.org/hubzilla/core/"
},
"require" : {
"php" : ">=5.5",
"ext-curl" : "*",
"ext-gd" : "*",
"ext-mbstring" : "*",
"ext-xml" : "*",
"ext-openssl" : "*",
"sabre/dav" : "^4.0",
"michelf/php-markdown" : "^1.7",
"bshaffer/oauth2-server-php": "^1.9",
"ezyang/htmlpurifier": "^4.9",
"simplepie/simplepie": "~1.5",
"league/html-to-markdown": "^4.4",
"pear/text_languagedetect": "^1.0",
"commerceguys/intl": "~1.0.5",
"lukasreschke/id3parser": "^0.0.3",
"smarty/smarty": "~3.1",
"ramsey/uuid": "^3.8",
"twbs/bootstrap": "^4.3.1",
"blueimp/jquery-file-upload": "^10.3",
"desandro/imagesloaded": "^4.1"
},
"require-dev" : {
"phpunit/phpunit" : "^7",
"behat/behat" : "@stable",
"behat/mink-extension": "@stable",
"behat/mink-goutte-driver": "@stable",
"php-mock/php-mock-phpunit": "@stable",
"phpunit/dbunit": "@stable",
"phpmd/phpmd": "^2.6",
"squizlabs/php_codesniffer": "*",
"php-mock/php-mock": "^2.2"
},
"autoload" : {
"psr-4" : {
"Hubzilla\\" : "include/",
"Zotlabs\\" : "Zotlabs/"
}
},
"autoload-dev" : {
"psr-4" : {
"Zotlabs\\Tests\\Unit\\" : "tests/unit"
}
},
"minimum-stability" : "stable",
"config" : {
"notify-on-install" : false,
"optimize-autoloader" : true
},
"repositories": [{
"type": "vcs",
"url": "https://github.com/simplepie/simplepie"
}]
"name": "zotlabs/hubzilla",
"type": "application",
"description": "Hubzilla is a powerful platform for creating interconnected websites featuring a decentralized identity, communications, and permissions framework built using common webserver technology.",
"keywords": [
"CMS",
"identity",
"decentralisation",
"permission",
"SSO",
"ZOT"
],
"homepage": "http://framagit.org/hubzilla/core/",
"license": "MIT",
"authors": [
{
"name": "Mike Macgirvin",
"role": "founder"
}
],
"support": {
"issues": "https://framagit.org/hubzilla/core/issues",
"source": "https://framagit.org/hubzilla/core/"
},
"require": {
"php": ">=5.5",
"ext-curl": "*",
"ext-gd": "*",
"ext-mbstring": "*",
"ext-xml": "*",
"ext-openssl": "*",
"sabre/dav": "^4.0",
"michelf/php-markdown": "^1.7",
"bshaffer/oauth2-server-php": "^1.9",
"ezyang/htmlpurifier": "^4.9",
"simplepie/simplepie": "~1.5",
"league/html-to-markdown": "^4.4",
"pear/text_languagedetect": "^1.0",
"commerceguys/intl": "~1.0.5",
"lukasreschke/id3parser": "^0.0.3",
"smarty/smarty": "~3.1",
"ramsey/uuid": "^3.8",
"twbs/bootstrap": "^4.3.1",
"blueimp/jquery-file-upload": "^10.3",
"desandro/imagesloaded": "^4.1"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
"behat/behat": "@stable",
"behat/mink-extension": "@stable",
"behat/mink-goutte-driver": "@stable",
"php-mock/php-mock-phpunit": "^2.6",
"phpmd/phpmd": "^2.6",
"squizlabs/php_codesniffer": "*",
"php-mock/php-mock": "^2.2"
},
"autoload": {
"psr-4": {
"Hubzilla\\": "include/",
"Zotlabs\\": "Zotlabs/"
}
},
"autoload-dev": {
"psr-4": {
"Zotlabs\\Tests\\Unit\\": "tests/unit"
}
},
"minimum-stability": "stable",
"config": {
"notify-on-install": false,
"optimize-autoloader": true
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/simplepie/simplepie"
}
]
}
This diff is collapsed.
......@@ -19,11 +19,74 @@ private static $installed = array (
'aliases' =>
array (
),
'reference' => 'e236b7781744b8a287845b78857787064b70c4f8',
'reference' => '175b45d1ed501ae2392d256e399e8668e3192dc4',
'name' => 'zotlabs/hubzilla',
),
'versions' =>
array (
'behat/behat' =>
array (
'pretty_version' => 'v3.5.0',
'version' => '3.5.0.0',
'aliases' =>
array (
),
'reference' => 'e4bce688be0c2029dc1700e46058d86428c63cab',
),
'behat/gherkin' =>
array (
'pretty_version' => 'v4.5.1',
'version' => '4.5.1.0',
'aliases' =>
array (
),
'reference' => '74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a',
),
'behat/mink' =>
array (
'pretty_version' => 'v1.7.1',
'version' => '1.7.1.0',
'aliases' =>
array (
),
'reference' => 'e6930b9c74693dff7f4e58577e1b1743399f3ff9',
),
'behat/mink-browserkit-driver' =>
array (
'pretty_version' => '1.3.3',
'version' => '1.3.3.0',
'aliases' =>
array (
),
'reference' => '1b9a7ce903cfdaaec5fb32bfdbb26118343662eb',
),
'behat/mink-extension' =>
array (
'pretty_version' => '2.3.1',
'version' => '2.3.1.0',
'aliases' =>
array (
),
'reference' => '80f7849ba53867181b7e412df9210e12fba50177',
),
'behat/mink-goutte-driver' =>
array (
'pretty_version' => 'v1.2.1',
'version' => '1.2.1.0',
'aliases' =>
array (
),
'reference' => '8b9ad6d2d95bc70b840d15323365f52fcdaea6ca',
),
'behat/transliterator' =>
array (
'pretty_version' => 'v1.2.0',
'version' => '1.2.0.0',
'aliases' =>
array (
),
'reference' => '826ce7e9c2a6664c0d1f381cbb38b1fb80a7ee2c',
),
'blueimp/jquery-file-upload' =>
array (
'pretty_version' => 'v10.31.0',
......@@ -51,6 +114,15 @@ private static $installed = array (
),
'reference' => '47d5d6d60d0cc25f867e337ce229a228bf6be6f8',
),
'container-interop/container-interop' =>
array (
'pretty_version' => '1.2.0',
'version' => '1.2.0.0',
'aliases' =>
array (
),
'reference' => '79cbf1341c22ec75643d841642dd5d6acd83bdb8',
),
'desandro/imagesloaded' =>
array (
'pretty_version' => 'v4.1.4',
......@@ -60,6 +132,15 @@ private static $installed = array (
),
'reference' => '67c4e57453120935180c45c6820e7d3fbd2ea1f9',
),
'doctrine/instantiator' =>
array (
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'aliases' =>
array (
),
'reference' => 'd56bf6102915de5702778fe20f2de3b2fe570b5b',
),
'ezyang/htmlpurifier' =>
array (
'pretty_version' => 'v4.13.0',
......@@ -69,6 +150,42 @@ private static $installed = array (
),
'reference' => '08e27c97e4c6ed02f37c5b2b20488046c8d90d75',
),
'fabpot/goutte' =>
array (
'pretty_version' => 'v3.2.3',
'version' => '3.2.3.0',
'aliases' =>
array (
),
'reference' => '3f0eaf0a40181359470651f1565b3e07e3dd31b8',
),
'guzzlehttp/guzzle' =>
array (
'pretty_version' => '6.3.3',
'version' => '6.3.3.0',
'aliases' =>
array (
),
'reference' => '407b0cb880ace85c9b63c5f9551db498cb2d50ba',
),
'guzzlehttp/promises' =>
array (
'pretty_version' => 'v1.3.1',
'version' => '1.3.1.0',
'aliases' =>
array (
),
'reference' => 'a59da6cf61d80060647ff4d3eb2c03a2bc694646',
),
'guzzlehttp/psr7' =>
array (
'pretty_version' => '1.5.2',
'version' => '1.5.2.0',
'aliases' =>
array (
),
'reference' => '9f83dded91781a01c63574e387eaa769be769115',
),
'league/html-to-markdown' =>
array (
'pretty_version' => '4.10.0',
......@@ -87,6 +204,13 @@ private static $installed = array (
),
'reference' => '62f4de76d4eaa9ea13c66dacc1f22977dace6638',
),
'malkusch/php-mock' =>
array (
'replaced' =>
array (
0 => '*',
),
),
'michelf/php-markdown' =>
array (
'pretty_version' => '1.9.0',
......@@ -96,6 +220,28 @@ private static $installed = array (
),
'reference' => 'c83178d49e372ca967d1a8c77ae4e051b3a3c75c',
),
'myclabs/deep-copy' =>
array (
'pretty_version' => '1.10.2',
'version' => '1.10.2.0',
'aliases' =>
array (
),
'reference' => '776f831124e9c62e1a2c601ecc52e776d8bb7220',
'replaced' =>
array (
0 => '1.10.2',
),
),
'nikic/php-parser' =>
array (
'pretty_version' => 'v4.10.2',
'version' => '4.10.2.0',
'aliases' =>
array (
),
'reference' => '658f1be311a230e0907f5dfe0213742aff0596de',
),
'paragonie/random_compat' =>
array (
'pretty_version' => 'v9.99.99',
......@@ -105,6 +251,15 @@ private static $installed = array (
),
'reference' => '84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95',
),
'pdepend/pdepend' =>
array (
'pretty_version' => '2.5.2',
'version' => '2.5.2.0',
'aliases' =>
array (
),
'reference' => '9daf26d0368d4a12bed1cacae1a9f3a6f0adf239',
),
'pear/text_languagedetect' =>
array (
'pretty_version' => 'v1.0.0',
......@@ -114,6 +269,182 @@ private static $installed = array (
),
'reference' => 'bb9ff6f4970f686fac59081e916b456021fe7ba6',
),
'phar-io/manifest' =>
array (
'pretty_version' => '2.0.1',
'version' => '2.0.1.0',
'aliases' =>
array (
),
'reference' => '85265efd3af7ba3ca4b2a2c34dbfc5788dd29133',
),
'phar-io/version' =>
array (
'pretty_version' => '3.0.2',
'version' => '3.0.2.0',
'aliases' =>
array (
),
'reference' => 'c6bb6825def89e0a32220f88337f8ceaf1975fa0',
),
'php-mock/php-mock' =>
array (
'pretty_version' => '2.2.2',
'version' => '2.2.2.0',
'aliases' =>
array (
),
'reference' => '890d3e32e3a5f29715a8fd17debd87a0c9e614a0',
),
'php-mock/php-mock-integration' =>
array (
'pretty_version' => '2.1.0',
'version' => '2.1.0.0',
'aliases' =>
array (
),
'reference' => '003d585841e435958a02e9b986953907b8b7609b',
),
'php-mock/php-mock-phpunit' =>
array (
'pretty_version' => '2.6.0',
'version' => '2.6.0.0',
'aliases' =>
array (
),
'reference' => '2877a0e58f12e91b64bf36ccd080a209dcbf6c30',
),
'phpdocumentor/reflection-common' =>
array (
'pretty_version' => '2.2.0',
'version' => '2.2.0.0',
'aliases' =>
array (
),
'reference' => '1d01c49d4ed62f25aa84a747ad35d5a16924662b',
),
'phpdocumentor/reflection-docblock' =>
array (
'pretty_version' => '5.2.2',
'version' => '5.2.2.0',
'aliases' =>
array (
),
'reference' => '069a785b2141f5bcf49f3e353548dc1cce6df556',
),
'phpdocumentor/type-resolver' =>
array (
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'aliases' =>
array (
),
'reference' => '6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0',
),
'phpmd/phpmd' =>
array (
'pretty_version' => '2.6.0',
'version' => '2.6.0.0',
'aliases' =>
array (
),
'reference' => '4e9924b2c157a3eb64395460fcf56b31badc8374',
),
'phpspec/prophecy' =>
array (
'pretty_version' => '1.12.1',
'version' => '1.12.1.0',
'aliases' =>
array (
),
'reference' => '8ce87516be71aae9b956f81906aaf0338e0d8a2d',
),
'phpunit/php-code-coverage' =>
array (
'pretty_version' => '9.2.3',
'version' => '9.2.3.0',
'aliases' =>
array (
),
'reference' => '6b20e2055f7c29b56cb3870b3de7cc463d7add41',
),
'phpunit/php-file-iterator' =>
array (
'pretty_version' => '3.0.5',
'version' => '3.0.5.0',
'aliases' =>
array (
),
'reference' => 'aa4be8575f26070b100fccb67faabb28f21f66f8',
),
'phpunit/php-invoker' =>
array (
'pretty_version' => '3.1.1',
'version' => '3.1.1.0',
'aliases' =>
array (
),
'reference' => '5a10147d0aaf65b58940a0b72f71c9ac0423cc67',
),
'phpunit/php-text-template' =>
array (
'pretty_version' => '2.0.4',
'version' => '2.0.4.0',
'aliases' =>
array (
),
'reference' => '5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28',
),
'phpunit/php-timer' =>
array (
'pretty_version' => '5.0.3',
'version' => '5.0.3.0',
'aliases' =>
array (
),
'reference' => '5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2',
),
'phpunit/phpunit' =>
array (
'pretty_version' => '9.4.3',
'version' => '9.4.3.0',
'aliases' =>
array (
),
'reference' => '9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab',
),
'psr/container' =>
array (
'pretty_version' => '1.0.0',
'version' => '1.0.0.0',
'aliases' =>
array (
),
'reference' => 'b7ce3b176482dbbc1245ebf52b181af44c2cf55f',
),
'psr/container-implementation' =>
array (
'provided' =>
array (
0 => '1.0',
),
),
'psr/http-message' =>
array (
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
),
'psr/http-message-implementation' =>
array (
'provided' =>
array (
0 => '1.0',
),
),
'psr/log' =>
array (
'pretty_version' => '1.1.3',
......@@ -123,6 +454,15 @@ private static $installed = array (
),
'reference' => '0f73288fd15629204f9d42b7055f72dacbe811fc',
),
'ralouphie/getallheaders' =>
array (
'pretty_version' => '2.0.5',
'version' => '2.0.5.0',
'aliases' =>
array (
),
'reference' => '5601c8a83fbba7ef674a7369456d12f1e0d0eafa',
),
'ramsey/uuid' =>
array (
'pretty_version' => '3.9.3',
......@@ -193,6 +533,150 @@ private static $installed = array (
),
'reference' => '41c6ba148966b10cafd31d1a4e5feb1e2138d95c',
),
'sebastian/cli-parser' =>
array (
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => '442e7c7e687e42adc03470c7b668bc4b2402c0b2',
),
'sebastian/code-unit' =>
array (
'pretty_version' => '1.0.8',
'version' => '1.0.8.0',
'aliases' =>
array (
),
'reference' => '1fc9f64c0927627ef78ba436c9b17d967e68e120',
),
'sebastian/code-unit-reverse-lookup' =>
array (
'pretty_version' => '2.0.3',
'version' => '2.0.3.0',
'aliases' =>
array (
),
'reference' => 'ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5',
),
'sebastian/comparator' =>
array (
'pretty_version' => '4.0.6',
'version' => '4.0.6.0',
'aliases' =>
array (
),
'reference' => '55f4261989e546dc112258c7a75935a81a7ce382',
),
'sebastian/complexity' =>
array (
'pretty_version' => '2.0.2',
'version' => '2.0.2.0',
'aliases' =>
array (
),