diff --git a/composer.json b/composer.json index 29a1cf5..afeb5a2 100644 --- a/composer.json +++ b/composer.json @@ -9,11 +9,11 @@ } ], "require": { - "php": "^7.2 || ^8.0", + "php": "^8.1", "php-http/httplug": "^1.0 || ^2.0", "php-http/client-implementation": "^1.0", "php-http/discovery": "^1.7", - "psr/log": "~1.0" + "psr/log": "^1.0 || ^2.0 || ^3.0" }, "require-dev": { "phpunit/phpunit": "^8.4", @@ -35,5 +35,10 @@ "scripts": { "test": "vendor/bin/phpunit", "test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml" + }, + "config": { + "allow-plugins": { + "php-http/discovery": true + } } } diff --git a/phpstan.neon.dist b/phpstan.neon.dist index d84c68a..888f305 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -5,5 +5,3 @@ parameters: level: 3 paths: - src - excludes_analyse: - - vendor