Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
29 | 1 | public function detectInterlacement(string $file, int $maxFramesToAnalyze = InterlaceDetect::DEFAULT_INTERLACE_MAX_FRAMES): InterlaceGuess |
|
30 | { |
||
31 | 1 | $interlaceDetect = new InterlaceDetect($this->ffmpegConfig); |
|
32 | |||
33 | 1 | return $interlaceDetect->guessInterlacing($file, $maxFramesToAnalyze); |
|
34 | } |
||
36 |
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.