tweak composer config

This commit is contained in:
Till Krüss
2023-01-19 09:28:33 -08:00
parent e3ad353125
commit f6f4830b3c
2 changed files with 12 additions and 19 deletions
-1
View File
@@ -11,7 +11,6 @@ file that was distributed with this source code.
EOS;
return (new PhpCsFixer\Config)
->setUsingCache(false)
->setRules([
'@PHP71Migration' => true,
'header_comment' => ['header' => $PREDIS_HEADER],
+12 -18
View File
@@ -13,12 +13,6 @@
"name": "Till Krüss",
"homepage": "https://till.im",
"role": "Maintainer"
},
{
"name": "Daniele Alessandri",
"email": "suppakilla@gmail.com",
"homepage": "http://clorophilla.net",
"role": "Creator"
}
],
"funding": [
@@ -31,24 +25,24 @@
"php": "^7.2 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0 || ~9.4.4",
"friendsofphp/php-cs-fixer": "~3.2.0 || ^3.13"
"friendsofphp/php-cs-fixer": "^3.13",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^8.0 || ~9.4.4"
},
"scripts": {
"style": "vendor/bin/php-cs-fixer fix --diff --dry-run",
"style:fix": "vendor/bin/php-cs-fixer fix"
},
"suggest": {
"ext-curl": "Allows access to Webdis when paired with phpiredis"
"phpstan": "phpstan analyse",
"style": "php-cs-fixer fix --diff --dry-run",
"style:fix": "php-cs-fixer fix"
},
"autoload": {
"psr-4": {
"Predis\\": "src/"
}
},
"extra": {
"branch-alias": {
"dev-main": "2.0-dev"
}
}
"config": {
"sort-packages": true,
"preferred-install": "dist"
},
"minimum-stability": "dev",
"prefer-stable": true
}