diff --git a/composer.json b/composer.json index 466a787..186e2f3 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,8 @@ "friendsofphp/php-cs-fixer": "^3.54", "kubawerlos/php-cs-fixer-custom-fixers": "^3.21", "phpstan/extension-installer": "^1.3", - "phpstan/phpstan": "^1.10", - "phpstan/phpstan-strict-rules": "^1.5" + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0" }, "repositories": [ { diff --git a/composer.lock b/composer.lock index 0c72b4e..332f6c5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "90b235b62dfe7b84b1072e121d598914", + "content-hash": "0e85fedb82a7596cd2b8f2816550a22b", "packages": [ { "name": "adhocore/json-comment", @@ -2078,15 +2078,15 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.32", + "version": "2.1.38", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2770dcdf5078d0b0d53f94317e06affe88419aa8", - "reference": "2770dcdf5078d0b0d53f94317e06affe88419aa8", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dfaf1f530e1663aa167bc3e52197adb221582629", + "reference": "dfaf1f530e1663aa167bc3e52197adb221582629", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -2127,32 +2127,31 @@ "type": "github" } ], - "time": "2025-09-30T10:16:31+00:00" + "time": "2026-01-30T17:12:46+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "1.6.2", + "version": "2.0.9", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "b564ca479e7e735f750aaac4935af965572a7845" + "reference": "b94a0b13fb87d8d034c103852656118b32df9155" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/b564ca479e7e735f750aaac4935af965572a7845", - "reference": "b564ca479e7e735f750aaac4935af965572a7845", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/b94a0b13fb87d8d034c103852656118b32df9155", + "reference": "b94a0b13fb87d8d034c103852656118b32df9155", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.12.4" + "php": "^7.4 || ^8.0", + "phpstan/phpstan": "^2.1.29" }, "require-dev": { - "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-deprecation-rules": "^1.1", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5" + "phpstan/phpstan-deprecation-rules": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^9.6" }, "type": "phpstan-extension", "extra": { @@ -2172,11 +2171,14 @@ "MIT" ], "description": "Extra strict and opinionated rules for PHPStan", + "keywords": [ + "static analysis" + ], "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.6.2" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.9" }, - "time": "2025-01-19T13:02:24+00:00" + "time": "2026-02-11T09:03:17+00:00" }, { "name": "psr/container", diff --git a/src/hazardteam/lottery/LotteryManager.php b/src/hazardteam/lottery/LotteryManager.php index 94693d5..8525ca9 100644 --- a/src/hazardteam/lottery/LotteryManager.php +++ b/src/hazardteam/lottery/LotteryManager.php @@ -1,7 +1,7 @@