<?php
namespace exussum12\CoverageChecker\DiffLineHandle;

use exussum12\CoverageChecker\DiffLineHandle;

class DiffStart extends DiffLineHandle
{

    public function handle($line)
    {
        sscanf(
            $line,
            '@@ -%d,%d +%d,%d @@',
            $oldFrom,
            $oldTo,
            $newFrom,
            $newTo
        );

        $this->diffFileState->setCurrentPosition($newFrom -1);
    }

    public function isValid($line)
    {
        return $line[0] == '@' && $line[1] == '@';
    }
}

<?php
namespace exussum12\CoverageChecker\DiffLineHandle;

use exussum12\CoverageChecker\DiffLineHandle;

class DiffStart extends DiffLineHandle
{

    public function handle($line)
    {
        $foundVariables = sscanf(
            $line,
            '@@ -%d,%d +%d,%d @@'
        );

        $newFrom = $foundVariables[2];

        $this->diffFileState->setCurrentPosition($newFrom -1);
    }

    public function isValid($line)
    {
        return $line[0] == '@' && $line[1] == '@';
    }
}

Remove some unfound/unused variable warnings
Remove some unfound/unused variable warnings
