Skip to content

Commit 119cb6a

Browse files
Update tomasvotruba/unused-public requirement from ^0.1.12 to ^0.2.0 (#124)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Markus Staab <markus.staab@redaxo.de>
1 parent c7f66e7 commit 119cb6a

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"thecodingmachine/phpstan-safe-rule": "^1.2",
2525
"tomasvotruba/cognitive-complexity": "^0.1.1",
2626
"tomasvotruba/type-coverage": "^0.2.0",
27-
"tomasvotruba/unused-public": "^0.1.12"
27+
"tomasvotruba/unused-public": "^0.2.0"
2828
},
2929
"config": {
3030
"optimize-autoloader": true,

lib/AnalyzeApplication.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ final class AnalyzeApplication
2121
* @return self::EXIT_*
2222
*
2323
* @throws \Safe\Exceptions\FilesystemException
24+
*
25+
* @api
2426
*/
2527
public function start(string $glob, string $format): int
2628
{
@@ -51,6 +53,9 @@ public function start(string $glob, string $format): int
5153
return self::EXIT_ERROR;
5254
}
5355

56+
/**
57+
* @api
58+
*/
5459
public function help(): void
5560
{
5661
printf('USAGE: phpstan-baseline-analyze <GLOB-PATTERN>');

lib/GraphApplication.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ final class GraphApplication
1111
* @throws \Safe\Exceptions\JsonException
1212
*
1313
* @throws \Safe\Exceptions\FilesystemException
14+
*
15+
* @api
1416
*/
1517
public function start(string $jsonGlob): int
1618
{
@@ -24,6 +26,9 @@ public function start(string $jsonGlob): int
2426
return 0;
2527
}
2628

29+
/**
30+
* @api
31+
*/
2732
public function help(): void
2833
{
2934
printf("USAGE: phpstan-baseline-graph '<glob-pattern>'");

lib/TrendApplication.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public static function getAllowedOutputFormats(): array
4343
* @throws \Safe\Exceptions\JsonException
4444
*
4545
* @throws \Safe\Exceptions\FilesystemException
46+
*
47+
* @api
4648
*/
4749
public function start(string $referenceFilePath, string $comparingFilePath, string $outputFormat): int
4850
{
@@ -59,6 +61,9 @@ public function start(string $referenceFilePath, string $comparingFilePath, stri
5961
return $this->createOutputText($reference, $comparing, $exitCode);
6062
}
6163

64+
/**
65+
* @api
66+
*/
6267
public function help(): void
6368
{
6469
printf('USAGE: phpstan-baseline-trend <reference-result.json> <comparing-result.json> [--format=json|text]');

0 commit comments

Comments
 (0)