1.4.5 patch - formatting + composer replace

This commit is contained in:
Daniel Mason 2019-08-28 09:46:50 +12:00
parent 5a94c021da
commit 19f21219f8
11 changed files with 24 additions and 16 deletions

View file

@ -185,7 +185,7 @@ class Resque_Redis
// Check the URI scheme
$validSchemes = ['redis', 'tcp'];
if (isset($parts['scheme']) && !in_array($parts['scheme'], $validSchemes)) {
throw new \InvalidArgumentException("Invalid DSN. Supported schemes are " . implode(', ', $validSchemes));
throw new InvalidArgumentException("Invalid DSN. Supported schemes are " . implode(', ', $validSchemes));
}
// Allow simple 'hostname' format, which `parse_url` treats as a path, not host.