From 4eb0ae6093dfbb606dd5181aea43b24065db1855 Mon Sep 17 00:00:00 2001 From: dante di domenico Date: Wed, 17 Apr 2024 12:04:47 +0200 Subject: [PATCH 1/2] feat: php8.3 --- .github/workflows/php.yml | 13 +++++++------ .github/workflows/release.yml | 2 +- README.md | 2 +- composer.json | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index d661ab2..aadec98 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -14,14 +14,14 @@ on: jobs: cs: - uses: bedita/github-workflows/.github/workflows/php-cs.yml@v1 + uses: bedita/github-workflows/.github/workflows/php-cs.yml@v2 with: - php_versions: '["7.4", "8.1", "8.2"]' + php_versions: '["7.4", "8.1", "8.2", "8.3"]' stan: - uses: bedita/github-workflows/.github/workflows/php-stan.yml@v1 + uses: bedita/github-workflows/.github/workflows/php-stan.yml@v2 with: - php_versions: '["7.4", "8.1", "8.2"]' + php_versions: '["7.4", "8.1", "8.2", "8.3"]' unit: name: 'Run unit tests' @@ -30,7 +30,7 @@ jobs: strategy: matrix: - php-version: [7.4, 8.1, 8.2] + php-version: [7.4, 8.1, 8.2, 8.3] steps: - name: 'Checkout current revision' @@ -72,8 +72,9 @@ jobs: filename: 'clover.xml' - name: 'Export coverage results' - uses: 'codecov/codecov-action@v3' + uses: 'codecov/codecov-action@v4' with: + token: ${{ secrets.CODECOV_TOKEN }} files: './clover.xml' env_vars: PHP_VERSION diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95682e6..cefd425 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ on: jobs: release-job: - uses: bedita/github-workflows/.github/workflows/release.yml@v1 + uses: bedita/github-workflows/.github/workflows/release.yml@v2 with: main_branch: 'main' dist_branches: '["main"]' diff --git a/README.md b/README.md index 5327682..02a5d27 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The recommended way to install composer packages is: composer require bedita/i18n-aws ``` -Note: php version supported is >= 7.4 and < 8.3. +Note: php version supported is >= 7.4. ## Amazon Translate diff --git a/composer.json b/composer.json index a5b428f..0832453 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,9 @@ { "name": "bedita/i18n-aws", - "description": "BEdita I18n Aws plugin supporting PHP >= 7.3 && PHP < 8.3", + "description": "BEdita I18n Aws plugin supporting PHP >= 7.4", "license": "MIT", "require": { - "php": ">=7.4 <8.3", + "php": ">=7.4", "bedita/i18n": "^4.4.3", "cakephp/utility": "^4.4", "aws/aws-sdk-php": "^3.285" From 23612d0608ed51708d5aeecb63f4dec10902c2c7 Mon Sep 17 00:00:00 2001 From: dante di domenico Date: Wed, 17 Apr 2024 12:06:16 +0200 Subject: [PATCH 2/2] fix: codesniffer --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0832453..aa03ed1 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "require-dev": { "phpunit/phpunit": "^9.3", "phpstan/phpstan": "^1.10", - "cakephp/cakephp-codesniffer": "^5.1", + "cakephp/cakephp-codesniffer": "~4.7.0", "cakephp/cakephp": "^4.4" }, "autoload": {