X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=composer.json;h=398a15f1898a29098e83bf75860023fdfec03ac8;hb=b04809ced4577d75be4316a34e65f2e813c86756;hp=5d6c71ee3f09df68722fc687548ddec379f45352;hpb=1849bf0a120e236624ddc25461f424071ab8c8a2;p=friendica.git diff --git a/composer.json b/composer.json index 5d6c71ee3f..398a15f189 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "issues": "https://github.com/friendica/friendica/issues" }, "require": { - "php": ">=7.0", + "php": ">=7.3", "ext-ctype": "*", "ext-curl": "*", "ext-dom": "*", @@ -31,11 +31,15 @@ "divineomega/password_exposed": "^2.8", "ezyang/htmlpurifier": "^4.7", "friendica/json-ld": "^1.0", + "geekwright/po": "^2.0", + "guzzlehttp/guzzle": "^6.5", "league/html-to-markdown": "^4.8", "level-2/dice": "^4", "lightopenid/lightopenid": "dev-master", "matriphe/iso-639": "^1.2", + "mattwright/urlresolver": "^2.0", "michelf/php-markdown": "^1.7", + "minishlink/web-push": "^6.0", "mobiledetect/mobiledetectlib": "^2.8", "monolog/monolog": "^1.25", "nikic/fast-route": "^1.3", @@ -81,9 +85,6 @@ "Friendica\\Addon\\": "addon/" }, "files": [ - "include/conversation.php", - "include/dba.php", - "include/enotify.php", "boot.php" ] }, @@ -94,7 +95,7 @@ }, "config": { "platform": { - "php": "7.0" + "php": "7.3" }, "autoloader-suffix": "Friendica", "optimize-autoloader": true, @@ -124,11 +125,15 @@ ] }, "require-dev": { - "php-parallel-lint/php-parallel-lint": "^1.2", "mockery/mockery": "^1.3", - "mikey179/vfsstream": "^1.6" + "mikey179/vfsstream": "^1.6", + "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"] } }