Skip to content

Commit

Permalink
Merge pull request #82 from ergebnis/dependabot/composer/psalm/plugin…
Browse files Browse the repository at this point in the history
…-phpunit-0.19.0

composer(deps-dev): Bump psalm/plugin-phpunit from 0.18.4 to 0.19.0
  • Loading branch information
localheinz committed May 17, 2024
2 parents 9053016 + 08dec37 commit 5df7bfd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 24 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"fakerphp/faker": "^1.23.1",
"infection/infection": "~0.26.6",
"phpunit/phpunit": "^9.6.19",
"psalm/plugin-phpunit": "~0.18.4",
"psalm/plugin-phpunit": "~0.19.0",
"rector/rector": "^1.0.5",
"vimeo/psalm": "^5.24.0"
},
Expand Down
18 changes: 9 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 4 additions & 11 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.23.0@005e3184fb6de4350a873b9b8c4dc3cede9db762">
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
<file src="src/Major.php">
<ArgumentTypeCoercion>
<code><![CDATA[$this->value]]></code>
Expand All @@ -20,13 +20,6 @@
<code><![CDATA[$valuesWithBuildMetaData[$i]]]></code>
<code><![CDATA[$valuesWithBuildMetaData[$j]]]></code>
</InvalidArrayOffset>
<InvalidDocblock>
<code><![CDATA[public static function valuesWhereFirstValueIsEqualToSecondValue(): \Generator]]></code>
</InvalidDocblock>
<InvalidReturnType>
<code><![CDATA[\Generator<string, array{0: string, 1: string}>]]></code>
<code><![CDATA[\Generator<string, array{0: string, 1: string}>]]></code>
</InvalidReturnType>
<MixedArgument>
<code><![CDATA[$otherValue]]></code>
<code><![CDATA[$value]]></code>
Expand All @@ -35,8 +28,8 @@
<code><![CDATA[$otherValue]]></code>
<code><![CDATA[$value]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[\Generator<string, array{0: string, 1: string}]]></code>
</MixedInferredReturnType>
<MixedReturnTypeCoercion>
<code><![CDATA[\Generator<string, array{0: string, 1: string, 2: int}>]]></code>
</MixedReturnTypeCoercion>
</file>
</files>
6 changes: 3 additions & 3 deletions test/DataProvider/VersionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public static function valueAndValueWithBumpedPatch(): \Generator
}

/**
* @return \Generator<string, array{0: string, 1: string}>
* @return \Generator<string, array{0: string, 1: string, 2: int}>
*/
public static function valuesWhereFirstValueIsSmallerThanSecondValue(): \Generator
{
Expand Down Expand Up @@ -273,7 +273,7 @@ public static function valuesWhereFirstValueIsSmallerThanSecondValue(): \Generat
}

/**
* @return \Generator<string, array{0: string, 1: string}>
* @return \Generator<string, array{0: string, 1: string, 2: int}>
*/
public static function valuesWhereFirstValueIsGreaterThanSecondValue(): \Generator
{
Expand Down Expand Up @@ -307,7 +307,7 @@ public static function valuesWhereFirstValueIsGreaterThanSecondValue(): \Generat
* @see https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
* @see https://regex101.com/r/Ly7O1x/3/
*
* @return \Generator<string, array{0: string, 1: string}
* @return \Generator<string, array{0: string, 1: string, 2: int}>
*/
public static function valuesWhereFirstValueIsEqualToSecondValue(): \Generator
{
Expand Down

0 comments on commit 5df7bfd

Please sign in to comment.