From a83ad4cdd8492decf6e975494f8130c90fd9fa1d Mon Sep 17 00:00:00 2001 From: Jon Gotlin Date: Fri, 5 Dec 2025 13:29:34 +0100 Subject: [PATCH 1/3] Nullable --- src/ResponseFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResponseFactory.php b/src/ResponseFactory.php index 986ee16..cf17148 100644 --- a/src/ResponseFactory.php +++ b/src/ResponseFactory.php @@ -23,7 +23,7 @@ final class ResponseFactory private $cursor; private $contentType; - public function __construct(Manager $fractal, string $contentType = null) + public function __construct(Manager $fractal, ?string $contentType = null) { $this->fractal = $fractal; if (null === $contentType) { From c89f35545df5d5ad10bbfb17d3479eb153df05fa Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 29 Dec 2025 09:55:06 +0100 Subject: [PATCH 2/3] Php cs fixer bump --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 66fa7de..531d989 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -57,7 +57,7 @@ jobs: with: php-version: 8.1 coverage: none - tools: php-cs-fixer:3.21, cs2pr + tools: php-cs-fixer:3.92, cs2pr - name: Display PHP-CS-Fixer version run: php-cs-fixer --version From 3a7ce69cae88bd1ac775b72fc80e71f15225d091 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 29 Dec 2025 10:00:26 +0100 Subject: [PATCH 3/3] Same versions as other jobs --- .github/workflows/static.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 531d989..552cd99 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -68,18 +68,18 @@ jobs: composer-normalize: name: Composer Normalize - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.1 coverage: none tools: composer-normalize - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Normalize run: composer-normalize --dry-run