Skip to content

Commit 4c50a47

Browse files
authored
Merge pull request #53 from Jurj-Bogdan/issue-52
bump PHP to 8.3
2 parents 6cb4cd2 + eb157f3 commit 4c50a47

10 files changed

Lines changed: 29 additions & 9 deletions

File tree

.github/workflows/codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
php:
1818
- "8.1"
1919
- "8.2"
20+
- "8.3"
2021

2122
steps:
2223
- name: Checkout

.github/workflows/cs-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
php:
1818
- "8.1"
1919
- "8.2"
20+
- "8.3"
2021

2122
steps:
2223
- name: Checkout

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
php:
1818
- "8.1"
1919
- "8.2"
20+
- "8.3"
2021

2122
steps:
2223
- name: Checkout

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
php:
1818
- "8.1"
1919
- "8.2"
20+
- "8.3"
2021

2122
steps:
2223
- name: Checkout

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ DotKernel mail component based on [laminas-mail](https://github.com/laminas/lami
44

55

66
![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-mail)
7-
![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-mail/4.1.0)
7+
![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-mail/4.1.1)
88

99
[![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-mail)](https://github.com/dotkernel/dot-mail/issues)
1010
[![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-mail)](https://github.com/dotkernel/dot-mail/network)

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@
2626
}
2727
},
2828
"require": {
29-
"php": "~8.1.0 || ~8.2.0",
29+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
3030
"ext-fileinfo": "*",
3131
"ext-json": "*",
32-
"laminas/laminas-servicemanager": "^3.16.0",
33-
"laminas/laminas-mail": "^2.17.0",
34-
"dotkernel/dot-event": "^3.2.0"
32+
"laminas/laminas-servicemanager": "^3.22.1",
33+
"laminas/laminas-mail": "^2.25.1",
34+
"dotkernel/dot-event": "^3.4.2"
3535
},
3636
"require-dev": {
37-
"laminas/laminas-coding-standard": "^2.5",
38-
"mikey179/vfsstream": "^1.6",
39-
"phpunit/phpunit": "^10.2.6",
40-
"vimeo/psalm": "^5.13.1"
37+
"laminas/laminas-coding-standard": "^2.5.0",
38+
"mikey179/vfsstream": "^v1.6.11",
39+
"phpunit/phpunit": "^10.4.2",
40+
"vimeo/psalm": "^5.16.0"
4141
},
4242
"autoload": {
4343
"psr-4": {

src/Options/AttachmentsOptions.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
use function array_merge;
1010

11+
/**
12+
* @template TValue
13+
* @template-extends AbstractOptions<TValue>
14+
*/
1115
class AttachmentsOptions extends AbstractOptions
1216
{
1317
public const DEFAULT_ITERATE = false;

src/Options/BodyOptions.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
use Dot\Mail\Service\MailServiceInterface;
88
use Laminas\Stdlib\AbstractOptions;
99

10+
/**
11+
* @template TValue
12+
* @template-extends AbstractOptions<TValue>
13+
*/
1014
class BodyOptions extends AbstractOptions
1115
{
1216
protected string $content = '';

src/Options/MailOptions.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
use function is_string;
1919
use function strtolower;
2020

21+
/**
22+
* @template TValue
23+
* @template-extends AbstractOptions<TValue>
24+
*/
2125
class MailOptions extends AbstractOptions
2226
{
2327
protected array $eventListeners = [];

src/Options/MessageOptions.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
use Laminas\Stdlib\AbstractOptions;
88

9+
/**
10+
* @template TValue
11+
* @template-extends AbstractOptions<TValue>
12+
*/
913
class MessageOptions extends AbstractOptions
1014
{
1115
protected string $from = '';

0 commit comments

Comments
 (0)