Skip to content

Commit fc9b6c1

Browse files
committed
Suppress warnings for external code usages
1 parent 8b58723 commit fc9b6c1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Script/Helper/Downloader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function isAccessible($url)
2323
* @param string $url
2424
*
2525
* @return string
26+
* @SuppressWarnings(PHPMD.StaticAccess)
2627
*/
2728
public function download($url)
2829
{

src/Script/Processor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ private function getDecisions()
120120
/**
121121
* @param string $dir
122122
* @param array $excludeToolNames
123+
*
124+
* @SuppressWarnings(PHPMD.StaticAccess)
123125
*/
124126
private function removeFromDir($dir, array $excludeToolNames = [])
125127
{

0 commit comments

Comments
 (0)