From 032b9d437ccbd2ddc195ad997051a91f9114f7ea Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Wed, 6 Sep 2023 12:11:54 +0100 Subject: [PATCH] Update automation with PHP 8.3 checks --- .github/workflows/check.yml | 7 +++++-- VERSION | 2 +- composer.json | 2 +- resources/debian/control | 2 +- resources/rpm/rpm.spec | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6aa3be9..aad85b7 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -3,6 +3,9 @@ name: check env: XDEBUG_MODE: coverage +permissions: + contents: read + on: push: branches: @@ -20,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ["7.2", "7.3", "7.4", "8.0", "8.1"] + php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"] experimental: [false] os: [ubuntu-latest] coverage-extension: [pcov] @@ -31,7 +34,7 @@ jobs: - { php-version: '5.6', experimental: false, os: ubuntu-latest, coverage-extension: 'xdebug' } - { php-version: '7.1', experimental: false, os: ubuntu-latest, coverage-extension: 'xdebug' } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use php ${{ matrix.php-version }} uses: shivammathur/setup-php@v2 with: diff --git a/VERSION b/VERSION index f689e8c..fd4ca57 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.18 +1.4.19 diff --git a/composer.json b/composer.json index e469ff5..fbcd408 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "PHP library containing Unicode methods", "type": "library", "homepage": "http://www.tecnick.com", - "license": "LGPL-3.0", + "license": "LGPL-3.0-or-later", "keywords": [ "tc-lib-unicode", "PDF", diff --git a/resources/debian/control b/resources/debian/control index 572d864..86887eb 100644 --- a/resources/debian/control +++ b/resources/debian/control @@ -10,6 +10,6 @@ Vcs-Git: https://github.com/~#VENDOR#~/~#PROJECT#~.git Package: ~#PKGNAME#~ Provides: php-~#PROJECT#~ Architecture: all -Depends: php (>= 5.4.0), php-mbstring, php-tecnickcom-tc-lib-unicode-data (<< 2.0.0), php-tecnickcom-tc-lib-unicode-data (>= 1.7.18), ${misc:Depends} +Depends: php (>= 5.4.0), php-mbstring, php-tecnickcom-tc-lib-unicode-data (<< 2.0.0), php-tecnickcom-tc-lib-unicode-data (>= 1.7.19), ${misc:Depends} Description: PHP Unicode methods. PHP library containing Unicode methods. diff --git a/resources/rpm/rpm.spec b/resources/rpm/rpm.spec index 2f420dd..41775f5 100644 --- a/resources/rpm/rpm.spec +++ b/resources/rpm/rpm.spec @@ -18,7 +18,7 @@ BuildArch: noarch Requires: php(language) >= 5.4.0 Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.7.18 +Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.7.19 Requires: php-pcre Requires: php-mbstring