From 38db38a5b5baa441890daeb994fb22c2d3bda024 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sat, 23 Nov 2024 21:27:46 +0300 Subject: [PATCH] Actualize (#3) --- .gitignore | 5 +++-- LICENSE.md | 2 +- README.md | 2 +- composer.json | 9 +++++---- infection.json.dist | 3 ++- phpunit.xml.dist | 32 ++++++++++++++++---------------- psalm.xml | 2 ++ 7 files changed, 30 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index 0a557ec..02a697e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /vendor /composer.lock -# phpunit +# PhpUnit +/phpunit.phar /phpunit.xml -/.phpunit.result.cache +/.phpunit.cache diff --git a/LICENSE.md b/LICENSE.md index 656130f..c9b44b2 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright © 2021 by Sergei Predvoditelev (https://predvoditelev.ru) +Copyright © 2024 by Sergei Predvoditelev (https://predvoditelev.ru) All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.md b/README.md index 02f3afc..df2fe92 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The package ... ## Requirements -- PHP 8.0 or higher. +- PHP 8.2 or higher. ## Installation diff --git a/composer.json b/composer.json index 710ab8b..53c373f 100644 --- a/composer.json +++ b/composer.json @@ -12,13 +12,14 @@ }, "minimum-stability": "stable", "require": { - "php": "^8.0" + "php": "^8.2" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.64", - "phpunit/phpunit": "^9.5", - "roave/infection-static-analysis-plugin": "^1.25", - "vimeo/psalm": "^4.30|^5.1" + "maglnet/composer-require-checker": "^4.14", + "phpunit/phpunit": "^10.5", + "roave/infection-static-analysis-plugin": "^1.35", + "vimeo/psalm": "^5.26" }, "autoload": { "psr-4": { diff --git a/infection.json.dist b/infection.json.dist index 3776e22..b80ad28 100644 --- a/infection.json.dist +++ b/infection.json.dist @@ -12,5 +12,6 @@ }, "mutators": { "@default": true - } + }, + "minCoveredMsi": 100 } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a0c563f..30c7b6a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,17 +1,17 @@ - - @@ -23,9 +23,9 @@ - + - ./src + ./src - + diff --git a/psalm.xml b/psalm.xml index 38cce4c..66bc426 100644 --- a/psalm.xml +++ b/psalm.xml @@ -1,6 +1,8 @@