fat-code /
open-api
| 1 | <?php declare(strict_types=1); |
||||
| 2 | |||||
| 3 | namespace FatCode\OpenApi; |
||||
| 4 | |||||
| 5 | /** |
||||
| 6 | * Class ProjectAnalyser |
||||
| 7 | * @package FatCode\OpenApi |
||||
| 8 | */ |
||||
| 9 | class ProjectAnalyser |
||||
| 10 | { |
||||
| 11 | private $directory; |
||||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||||
| 12 | |||||
| 13 | public function __construct(string $directory) |
||||
|
0 ignored issues
–
show
The parameter
$directory is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||
| 14 | { |
||||
| 15 | |||||
| 16 | } |
||||
| 17 | |||||
| 18 | public function readFromFile(string $filename) : void |
||||
|
0 ignored issues
–
show
The parameter
$filename is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||
| 19 | { |
||||
| 20 | |||||
| 21 | } |
||||
| 22 | } |
||||
| 23 |