Skip to content

Commit

Permalink
Change only Chronos to extend DateTimeImmutable once again
Browse files Browse the repository at this point in the history
  • Loading branch information
othercorey committed Sep 17, 2023
1 parent ceb5415 commit 7b3514a
Show file tree
Hide file tree
Showing 7 changed files with 350 additions and 364 deletions.
13 changes: 9 additions & 4 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.10.0@a5effd2d2dddd1a7ea7a0f6a051ce63ff979e356">
<files psalm-version="5.13.1@086b94371304750d1c673315321a55d15fc59015">
<file src="src/Chronos.php">
<ImpureFunctionCall>
<code>array_filter</code>
Expand All @@ -11,12 +11,14 @@
<code>diffForHumans</code>
<code>diffFormatter</code>
<code>format</code>
<code>getTestNow</code>
<code>format</code>
<code>format</code>
<code>format</code>
<code>format</code>
<code>getTimestamp</code>
<code>getTimezone</code>
<code>getWeekendDays</code>
<code>hasRelativeKeywords</code>
<code>hasTestNow</code>
<code>isTimeExpression</code>
<code>now</code>
<code>now</code>
<code>now</code>
Expand Down Expand Up @@ -87,6 +89,9 @@
<InaccessibleProperty>
<code><![CDATA[$instance->f]]></code>
</InaccessibleProperty>
<MissingImmutableAnnotation>
<code>public static function createFromFormat(</code>
</MissingImmutableAnnotation>
</file>
<file src="src/ChronosDate.php">
<ImpureFunctionCall>
Expand Down
Loading

0 comments on commit 7b3514a

Please sign in to comment.