X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=composer.json;h=2dd5dec7b9a3a72b3992ab939f2bd5c858d79d30;hb=0651ace4e4b3668a61ba076dfb7df8b93b4485e6;hp=ae4ebf15938dc50f78989924e4c9ffead8a3c20c;hpb=54fa2e8f121d4f7b4d2a893331add935bff99f93;p=friendica.git diff --git a/composer.json b/composer.json index ae4ebf1593..2dd5dec7b9 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,6 +31,7 @@ "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", @@ -67,7 +68,8 @@ "npm-asset/moment": "^2.24", "npm-asset/perfect-scrollbar": "0.6.16", "npm-asset/textcomplete": "^0.18.2", - "npm-asset/typeahead.js": "^0.11.1" + "npm-asset/typeahead.js": "^0.11.1", + "minishlink/web-push": "^6.0" }, "repositories": [ { @@ -94,7 +96,7 @@ }, "config": { "platform": { - "php": "7.0" + "php": "7.2" }, "autoloader-suffix": "Friendica", "optimize-autoloader": true, @@ -124,14 +126,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"] } }