Skip to content

Commit

Permalink
update stan
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Nov 17, 2024
1 parent 790a2d8 commit cdd47b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpstan" version="1.11.7" installed="1.11.7" location="./tools/phpstan" copy="false"/>
<phar name="psalm" version="5.25.0" installed="5.25.0" location="./tools/psalm" copy="false"/>
<phar name="phpstan" version="2.0.1" installed="2.0.1" location="./tools/phpstan" copy="false"/>
<phar name="psalm" version="5.26.1" installed="5.26.1" location="./tools/psalm" copy="false"/>
</phive>
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ parameters:
- src/
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: property.readOnlyByPhpDocDefaultValue
- identifier: property.readOnlyByPhpDocAssignNotInConstructor
-
message: "#^Call to an undefined static method DateTimeImmutable\\:\\:createFromTimestamp\\(\\)\\.$#"
count: 1
Expand Down
1 change: 0 additions & 1 deletion src/Chronos.php
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,6 @@ public static function createFromTimestamp(float|int $timestamp, DateTimeZone|st
*
* @param \DateTimeZone|string|null $object The value to convert.
* @return \DateTimeZone
* @throws \InvalidArgumentException
*/
protected static function safeCreateDateTimeZone(DateTimeZone|string|null $object): DateTimeZone
{
Expand Down

0 comments on commit cdd47b0

Please sign in to comment.