Skip to content

Commit cf4db37

Browse files
committed
Making a couple more PHPStan changes
1 parent c298361 commit cf4db37

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Specs/SpecGenerator.php

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

46+
// @phpstan-ignore method.notFound, method.notFound
4647
return strtolower($format) === 'yaml' ? $openapi->toYaml() : $openapi->toJson();
4748
}
4849
}

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ parameters:
88
- tests/*
99
- vendor/*
1010
- github-action-tests
11+
- scoper.inc.php
1112
bootstrapFiles:
1213
- ../../bootstrap-phpstan.php
1314
universalObjectCratesClasses:

0 commit comments

Comments
 (0)