summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-05-13 08:22:37 +0200
committerRemi Collet <remi@php.net>2026-05-13 08:22:37 +0200
commit878f4572f1d044af3a5038d4c1ba43daa9bc644d (patch)
tree56af897706a3423c6cfdcdaebf77a5d800be0226
parentca47ba765b9060fda0b3ad4ef3ab22561b9d072a (diff)
update to 2.6.1HEADmaster
raise dependency on PHP 8.2
-rw-r--r--composer.json128
-rw-r--r--php-tecnickcom-tc-lib-file.spec10
2 files changed, 71 insertions, 67 deletions
diff --git a/composer.json b/composer.json
index 05d5855..da82267 100644
--- a/composer.json
+++ b/composer.json
@@ -1,67 +1,67 @@
{
- "name": "tecnickcom/tc-lib-file",
- "description": "PHP library to read byte-level data from files",
- "type": "library",
- "homepage": "https://tcpdf.org",
- "license": "LGPL-3.0-or-later",
- "keywords": [
- "tc-lib-file",
- "file",
- "byte",
- "bit",
- "read",
- "short",
- "long",
- "double"
- ],
- "authors": [
- {
- "name": "Nicola Asuni",
- "email": "info@tecnick.com",
- "role": "lead"
+ "name": "tecnickcom/tc-lib-file",
+ "description": "PHP library to read byte-level data from files",
+ "type": "library",
+ "homepage": "https://tcpdf.org",
+ "license": "LGPL-3.0-or-later",
+ "keywords": [
+ "tc-lib-file",
+ "file",
+ "byte",
+ "bit",
+ "read",
+ "short",
+ "long",
+ "double"
+ ],
+ "authors": [
+ {
+ "name": "Nicola Asuni",
+ "email": "info@tecnick.com",
+ "role": "lead"
+ }
+ ],
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/tecnickcom"
+ }
+ ],
+ "require": {
+ "php": ">=8.2",
+ "ext-curl": "*",
+ "ext-pcre": "*"
+ },
+ "minimum-stability": "dev",
+ "prefer-stable": true,
+ "config": {
+ "allow-plugins": {
+ "dealerdirect/phpcodesniffer-composer-installer": true
+ }
+ },
+ "require-dev": {
+ "pdepend/pdepend": "^2.16",
+ "phpunit/phpunit": "^13.1 || ^12.5 || ^11.5",
+ "phpcompatibility/php-compatibility": "^10.0.0@dev"
+ },
+ "autoload": {
+ "psr-4": {
+ "Com\\Tecnick\\File\\": "src"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "Test\\": "test"
+ }
+ },
+ "support": {
+ "issues": "https://github.com/tecnickcom/tc-lib-file/issues",
+ "source": "https://github.com/tecnickcom/tc-lib-file"
+ },
+ "scripts": {
+ "test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test",
+ "cs-check": "./vendor/bin/mago --config ./mago.src.toml lint src && ./vendor/bin/mago --config ./mago.test.toml lint test",
+ "cs-fix": "./vendor/bin/mago fmt src test",
+ "analyse": "./vendor/bin/mago --config ./mago.src.toml analyze src && ./vendor/bin/mago --config ./mago.test.toml analyze test"
}
- ],
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/tecnickcom"
- }
- ],
- "require": {
- "php": ">=8.1",
- "ext-curl": "*",
- "ext-pcre": "*"
- },
- "minimum-stability": "dev",
- "prefer-stable": true,
- "config": {
- "allow-plugins": {
- "dealerdirect/phpcodesniffer-composer-installer": true
- }
- },
- "require-dev": {
- "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": {
- "psr-4": {
- "Com\\Tecnick\\File\\": "src"
- }
- },
- "autoload-dev": {
- "psr-4": { "Test\\": "test" }
- },
- "support": {
- "issues": "https://github.com/tecnickcom/tc-lib-file/issues",
- "source": "https://github.com/tecnickcom/tc-lib-file"
- },
- "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-file.spec b/php-tecnickcom-tc-lib-file.spec
index 119050a..013ec82 100644
--- a/php-tecnickcom-tc-lib-file.spec
+++ b/php-tecnickcom-tc-lib-file.spec
@@ -19,7 +19,7 @@
Name: php-%{gh_owner}-%{gh_project}
Summary: PHP library to read byte-level data from files
License: LGPL-3.0-or-later
-Version: 2.5.2
+Version: 2.6.1
Release: 1%{?dist}
%forgemeta
@@ -38,10 +38,10 @@ BuildRequires: php-pcre
BuildRequires: php-fedora-autoloader-devel
# From composer.json, "require": {
-# "php": ">=8.1",
+# "php": ">=8.2",
# "ext-curl": "*",
# "ext-pcre": "*"
-Requires: php(language) >= 8.1
+Requires: php(language) >= 8.2
Requires: php-curl
Requires: php-pcre
# From phpcompatinfo report for version 1.6.4
@@ -112,6 +112,10 @@ exit $ret
%changelog
+* Wed May 13 2026 Remi Collet <remi@remirepo.net> - 2.6.1-1
+- update to 2.6.1
+- raise dependency on PHP 8.2
+
* Sun May 3 2026 Remi Collet <remi@remirepo.net> - 2.5.2-1
- update to 2.5.2