Skip to content

Commit

Permalink
Merge pull request #53 from Jurj-Bogdan/issue-52
Browse files Browse the repository at this point in the history
bump PHP to 8.3
  • Loading branch information
arhimede authored Nov 29, 2023
2 parents 6cb4cd2 + eb157f3 commit 4c50a47
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
php:
- "8.1"
- "8.2"
- "8.3"

steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
php:
- "8.1"
- "8.2"
- "8.3"

steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
php:
- "8.1"
- "8.2"
- "8.3"

steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
php:
- "8.1"
- "8.2"
- "8.3"

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DotKernel mail component based on [laminas-mail](https://github.com/laminas/lami


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

[![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-mail)](https://github.com/dotkernel/dot-mail/issues)
[![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-mail)](https://github.com/dotkernel/dot-mail/network)
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@
}
},
"require": {
"php": "~8.1.0 || ~8.2.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-fileinfo": "*",
"ext-json": "*",
"laminas/laminas-servicemanager": "^3.16.0",
"laminas/laminas-mail": "^2.17.0",
"dotkernel/dot-event": "^3.2.0"
"laminas/laminas-servicemanager": "^3.22.1",
"laminas/laminas-mail": "^2.25.1",
"dotkernel/dot-event": "^3.4.2"
},
"require-dev": {
"laminas/laminas-coding-standard": "^2.5",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^10.2.6",
"vimeo/psalm": "^5.13.1"
"laminas/laminas-coding-standard": "^2.5.0",
"mikey179/vfsstream": "^v1.6.11",
"phpunit/phpunit": "^10.4.2",
"vimeo/psalm": "^5.16.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 4 additions & 0 deletions src/Options/AttachmentsOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

use function array_merge;

/**
* @template TValue
* @template-extends AbstractOptions<TValue>
*/
class AttachmentsOptions extends AbstractOptions
{
public const DEFAULT_ITERATE = false;
Expand Down
4 changes: 4 additions & 0 deletions src/Options/BodyOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use Dot\Mail\Service\MailServiceInterface;
use Laminas\Stdlib\AbstractOptions;

/**
* @template TValue
* @template-extends AbstractOptions<TValue>
*/
class BodyOptions extends AbstractOptions
{
protected string $content = '';
Expand Down
4 changes: 4 additions & 0 deletions src/Options/MailOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
use function is_string;
use function strtolower;

/**
* @template TValue
* @template-extends AbstractOptions<TValue>
*/
class MailOptions extends AbstractOptions
{
protected array $eventListeners = [];
Expand Down
4 changes: 4 additions & 0 deletions src/Options/MessageOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

use Laminas\Stdlib\AbstractOptions;

/**
* @template TValue
* @template-extends AbstractOptions<TValue>
*/
class MessageOptions extends AbstractOptions
{
protected string $from = '';
Expand Down

0 comments on commit 4c50a47

Please sign in to comment.