diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f42158..bf82b4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: operating-system: [ ubuntu-latest ] - php-versions: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] + php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] psr-http-versions: [ '~1.0.0', '^1', '^2' ] exclude: - php-versions: '7.3' diff --git a/composer.json b/composer.json index 7986ec2..2a9d368 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "library", "require": { "psr/http-message": "^1 || ^2", - "php": ">=7.3" + "php": ">=7.4" }, "require-dev": { "phpunit/phpunit": "^9.6.19", @@ -15,7 +15,7 @@ "friendsofphp/php-cs-fixer": "^3.4", "donatj/mddoc": "^0.10.1", "donatj/drop": "^1.1", - "phpstan/phpstan": "^1.12" + "phpstan/phpstan": "^2.1.18" }, "license": "MIT", "authors": [ diff --git a/src/ProxyAwareSchemer.php b/src/ProxyAwareSchemer.php index 3f93e7e..099c9a8 100644 --- a/src/ProxyAwareSchemer.php +++ b/src/ProxyAwareSchemer.php @@ -20,7 +20,7 @@ */ class ProxyAwareSchemer { - /** @var array */ + /** @var array */ private $server; public const HTTPS_EXPECTED_SERVER_VALUES = [ @@ -46,7 +46,7 @@ class ProxyAwareSchemer { private $proxyServerPortKeys; /** - * @param array $server Server array to inspect. Defaults to $_SERVER. + * @param array $server Server array to inspect. Defaults to $_SERVER. * * @param array|null $proxyServerHttpsKeyValues Map of $_SERVER keys to their expected https-positive value. * Defaults to ProxyAwareSchemer::HTTPS_EXPECTED_SERVER_VALUES