diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2c25ca98..c04abf2e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.2" steps: - uses: "actions/checkout@v4" @@ -39,11 +39,11 @@ jobs: strategy: matrix: php-version: - - "8.2" + - "8.3" code-coverage: - "none" include: - - php-version: "8.1" + - php-version: "8.2" code-coverage: "pcov" env: @@ -89,7 +89,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.2" steps: - uses: "actions/checkout@v4" @@ -108,7 +108,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.2" steps: - uses: "actions/checkout@v4" diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 83d51246..11bbc9bd 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -17,7 +17,7 @@ 'binary_operator_spaces' => ['default' => 'align_single_space'], 'blank_line_before_statement' => true, 'class_definition' => ['single_item_single_line' => true], - 'compact_nullable_typehint' => true, + 'compact_nullable_type_declaration' => true, 'concat_space' => ['spacing' => 'one'], 'echo_tag_syntax' => ['format' => 'long'], 'error_suppression' => false, @@ -39,7 +39,7 @@ 'no_null_property_initialization' => true, 'no_php4_constructor' => true, 'no_superfluous_elseif' => true, - 'no_unneeded_curly_braces' => true, + 'no_unneeded_braces' => true, 'no_unneeded_final_method' => true, 'no_unreachable_default_argument_value' => true, 'no_useless_else' => true, diff --git a/Makefile b/Makefile index 5e83353f..a1f3eac4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PHP_DOCKER_VERSION := thecodingmachine/php:8.1-v4-cli +PHP_DOCKER_VERSION := thecodingmachine/php:8.2-v4-cli PHP_BIN := docker run -it --rm \ --network=ddeboer_imap_network \ --env IMAP_SERVER_NAME=ddeboer_imap_server \ diff --git a/README.md b/README.md index 57e9a420..8fea9782 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A PHP IMAP library to read and process e-mails over IMAP protocol, built with robust Object-Oriented architecture. -This library requires PHP >= 8.1 with [IMAP](https://www.php.net/manual/en/book.imap.php), +This library requires PHP >= 8.2 with [IMAP](https://www.php.net/manual/en/book.imap.php), [iconv](https://www.php.net/manual/en/book.iconv.php) and [Multibyte String](https://www.php.net/manual/en/book.mbstring.php) extensions installed. diff --git a/composer.json b/composer.json index b39a7cd9..357c0197 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ } ], "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.2.0 || ~8.3.0", "ext-dom": "*", "ext-iconv": "*", "ext-imap": "*", @@ -30,12 +30,12 @@ "ext-mbstring": "*" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.26.1", - "laminas/laminas-mail": "^2.23.0", - "phpstan/phpstan": "^1.10.33", - "phpstan/phpstan-phpunit": "^1.3.14", - "phpstan/phpstan-strict-rules": "^1.5.1", - "phpunit/phpunit": "^10.3.3" + "friendsofphp/php-cs-fixer": "^3.38.2", + "laminas/laminas-mail": "^2.25.1", + "phpstan/phpstan": "^1.10.43", + "phpstan/phpstan-phpunit": "^1.3.15", + "phpstan/phpstan-strict-rules": "^1.5.2", + "phpunit/phpunit": "^10.4.2" }, "autoload": { "psr-4": {