diff --git a/.laminas-ci.json b/.laminas-ci.json index bd18084..9ae1841 100644 --- a/.laminas-ci.json +++ b/.laminas-ci.json @@ -21,5 +21,8 @@ "command": "diff <(./vendor/bin/phpstan analyse -c ./example/phpstan.neon --no-progress --error-format=junit | xmllint --format -) ./test/example.output" } } - ] -} \ No newline at end of file + ], + "ignore_php_platform_requirements": { + "8.4": true + } +} diff --git a/README.md b/README.md index 673a306..74ca87d 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@ parameters: This extension depends on our psr/log stub to serve strictness. * eg. - * `@param LogLevel::* $level` at `log()` method - * `@param array{exception?: \Throwable} $context` + * `@param LogLevel::* $level` at `log()` method + * `@param array{exception?: \Throwable} $context` See [psr/log stub](https://github.com/struggle-for-php/sfp-stubs-psr-log) repository page to get more detail. @@ -113,7 +113,7 @@ $logger->info('user {user_id} gets an error {error} .', ['user_id' => $user_id]) | sfpPsrLog.contextKeyOriginalPattern | * reports when context key is not matched you defined pattern. - * if `contextKeyOriginalPattern` parameter is not set, this check would be ignored. + * if `contextKeyOriginalPattern` parameter is not set, this check would be ignored. #### Configuration diff --git a/composer.json b/composer.json index b50b7c7..d9eeec9 100644 --- a/composer.json +++ b/composer.json @@ -7,8 +7,8 @@ "MIT" ], "require": { - "php": "^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", - "phpstan/phpstan": "^1.11", + "php": "^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", + "phpstan/phpstan": "^1.12", "struggle-for-php/sfp-stubs-psr-log": "^1.0.1 || ^2 || ^3.0.1" }, "require-dev": { @@ -16,10 +16,10 @@ "maglnet/composer-require-checker": "^2|^3|^4", "phpstan/phpstan-phpunit": "^1.3", "phpstan/phpstan-strict-rules": "^1.5", - "phpunit/phpunit": "^8.5.31 || ^9.5.10", + "phpunit/phpunit": "^8.5.31 || ^9.5.10 || ^10.5.35", "roave/security-advisories": "dev-master", "squizlabs/php_codesniffer": "^3.7", - "vimeo/psalm": "^4 || ^5.9" + "vimeo/psalm": "^4 || ^5.26" }, "conflict": { "nikic/php-parser": "<4.13.0"