Laravel 10.x Shift (#14995)

* Apply code style

* Remove explicit call to register policies

* Shift core files

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them and merged your true customizations -
where ENV variables may not be used.

* Bump Laravel dependencies

* Add type hints for Laravel 10

* Shift cleanup

* wip

* wip

* sync translation

* Sync back config

* Public Path Binding

* QueryException

* monolog

* db::raw

* monolog

* db::raw

* fix larastan collections

* fix phpstan bug looping forever

* larastan errors

* larastan: fix column type

* styleci

* initialize array

* fixes

* fixes

---------

Co-authored-by: Shift <shift@laravelshift.com>
This commit is contained in:
Jellyfrog
2023-05-24 22:21:54 +02:00
committed by GitHub
parent dd3ed41319
commit 2b3575a5e9
437 changed files with 1904 additions and 1913 deletions

View File

@@ -30,7 +30,7 @@ use Symfony\Component\Process\Process;
class FpingTest extends TestCase
{
public function testUpPing()
public function testUpPing(): void
{
$output = "192.168.1.3 : xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.62/0.71/0.93\n";
$this->mockFpingProcess($output, 0);
@@ -59,7 +59,7 @@ class FpingTest extends TestCase
$this->assertEquals(0, $actual->exit_code);
}
public function testPartialDownPing()
public function testPartialDownPing(): void
{
$output = "192.168.1.7 : xmt/rcv/%loss = 5/3/40%, min/avg/max = 0.13/0.23/0.32\n";
$this->mockFpingProcess($output, 0);
@@ -77,7 +77,7 @@ class FpingTest extends TestCase
$this->assertEquals(0, $actual->exit_code);
}
public function testDownPing()
public function testDownPing(): void
{
$output = "192.168.53.1 : xmt/rcv/%loss = 3/0/100%\n";
$this->mockFpingProcess($output, 1);
@@ -95,7 +95,7 @@ class FpingTest extends TestCase
$this->assertEquals(1, $actual->exit_code);
}
public function testDuplicatePing()
public function testDuplicatePing(): void
{
$output = <<<'OUT'
192.168.1.2 : duplicate for [0], 84 bytes, 0.91 ms