Skip to content

Commit

Permalink
Updated to PHPStan 1.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kukulich committed Sep 6, 2024
1 parent adcfcb4 commit aeddd8e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,9 @@ public function testNoStubForClassThatDoesNotExist(): void

public function testStubForEnum(): void
{
$stub = $this->sourceStubber->generateClassStub('Random\IntervalBoundary');
/** @phpstan-var class-string $enumName */
$enumName = 'Random\IntervalBoundary';
$stub = $this->sourceStubber->generateClassStub($enumName);

if (PHP_VERSION_ID >= 80300) {
self::assertInstanceOf(StubData::class, $stub);
Expand Down
2 changes: 1 addition & 1 deletion tools/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": {
"doctrine/coding-standard": "^12.0.0",
"phpstan/phpstan": "^1.12.1",
"phpstan/phpstan": "^1.12.2",
"phpstan/phpstan-phpunit": "^1.4.0",
"vimeo/psalm": "^5.25.0",
"roave/backward-compatibility-check": "^8.8.0",
Expand Down
12 changes: 6 additions & 6 deletions tools/composer.lock

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

0 comments on commit aeddd8e

Please sign in to comment.