Skip to content

Commit

Permalink
Update dev dependencies (incl. Psalm)
Browse files Browse the repository at this point in the history
to have more consistent results on CI
  • Loading branch information
alies-dev committed Feb 19, 2024
1 parent da41e7e commit 4f229b9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 30 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"php": "^8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.48",
"phpunit/phpunit": "^10.1",
"friendsofphp/php-cs-fixer": "^3.49",
"phpunit/phpunit": "^10.5",
"spatie/phpunit-snapshot-assertions": "^5.1",
"vimeo/psalm": "^5.20"
"vimeo/psalm": "^5.22"
},
"autoload": {
"psr-4": {
Expand All @@ -39,8 +39,8 @@
},
"scripts": {
"format": "vendor/bin/php-cs-fixer fix --allow-risky=yes",
"psalm": "vendor/bin/psalm --find-unused-psalm-suppress --output-format=phpstorm",
"psalm:ci": "vendor/bin/psalm --find-unused-psalm-suppress --output-format=github --shepherd",
"psalm": "vendor/bin/psalm",
"psalm:ci": "vendor/bin/psalm --shepherd",
"test": "vendor/bin/phpunit",
"test:update-snapshots": "vendor/bin/phpunit -d --update-snapshots"
}
Expand Down
41 changes: 16 additions & 25 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,72 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.20.0@3f284e96c9d9be6fe6b15c79416e1d1903dcfef4">
<files psalm-version="5.22.1@e9dad66e11274315dac27e08349c628c7d6a1a43">
<file src="src/Generators/BaseOutlook.php">
<MissingDocblockType>
<code><![CDATA[protected $dateFormat = 'Y-m-d';]]></code>
<code><![CDATA[protected $dateTimeFormat = 'Y-m-d\TH:i:s\Z';]]></code>
</MissingDocblockType>
<MissingPropertyType>
<code>$dateFormat</code>
<code>$dateTimeFormat</code>
<code><![CDATA[$dateFormat]]></code>
<code><![CDATA[$dateTimeFormat]]></code>
</MissingPropertyType>
<UndefinedInterfaceMethod>
<code>setTimezone</code>
<code>setTimezone</code>
<code><![CDATA[setTimezone]]></code>
<code><![CDATA[setTimezone]]></code>
</UndefinedInterfaceMethod>
</file>
<file src="src/Generators/Google.php">
<MissingDocblockType>
<code><![CDATA[protected $dateFormat = 'Ymd';]]></code>
</MissingDocblockType>
<MissingPropertyType>
<code>$dateFormat</code>
<code><![CDATA[$dateFormat]]></code>
</MissingPropertyType>
<UndefinedInterfaceMethod>
<code>setTimezone</code>
<code>setTimezone</code>
</UndefinedInterfaceMethod>
</file>
<file src="src/Generators/Ics.php">
<MissingDocblockType>
<code><![CDATA[protected $dateFormat = 'Ymd';]]></code>
</MissingDocblockType>
<MissingPropertyType>
<code>$dateFormat</code>
<code><![CDATA[$dateFormat]]></code>
</MissingPropertyType>
</file>
<file src="src/Generators/Yahoo.php">
<MissingDocblockType>
<code><![CDATA[protected $dateFormat = 'Ymd';]]></code>
</MissingDocblockType>
<MissingPropertyType>
<code>$dateFormat</code>
<code><![CDATA[$dateFormat]]></code>
</MissingPropertyType>
<UndefinedInterfaceMethod>
<code>setTimezone</code>
<code>setTimezone</code>
<code><![CDATA[setTimezone]]></code>
<code><![CDATA[setTimezone]]></code>
</UndefinedInterfaceMethod>
</file>
<file src="src/Link.php">
<LessSpecificReturnStatement>
<code>self::createAllDay($title, $startDate, $numberOfDays)</code>
</LessSpecificReturnStatement>
<MissingParamType>
<code>$property</code>
<code><![CDATA[$property]]></code>
</MissingParamType>
<PropertyTypeCoercion>
<code>clone $from</code>
<code>clone $to</code>
<code><![CDATA[clone $from]]></code>
<code><![CDATA[clone $to]]></code>
</PropertyTypeCoercion>
<UndefinedInterfaceMethod>
<code>modify</code>
<code><![CDATA[modify]]></code>
</UndefinedInterfaceMethod>
<UnsafeInstantiation>
<code>new static($title, $from, $to, $allDay)</code>
</UnsafeInstantiation>
<UnsafeInstantiation/>
</file>
<file src="tests/Generators/IcsGeneratorTest.php">
<InvalidArgument>
<code>$presentationOptions</code>
<code><![CDATA[$presentationOptions]]></code>
</InvalidArgument>
</file>
</files>

0 comments on commit 4f229b9

Please sign in to comment.