Laravel 5.6 updates
Travis config update Removed HHVM script as Laravel no longer support HHVM after releasing 5.3
This commit is contained in:
@@ -21,7 +21,7 @@ class AccessDeniedException extends FileException
|
||||
/**
|
||||
* @param string $path The path to the accessed file
|
||||
*/
|
||||
public function __construct($path)
|
||||
public function __construct(string $path)
|
||||
{
|
||||
parent::__construct(sprintf('The file %s could not be accessed', $path));
|
||||
}
|
||||
|
21
vendor/symfony/http-foundation/File/Exception/CannotWriteFileException.php
vendored
Normal file
21
vendor/symfony/http-foundation/File/Exception/CannotWriteFileException.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
|
||||
/**
|
||||
* Thrown when an UPLOAD_ERR_CANT_WRITE error occurred with UploadedFile.
|
||||
*
|
||||
* @author Florent Mata <florentmata@gmail.com>
|
||||
*/
|
||||
class CannotWriteFileException extends FileException
|
||||
{
|
||||
}
|
21
vendor/symfony/http-foundation/File/Exception/ExtensionFileException.php
vendored
Normal file
21
vendor/symfony/http-foundation/File/Exception/ExtensionFileException.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
|
||||
/**
|
||||
* Thrown when an UPLOAD_ERR_EXTENSION error occurred with UploadedFile.
|
||||
*
|
||||
* @author Florent Mata <florentmata@gmail.com>
|
||||
*/
|
||||
class ExtensionFileException extends FileException
|
||||
{
|
||||
}
|
@@ -21,7 +21,7 @@ class FileNotFoundException extends FileException
|
||||
/**
|
||||
* @param string $path The path to the file that was not found
|
||||
*/
|
||||
public function __construct($path)
|
||||
public function __construct(string $path)
|
||||
{
|
||||
parent::__construct(sprintf('The file "%s" does not exist', $path));
|
||||
}
|
||||
|
21
vendor/symfony/http-foundation/File/Exception/FormSizeFileException.php
vendored
Normal file
21
vendor/symfony/http-foundation/File/Exception/FormSizeFileException.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
|
||||
/**
|
||||
* Thrown when an UPLOAD_ERR_FORM_SIZE error occurred with UploadedFile.
|
||||
*
|
||||
* @author Florent Mata <florentmata@gmail.com>
|
||||
*/
|
||||
class FormSizeFileException extends FileException
|
||||
{
|
||||
}
|
21
vendor/symfony/http-foundation/File/Exception/IniSizeFileException.php
vendored
Normal file
21
vendor/symfony/http-foundation/File/Exception/IniSizeFileException.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
|
||||
/**
|
||||
* Thrown when an UPLOAD_ERR_INI_SIZE error occurred with UploadedFile.
|
||||
*
|
||||
* @author Florent Mata <florentmata@gmail.com>
|
||||
*/
|
||||
class IniSizeFileException extends FileException
|
||||
{
|
||||
}
|
21
vendor/symfony/http-foundation/File/Exception/NoFileException.php
vendored
Normal file
21
vendor/symfony/http-foundation/File/Exception/NoFileException.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
|
||||
/**
|
||||
* Thrown when an UPLOAD_ERR_NO_FILE error occurred with UploadedFile.
|
||||
*
|
||||
* @author Florent Mata <florentmata@gmail.com>
|
||||
*/
|
||||
class NoFileException extends FileException
|
||||
{
|
||||
}
|
21
vendor/symfony/http-foundation/File/Exception/NoTmpDirFileException.php
vendored
Normal file
21
vendor/symfony/http-foundation/File/Exception/NoTmpDirFileException.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
|
||||
/**
|
||||
* Thrown when an UPLOAD_ERR_NO_TMP_DIR error occurred with UploadedFile.
|
||||
*
|
||||
* @author Florent Mata <florentmata@gmail.com>
|
||||
*/
|
||||
class NoTmpDirFileException extends FileException
|
||||
{
|
||||
}
|
21
vendor/symfony/http-foundation/File/Exception/PartialFileException.php
vendored
Normal file
21
vendor/symfony/http-foundation/File/Exception/PartialFileException.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
|
||||
/**
|
||||
* Thrown when an UPLOAD_ERR_PARTIAL error occurred with UploadedFile.
|
||||
*
|
||||
* @author Florent Mata <florentmata@gmail.com>
|
||||
*/
|
||||
class PartialFileException extends FileException
|
||||
{
|
||||
}
|
@@ -13,7 +13,7 @@ namespace Symfony\Component\HttpFoundation\File\Exception;
|
||||
|
||||
class UnexpectedTypeException extends FileException
|
||||
{
|
||||
public function __construct($value, $expectedType)
|
||||
public function __construct($value, string $expectedType)
|
||||
{
|
||||
parent::__construct(sprintf('Expected argument of type %s, %s given', $expectedType, \is_object($value) ? \get_class($value) : \gettype($value)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user