Skip to content

Commit

Permalink
Improve deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Dec 8, 2024
1 parent f920021 commit 5fcc4f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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#'
6 changes: 2 additions & 4 deletions src/InitialDatePresence.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@

namespace League\Period;

/*
* @deprecated since version 5.2.1
*
* Presence Enum
/**
* Presence Enum.
*
* @package League.period
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
Expand Down

0 comments on commit 5fcc4f3

Please sign in to comment.