Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
php-version: '8.4'
extensions: pcntl, curl, pdo_mysql, zip, curl, redis
coverage: none

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
php-version: '8.4'
coverage: none

- name: Install composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
php-version: '8.4'
extensions: pcntl, curl, pdo_mysql, zip, curl, redis
coverage: none

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM dunglas/frankenphp
FROM dunglas/frankenphp:php8.4
ARG UID
ARG GID

Expand Down
2 changes: 2 additions & 0 deletions app/RemoteSite/WebserviceEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function getMethod(): HttpMethod
return HttpMethod::POST;
}

// @phpstan-ignore-next-line
throw new \ValueError("No method defined");
}

Expand All @@ -52,6 +53,7 @@ public function getResponseClass(): string
return Notification::class;
}

// @phpstan-ignore-next-line
throw new \ValueError("No response defined");
}

Expand Down
11 changes: 10 additions & 1 deletion bootstrap/app.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
<?php

use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\ServerException;
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
use Illuminate\Foundation\Http\Middleware\ValidateCsrfToken;
use Illuminate\Session\Middleware\StartSession;
use Illuminate\Support\Facades\Log;
use Illuminate\View\Middleware\ShareErrorsFromSession;

return Application::configure(basePath: dirname(__DIR__))
Expand All @@ -26,5 +29,11 @@
]);
})
->withExceptions(function (Exceptions $exceptions) {
//
$exceptions->report(function (ServerException|ClientException $e) {
Log::warning('HTTP Request Exception', [
'url' => (string) $e->getRequest()->getUri(),
'status' => $e->getResponse()->getStatusCode(),
'body' => $e->getResponse()->getBody(),
]);
})->stop();
})->create();
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"keywords": ["laravel", "framework"],
"license": "MIT",
"require": {
"php": "^8.3",
"guzzlehttp/guzzle": "^7.9",
"laravel/framework": "^11.9",
"php": "^8.4",
"guzzlehttp/guzzle": "^7.9.3",
"laravel/framework": "^11.46",
"laravel/horizon": "^5.29",
"laravel/octane": "^2.5",
"laravel/tinker": "^2.9",
Expand Down
Loading