src/CodeGeneration/PostProcessor/FileOverrider.php
private function projectFileIsSameAsOverride(string $pathToFileInOverrides): bool
    {
        $relativePathToFileInProject = $this->getRelativePathInProjectFromOverridePath($pathToFileInOverrides);

        return $this->getFileHash($this->pathToProjectRoot . '/' . $relativePathToFileInProject) ===
               $this->getFileHash($pathToFileInOverrides);
    }
private function projectFileIsSameAsOverride(string $pathToFileInOverrides): bool
    {
        $relativePathToFileInProject = $this->getRelativePathInProjectFromOverridePath($pathToFileInOverrides);

        return $this->getFileHash($this->pathToProjectRoot . '/' . $relativePathToFileInProject) ===
               $this->getFileHash($pathToFileInOverrides);
    }
private function projectFileIsSameAsOverride ( string $ pathToFileInOverrides ) : bool { $ relativePathToFileInProject = $ this -> getRelativePathInProjectFromOverridePath ( $ pathToFileInOverrides ) ; return $ this -> getFileHash ( $ this -> pathToProjectRoot . '/' . $ relativePathToFileInProject ) === $ this -> getFileHash ( $ pathToFileInOverrides ) ; }
Is the file in the project the same as the override file already?

@param string $pathToFileInOverrides

@return bool
Is the file in the project the same as the override file already?