X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=composer.json;h=66ac9361d1381eb29eda4fb0ecb6132743a4f01d;hb=9b64035231b231a374f3ee076d8de438c2230018;hp=08216159e3305a7932ca509c8fd71ebef339501c;hpb=06e3929a68bdd3e0e93e796f384b8f1c353db345;p=friendica.git diff --git a/composer.json b/composer.json index 08216159e3..66ac9361d1 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "issues": "https://github.com/friendica/friendica/issues" }, "require": { - "php": ">=7.0", + "php": ">=7.2", "ext-ctype": "*", "ext-curl": "*", "ext-dom": "*", @@ -31,10 +31,10 @@ "divineomega/password_exposed": "^2.8", "ezyang/htmlpurifier": "^4.7", "friendica/json-ld": "^1.0", - "guzzlehttp/guzzle": "^6.5", "league/html-to-markdown": "^4.8", "level-2/dice": "^4", "lightopenid/lightopenid": "dev-master", + "matriphe/iso-639": "^1.2", "michelf/php-markdown": "^1.7", "mobiledetect/mobiledetectlib": "^2.8", "monolog/monolog": "^1.25", @@ -48,6 +48,8 @@ "psr/container": "^1.0", "seld/cli-prompt": "^1.0", "smarty/smarty": "^3.1", + "ua-parser/uap-php": "^3.9", + "xemlock/htmlpurifier-html5": "^0.1.11", "fxp/composer-asset-plugin": "^1.4", "bower-asset/base64": "^1.0", "bower-asset/chart-js": "^2.8", @@ -66,7 +68,7 @@ "npm-asset/perfect-scrollbar": "0.6.16", "npm-asset/textcomplete": "^0.18.2", "npm-asset/typeahead.js": "^0.11.1", - "matriphe/iso-639": "^1.2" + "minishlink/web-push": "^6.0" }, "repositories": [ { @@ -93,7 +95,7 @@ }, "config": { "platform": { - "php": "7.0" + "php": "7.2" }, "autoloader-suffix": "Friendica", "optimize-autoloader": true, @@ -123,14 +125,15 @@ ] }, "require-dev": { - "phpdocumentor/reflection-docblock": "^3.0.2", - "phpunit/php-token-stream": "^1.4.2", + "mockery/mockery": "^1.3", "mikey179/vfsstream": "^1.6", - "mockery/mockery": "^1.2", - "johnkary/phpunit-speedtrap": "1.1", - "php-parallel-lint/php-parallel-lint": "^1.2" + "phpunit/phpunit": "^8.5" }, "scripts": { - "test": "phpunit" + "test": "phpunit", + "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l", + "cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer", + "cs:check": ["@cs:install", "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"], + "cs:fix": ["@cs:install", "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"] } }