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:
Manish Verma
2018-08-06 20:08:55 +05:30
parent 126fbb0255
commit 1ac0f42a58
2464 changed files with 65239 additions and 46734 deletions

View File

@@ -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
{
}

View File

@@ -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);

View File

@@ -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
{
}

View File

@@ -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 = '';