diff --git a/composer.json b/composer.json index 1b804de..9c8029b 100644 --- a/composer.json +++ b/composer.json @@ -46,12 +46,12 @@ "php" : "^8.1" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.64.0", - "phpstan/phpstan": "^1.12.11", + "friendsofphp/php-cs-fixer": "^3.65.0", + "phpstan/phpstan": "^1.12.12", "phpstan/phpstan-deprecation-rules": "^1.2.1", "phpstan/phpstan-phpunit": "^1.4.1", "phpstan/phpstan-strict-rules": "^1.6.1", - "phpunit/phpunit": "^10.5.15 || ^11.4.3", + "phpunit/phpunit": "^10.5.15 || ^11.5.0", "symfony/var-dumper": "^6.4.15" }, "autoload": { diff --git a/phpstan.neon b/phpstan.neon index 94b6b68..a7703fa 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -10,3 +10,5 @@ parameters: ignoreErrors: - '#^Generator expects value type array#' - '#Attribute class Deprecated does not exist.#' + - '#^Fetching class constant#' + - '#has typehint with deprecated enum League\\Period\\InitialDatePresence#' diff --git a/src/InitialDatePresence.php b/src/InitialDatePresence.php index 9417f9e..05f6af8 100644 --- a/src/InitialDatePresence.php +++ b/src/InitialDatePresence.php @@ -11,10 +11,8 @@ namespace League\Period; -/* - * @deprecated since version 5.2.1 - * - * Presence Enum +/** + * Presence Enum. * * @package League.period * @author Ignace Nyamagana Butera