Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
35 | 2 | public function detectInterlacement(string $file, int $maxFramesToAnalyze = InterlaceDetect::DEFAULT_INTERLACE_MAX_FRAMES): InterlaceDetectGuess |
|
36 | { |
||
37 | 2 | $interlaceDetect = new InterlaceDetect($this->ffmpegConfig); |
|
38 | |||
39 | 2 | return $interlaceDetect->guessInterlacing($file, $maxFramesToAnalyze); |
|
40 | } |
||
42 |
This check looks for improperly formatted assignments.
Every assignment must have exactly one space before and one space after the equals operator.
To illustrate:
will have no issues, while
will report issues in lines 1 and 2.