Update to laravel 7

This commit is contained in:
KodeStar
2022-03-10 11:54:29 +00:00
parent 61a5a1a8b0
commit f9a19fce91
7170 changed files with 274189 additions and 283773 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace Github\Exception;
use Throwable;
class SsoRequiredException extends RuntimeException
{
/** @var string */
private $url;
/**
* @param string $url
* @param int $code
* @param Throwable|null $previous
*/
public function __construct(string $url, int $code = 0, Throwable $previous = null)
{
$this->url = $url;
parent::__construct('Resource protected by organization SAML enforcement. You must grant your personal token access to this organization.', $code, $previous);
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}