Skip to content

Commit 7134ebd

Browse files
authored
Merge pull request #9 from bilfeldt/analysis-x0PWVM
Apply fixes from StyleCI
2 parents 2bf3ac7 + 54ddf47 commit 7134ebd

File tree

9 files changed

+10
-112
lines changed

9 files changed

+10
-112
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/phpstan.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [8.0]
16+
php: [7.4, 8.0]
1717
laravel: [8.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:

.php_cs.dist.php

Lines changed: 0 additions & 40 deletions
This file was deleted.

.styleci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
risky: false
2+
version: 8.0
3+
preset: laravel

phpstan-baseline.neon

Whitespace-only changes.

phpstan.neon.dist

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/Contracts/RequestLoggerInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
interface RequestLoggerInterface
88
{
99
/**
10-
* @param Request $request
11-
* @param \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\Response $response
12-
* @param int|null $time
13-
* @param int|null $memory
10+
* @param Request $request
11+
* @param \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse|\Symfony\Component\HttpFoundation\Response $response
12+
* @param int|null $time
13+
* @param int|null $memory
1414
*/
1515
public function log(
1616
Request $request,

src/Middleware/LogRequestMiddleware.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ class LogRequestMiddleware
1111
/**
1212
* Handle an incoming request.
1313
*
14-
* @param \Illuminate\Http\Request $request
15-
* @param \Closure $next
16-
*
14+
* @param \Illuminate\Http\Request $request
15+
* @param \Closure $next
1716
* @return mixed
1817
*/
1918
public function handle(Request $request, Closure $next, string ...$drivers)

0 commit comments

Comments
 (0)