Skip to content

Commit

Permalink
Fix typo and refactor codebase for PHP 8 compatibility
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ondřej Votava committed Jan 28, 2025
1 parent 7052045 commit 9cce919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code_analyse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9cce919

Please sign in to comment.