Skip to content

Commit

Permalink
Deprecate MONTHS and YEARS interval constants
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Feb 5, 2025
1 parent f635d05 commit b20e249
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,12 @@
<code><![CDATA[getReader]]></code>
</UndefinedInterfaceMethod>
</file>
<file src="src/Internal/Support/DateInterval.php">
<DeprecatedConstant>
<code><![CDATA[self::FORMAT_MONTHS]]></code>
<code><![CDATA[self::FORMAT_YEARS]]></code>
</DeprecatedConstant>
</file>
<file src="src/Internal/Support/DateTime.php">
<InvalidReturnStatement>
<code><![CDATA[$time]]></code>
Expand Down

0 comments on commit b20e249

Please sign in to comment.