Skip to content

Commit

Permalink
Merge pull request #240 from Ocramius/renovate/doctrine-coding-standa…
Browse files Browse the repository at this point in the history
…rd-10.x

Update dependency doctrine/coding-standard to v10
  • Loading branch information
Ocramius committed Oct 31, 2022
2 parents 7ea48a0 + 34ad79d commit 6d2c35d
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 57 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -15,7 +15,7 @@
},
"require-dev": {
"composer/composer": "^2.2.0",
"doctrine/coding-standard": "^9.0.0",
"doctrine/coding-standard": "^10.0.0",
"ext-zip": "^1.15.0",
"roave/infection-static-analysis-plugin": "^1.13.0",
"phpunit/phpunit": "^9.5.10",
Expand Down
109 changes: 57 additions & 52 deletions composer.lock

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

6 changes: 2 additions & 4 deletions test/PackageVersionsTest/VersionsTest.php
Expand Up @@ -27,7 +27,7 @@ public function testValidVersions(): void
foreach ($packages as $package) {
self::assertSame(
$package['version'] . '@' . $package['source']['reference'],
Versions::getVersion($package['name'])
Versions::getVersion($package['name']),
);
}
}
Expand All @@ -49,9 +49,7 @@ public function testInvalidVersionsAreRejected(): void
{
$this->expectException(OutOfBoundsException::class);

/**
* @psalm-suppress ArgumentTypeCoercion we are explicitly testing for something not allowed by the type system
*/
/** @psalm-suppress ArgumentTypeCoercion we are explicitly testing for something not allowed by the type system */
Versions::getVersion(uniqid('', true) . '/' . uniqid('', true));
}
}

0 comments on commit 6d2c35d

Please sign in to comment.