public function validate(array $unexpectedArtifacts)
    {
        $foundUnexpectedArtifacts = $this->archive->getUnexpectedArchiveArtifacts(
            $unexpectedArtifacts
        );
        $this->ranValidate = true;

        if ($foundUnexpectedArtifacts !== []) {
            return false;
        }

        return true;
    }
public function validate(array $unexpectedArtifacts)
    {
        $foundUnexpectedArtifacts = $this->archive->getUnexpectedArchiveArtifacts(
            $unexpectedArtifacts
        );
        $this->ranValidate = true;

        if ($foundUnexpectedArtifacts !== []) {
            return false;
        }

        return true;
    }
public function validate ( array $ unexpectedArtifacts ) { $ foundUnexpectedArtifacts = $ this -> archive -> getUnexpectedArchiveArtifacts ( $ unexpectedArtifacts ) ; $ this -> ranValidate = true ; if ( $ foundUnexpectedArtifacts !== [ ] ) { return false ; } return true ; }
Validate archive against unexpected artifacts.

@param  array $unexpectedArtifacts Artifacts not expected in archive.

@return boolean
Validate archive against unexpected artifacts .