Skip to content

Commit 29b4efd

Browse files
committed
Temporarily have PHPStan ignore class
1 parent c117f4d commit 29b4efd

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Specs/SpecGenerator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function generatePluginDoc(string $pluginName, string $format = 'json'):
4343
$pluginDir . '/API.php',
4444
]);
4545

46-
// @phpstan-ignore method.notFound, method.notFound
4746
return strtolower($format) === 'yaml' ? $openapi->toYaml() : $openapi->toJson();
4847
}
4948
}

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ parameters:
99
- vendor/*
1010
- github-action-tests
1111
- scoper.inc.php
12+
- Specs/SpecGenerator.php
1213
bootstrapFiles:
1314
- ../../bootstrap-phpstan.php
1415
universalObjectCratesClasses:

0 commit comments

Comments
 (0)