*/
public static function isValid(PackageArchive $archive, $instruction) {
if (!$instruction) {
- $defaultFilename = static::getDefaultFilename();
+ $instruction = static::getDefaultFilename();
}
if (preg_match('~\.(tar(\.gz)?|tgz)$~', $instruction)) {
*/
public static function isValid(PackageArchive $archive, $instruction) {
if (!$instruction) {
- $defaultFilename = static::getDefaultFilename();
+ $instruction = static::getDefaultFilename();
}
if (preg_match('~\.(tar(\.gz)?|tgz)$~', $instruction)) {
*/
public static function isValid(PackageArchive $archive, $instruction) {
if (!$instruction) {
- $defaultFilename = static::getDefaultFilename();
+ $instruction = static::getDefaultFilename();
}
if (preg_match('~\.sql$~', $instruction)) {
*/
public static function isValid(PackageArchive $archive, $instruction) {
if (!$instruction) {
- $defaultFilename = static::getDefaultFilename();
+ $instruction = static::getDefaultFilename();
}
if (preg_match('~\.(tar(\.gz)?|tgz)$~', $instruction)) {