src/Blocks/BlockSpacesCode.php
public function validateLineType($lineNumber)
    {
        $dataObject = $this->factory->getDataObject();
        $lineContent = $dataObject->getLine($lineNumber);

        $previousLineObject = $dataObject->getLine($lineNumber - 1);
        if ($this->lineIsObjectOf($previousLineObject, BlockTypes::BLOCK_CONTINUE)) {
            return false;
        }

        if (preg_match('/([\s]{4,}|[\t]{1,})/', $lineContent) && $this->lineUseContinueType($lineNumber - 1)) {
            return true;
        }

        return false;
    }
public function validateLineType($lineNumber)
    {
        $dataObject = $this->factory->getDataObject();
        $lineContent = $dataObject->getLine($lineNumber);

        $previousLineObject = $dataObject->getLine($lineNumber - 1);
        if ($this->lineIsObjectOf($previousLineObject, BlockTypes::BLOCK_CONTINUE)) {
            return false;
        }

        if (preg_match('/([\s]{4,}|[\t]{1,})/', $lineContent) && $this->lineUseContinueType($lineNumber - 1)) {
            return true;
        }

        return false;
    }
@param int $lineNumber

@return bool