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/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.3', '8.4']
php-versions: ['8.2', '8.3', '8.4']
steps:
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ErrorHeroModule
[![PHPStan](https://img.shields.io/badge/style-level%20max-brightgreen.svg?style=flat-square&label=phpstan)](https://github.com/phpstan/phpstan)
[![Downloads](https://poser.pugx.org/samsonasik/error-hero-module/downloads)](https://packagist.org/packages/samsonasik/error-hero-module)

> This is README for version ^5.0 which only support Laminas Mvc version 3 and Mezzio version 3 with php ^8.1.
> This is README for version ^6.0 which only support Laminas Mvc version 3 and Mezzio version 3 with php ^8.2.

> For version ^5.0, you can read at [version 5 readme](https://github.com/samsonasik/ErrorHeroModule/tree/5.x.x) which only support Laminas Mvc version 3 and Mezzio version 3 with php ^8.1.

> For version ^4.0, you can read at [version 4 readme](https://github.com/samsonasik/ErrorHeroModule/tree/4.x.x) which only support Laminas Mvc version 3 and Mezzio version 3 with php ^8.0.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"laminas/laminas-db": "^2.20.0",
"laminas/laminas-diactoros": "^2.26",
"laminas/laminas-log": "^2.17.1",
Expand Down
8 changes: 4 additions & 4 deletions src/Handler/Writer/Checker/Db.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use function date;
use function strtotime;

final class Db
final readonly class Db
{
/** @var string */
private const OPTIONS = 'options';
Expand All @@ -24,9 +24,9 @@ final class Db
private const EXTRA = 'extra';

public function __construct(
private readonly DbWriter $dbWriter,
private readonly array $configLoggingSettings,
private readonly array $logWritersConfig
private DbWriter $dbWriter,
private array $configLoggingSettings,
private array $logWritersConfig
) {
}

Expand Down
Loading