Aggiornato Composer
This commit is contained in:
@@ -2,13 +2,16 @@
|
||||
/*
|
||||
* This file is part of PharIo\Manifest.
|
||||
*
|
||||
* (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de>
|
||||
* Copyright (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de> and contributors
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
*/
|
||||
namespace PharIo\Manifest;
|
||||
|
||||
use function sprintf;
|
||||
|
||||
class ManifestLoader {
|
||||
public static function fromFile(string $filename): Manifest {
|
||||
try {
|
||||
@@ -17,7 +20,7 @@ class ManifestLoader {
|
||||
);
|
||||
} catch (Exception $e) {
|
||||
throw new ManifestLoaderException(
|
||||
\sprintf('Loading %s failed.', $filename),
|
||||
sprintf('Loading %s failed.', $filename),
|
||||
(int)$e->getCode(),
|
||||
$e
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user