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:
@@ -13,6 +13,6 @@ namespace SebastianBergmann\CodeCoverage;
|
||||
/**
|
||||
* Exception that is raised when covered code is not executed.
|
||||
*/
|
||||
class CoveredCodeNotExecutedException extends RuntimeException
|
||||
final class CoveredCodeNotExecutedException extends RuntimeException
|
||||
{
|
||||
}
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
namespace SebastianBergmann\CodeCoverage;
|
||||
|
||||
class InvalidArgumentException extends \InvalidArgumentException implements Exception
|
||||
final class InvalidArgumentException extends \InvalidArgumentException implements Exception
|
||||
{
|
||||
/**
|
||||
* @param int $argument
|
||||
@@ -19,7 +19,7 @@ class InvalidArgumentException extends \InvalidArgumentException implements Exce
|
||||
*
|
||||
* @return InvalidArgumentException
|
||||
*/
|
||||
public static function create($argument, $type, $value = null)
|
||||
public static function create($argument, $type, $value = null): self
|
||||
{
|
||||
$stack = \debug_backtrace(0);
|
||||
|
||||
|
@@ -13,6 +13,6 @@ namespace SebastianBergmann\CodeCoverage;
|
||||
/**
|
||||
* Exception that is raised when @covers must be used but is not.
|
||||
*/
|
||||
class MissingCoversAnnotationException extends RuntimeException
|
||||
final class MissingCoversAnnotationException extends RuntimeException
|
||||
{
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@ namespace SebastianBergmann\CodeCoverage;
|
||||
/**
|
||||
* Exception that is raised when code is unintentionally covered.
|
||||
*/
|
||||
class UnintentionallyCoveredCodeException extends RuntimeException
|
||||
final class UnintentionallyCoveredCodeException extends RuntimeException
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
@@ -33,7 +33,7 @@ class UnintentionallyCoveredCodeException extends RuntimeException
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getUnintentionallyCoveredUnits()
|
||||
public function getUnintentionallyCoveredUnits(): array
|
||||
{
|
||||
return $this->unintentionallyCoveredUnits;
|
||||
}
|
||||
@@ -41,7 +41,7 @@ class UnintentionallyCoveredCodeException extends RuntimeException
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
private function toString()
|
||||
private function toString(): string
|
||||
{
|
||||
$message = '';
|
||||
|
||||
|
Reference in New Issue
Block a user