Formatting
This commit is contained in:
@@ -6,7 +6,6 @@ language: php
|
|||||||
php:
|
php:
|
||||||
- '7.4'
|
- '7.4'
|
||||||
- '7.3'
|
- '7.3'
|
||||||
# - '7.2'
|
|
||||||
|
|
||||||
#env:
|
#env:
|
||||||
# - DB=mysql
|
# - DB=mysql
|
||||||
|
|||||||
+2
-1
@@ -7,7 +7,8 @@
|
|||||||
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
|
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ $url }}" class="button button-{{ $color ?? 'primary' }}" target="_blank" rel="noopener">{{ $slot }}</a>
|
<a href="{{ $url }}" class="button button-{{ $color ?? 'primary' }}" target="_blank"
|
||||||
|
rel="noopener">{{ $slot }}</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
|
|||||||
+9
-6
@@ -2,13 +2,16 @@
|
|||||||
|
|
||||||
use App\Repositories\SettingRepository;
|
use App\Repositories\SettingRepository;
|
||||||
use App\Services\DatabaseService;
|
use App\Services\DatabaseService;
|
||||||
|
use Carbon\Carbon;
|
||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
use GuzzleHttp\Handler\MockHandler;
|
use GuzzleHttp\Handler\MockHandler;
|
||||||
use GuzzleHttp\HandlerStack;
|
use GuzzleHttp\HandlerStack;
|
||||||
use GuzzleHttp\Psr7\Response;
|
use GuzzleHttp\Psr7\Response;
|
||||||
use Illuminate\Routing\Middleware\ThrottleRequests;
|
use Illuminate\Routing\Middleware\ThrottleRequests;
|
||||||
use Illuminate\Support\Facades\Artisan;
|
use Illuminate\Support\Facades\Artisan;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
use Illuminate\Support\Facades\Notification;
|
use Illuminate\Support\Facades\Notification;
|
||||||
|
use Illuminate\Testing\TestResponse;
|
||||||
use Tests\CreatesApplication;
|
use Tests\CreatesApplication;
|
||||||
use Tests\TestData;
|
use Tests\TestData;
|
||||||
|
|
||||||
@@ -266,9 +269,9 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
|
|||||||
* @param array $headers
|
* @param array $headers
|
||||||
* @param null $user
|
* @param null $user
|
||||||
*
|
*
|
||||||
* @return Illuminate\Testing\TestResponse
|
* @return TestResponse
|
||||||
*/
|
*/
|
||||||
public function post($uri, array $data = [], array $headers = [], $user = null): Illuminate\Testing\TestResponse
|
public function post($uri, array $data = [], array $headers = [], $user = null): TestResponse
|
||||||
{
|
{
|
||||||
$data = $this->transformData($data);
|
$data = $this->transformData($data);
|
||||||
$req = parent::post($uri, $data, $this->headers($user, $headers));
|
$req = parent::post($uri, $data, $this->headers($user, $headers));
|
||||||
@@ -287,9 +290,9 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
|
|||||||
* @param array $headers
|
* @param array $headers
|
||||||
* @param null $user
|
* @param null $user
|
||||||
*
|
*
|
||||||
* @return Illuminate\Testing\TestResponse
|
* @return TestResponse
|
||||||
*/
|
*/
|
||||||
public function put($uri, array $data = [], array $headers = [], $user = null): Illuminate\Testing\TestResponse
|
public function put($uri, array $data = [], array $headers = [], $user = null): TestResponse
|
||||||
{
|
{
|
||||||
$req = parent::put($uri, $this->transformData($data), $this->headers($user, $headers));
|
$req = parent::put($uri, $this->transformData($data), $this->headers($user, $headers));
|
||||||
if ($req->isClientError() || $req->isServerError()) {
|
if ($req->isClientError() || $req->isServerError()) {
|
||||||
@@ -307,9 +310,9 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
|
|||||||
* @param array $headers
|
* @param array $headers
|
||||||
* @param null $user
|
* @param null $user
|
||||||
*
|
*
|
||||||
* @return Illuminate\Testing\TestResponse
|
* @return TestResponse
|
||||||
*/
|
*/
|
||||||
public function delete($uri, array $data = [], array $headers = [], $user = null): Illuminate\Testing\TestResponse
|
public function delete($uri, array $data = [], array $headers = [], $user = null): TestResponse
|
||||||
{
|
{
|
||||||
$req = parent::delete($uri, $this->transformData($data), $this->headers($user, $headers));
|
$req = parent::delete($uri, $this->transformData($data), $this->headers($user, $headers));
|
||||||
if ($req->isClientError() || $req->isServerError()) {
|
if ($req->isClientError() || $req->isServerError()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user