protected function isValidArchive($validateLicenseFilePresence = false)
    {
        if ($validateLicenseFilePresence) {
            return $this->archiveValidator->shouldHaveLicenseFile()->validate(
                $this->analyser->collectExpectedExportIgnores()
            );
        }

        return $this->archiveValidator->validate(
            $this->analyser->collectExpectedExportIgnores()
        );
    }
protected function isValidArchive($validateLicenseFilePresence = false)
    {
        if ($validateLicenseFilePresence) {
            return $this->archiveValidator->shouldHaveLicenseFile()->validate(
                $this->analyser->collectExpectedExportIgnores()
            );
        }

        return $this->archiveValidator->validate(
            $this->analyser->collectExpectedExportIgnores()
        );
    }
protected function isValidArchive ( $ validateLicenseFilePresence = false ) { if ( $ validateLicenseFilePresence ) { return $ this -> archiveValidator -> shouldHaveLicenseFile ( ) -> validate ( $ this -> analyser -> collectExpectedExportIgnores ( ) ) ; } return $ this -> archiveValidator -> validate ( $ this -> analyser -> collectExpectedExportIgnores ( ) ) ; }
Validate archive of current Git HEAD.

@param  boolean $validateLicenseFilePresence Whether the archive should have a license file or not.
@throws \Stolt\LeanPackage\Exceptions\NoLicenseFilePresent
@return boolean
Validate archive of current Git HEAD .