From f7ed86aec18d5e40df04baa387ac5f18e2e091f4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Apr 2026 07:44:09 +0200 Subject: update to 2.4.33 (no change) --- composer.json | 20 ++++++++++++++++---- php-tecnickcom-tc-lib-barcode.spec | 12 ++++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 3b708dc..a261efa 100644 --- a/composer.json +++ b/composer.json @@ -60,16 +60,18 @@ "ext-pcre": "*", "tecnickcom/tc-lib-color": "^2.3" }, + "minimum-stability": "dev", + "prefer-stable": true, "config": { "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true } }, "require-dev": { - "pdepend/pdepend": "2.16.2", - "phpmd/phpmd": "2.15.0", - "phpunit/phpunit": "13.1.1 || 12.5.17 || 11.5.55 || 10.5.63", - "squizlabs/php_codesniffer": "4.0.1", + "pdepend/pdepend": "^2.16", + "phpmd/phpmd": "^2.15", + "phpunit/phpunit": "^13.1 || ^12.5 || ^11.5 || ^10.5", + "squizlabs/php_codesniffer": "^4.0", "phpcompatibility/php-compatibility": "^10.0.0@dev" }, "autoload": { @@ -81,5 +83,15 @@ "psr-4": { "Test\\": "test" } + }, + "support": { + "issues": "https://github.com/tecnickcom/tc-lib-barcode/issues", + "source": "https://github.com/tecnickcom/tc-lib-barcode" + }, + "scripts": { + "test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test", + "cs-check": "./vendor/bin/phpcs --standard=phpcs.xml", + "cs-fix": "./vendor/bin/phpcbf --ignore=\"./vendor/\" --standard=psr12 src test", + "analyse": "./vendor/phpstan.phar analyse" } } diff --git a/php-tecnickcom-tc-lib-barcode.spec b/php-tecnickcom-tc-lib-barcode.spec index 2f82704..c6b5fa9 100644 --- a/php-tecnickcom-tc-lib-barcode.spec +++ b/php-tecnickcom-tc-lib-barcode.spec @@ -6,6 +6,9 @@ # # Please, preserve the changelog entries # + +%bcond_without tests + %global c_vendor tecnickcom %global gh_owner tecnickcom %global gh_project tc-lib-barcode @@ -13,12 +16,10 @@ %global forgeurl https://github.com/%{gh_owner}/%{gh_project} %global tag %{version} -%bcond_without tests - Name: php-%{gh_owner}-%{gh_project} Summary: PHP library to generate linear and bidimensional barcodes License: LGPL-3.0-or-later -Version: 2.4.31 +Version: 2.4.33 Release: 1%{?dist} %forgemeta @@ -29,7 +30,7 @@ BuildArch: noarch %if %{with tests} # For tests %global phpunit %{_bindir}/phpunit11 -BuildRequires: phpunit11 >= 11.5.55 +BuildRequires: phpunit11 >= 11.5 BuildRequires: php(language) >= 8.2 BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.3 with php-composer(%{c_vendor}/tc-lib-color) < 3) BuildRequires: php-bcmath @@ -139,6 +140,9 @@ exit $ret %changelog +* Mon Apr 20 2026 Remi Collet - 2.4.33-1 +- update to 2.4.33 (no change) + * Tue Apr 14 2026 Remi Collet - 2.4.31-1 - update to 2.4.31 (no change) -- cgit