GitHub Workflows, and now available for PHP 8

This commit is contained in:
Ismo Vuorinen
2022-02-11 15:35:44 +02:00
parent b461867908
commit f762fe3cfc
4 changed files with 104 additions and 36 deletions

View File

@@ -1,28 +1,30 @@
{
"name": "ivuorinen/curly",
"description": "HTTP Curl client capable of NTLM authentication",
"license": "MIT",
"type": "project",
"keywords": [
"http",
"curl",
"ntlm"
],
"license": "MIT",
"authors": [
{
"name": "Ismo Vuorinen",
"email": "ismo@ivuorinen.net"
}
],
"type": "project",
"require": {
"php": ">=7.1",
"league/uri": "6.5.0",
"php": ">=7.1 || ^8",
"ext-curl": "*",
"ext-zlib": "*"
"ext-zlib": "*",
"league/uri": "6.5.0"
},
"require-dev": {
"phpunit/phpunit": "6.5.14",
"phpstan/phpstan": "1.4.6"
"ergebnis/composer-normalize": "2.23.1",
"phpstan/phpstan": "1.4.6",
"phpunit/phpunit": "8.5.23",
"roave/security-advisories": "dev-latest"
},
"autoload": {
"psr-4": {
@@ -34,8 +36,19 @@
"ivuorinen\\Curly\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
}
},
"scripts": {
"test": "vendor/bin/phpunit --colors --verbose",
"check": "vendor/bin/phpstan analyse src tests --level=7"
"post-update-cmd": [
"@composer normalize"
],
"post-package-install": [
"@composer normalize"
],
"check": "vendor/bin/phpstan analyse src tests --level=7",
"test": "vendor/bin/phpunit --colors --verbose"
}
}