From 9cce919e053329422929569e93d5ce28b0e631e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Votava?= Date: Tue, 28 Jan 2025 12:19:55 +0100 Subject: [PATCH] Fix typo and refactor codebase for PHP 8 compatibility Renamed `assertMaxLenght` to `assertMaxLength` to fix a typo and ensure consistency. Removed the `Stringable` stub for PHP <8.0 and updated properties to readonly where applicable for better immutability. Enhanced type declarations and annotations to align with PHP 8 standards. --- .github/workflows/code_analyse.yml | 2 +- .github/workflows/unit_tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_analyse.yml b/.github/workflows/code_analyse.yml index 0010bbe..797022a 100644 --- a/.github/workflows/code_analyse.yml +++ b/.github/workflows/code_analyse.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4'] + php-versions: ['8.1', '8.2', '8.3', '8.4'] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 5cfa0a1..9f6ef3b 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: [ '8.0', '8.1', '8.2', '8.3', '8.4' ] + php-versions: [ '8.1', '8.2', '8.3', '8.4' ] steps: - name: Checkout uses: actions/checkout@v2