Skip to content

Commit d4b1177

Browse files
committed
update composer
1 parent 8ef4b57 commit d4b1177

4 files changed

Lines changed: 17 additions & 18 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.8.0
1+
2.9.0

composer.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,14 @@
2727
"require": {
2828
"php": ">=8.2",
2929
"ext-zlib": "*",
30-
"tecnickcom/tc-lib-color": "^2.7",
31-
"tecnickcom/tc-lib-pdf-encrypt": "^2.5"
30+
"tecnickcom/tc-lib-color": "^2.9",
31+
"tecnickcom/tc-lib-pdf-encrypt": "^2.6"
3232
},
33-
"minimum-stability": "dev",
33+
"minimum-stability": "stable",
3434
"prefer-stable": true,
35-
"config": {
36-
"allow-plugins": {
37-
"dealerdirect/phpcodesniffer-composer-installer": true
38-
}
39-
},
4035
"require-dev": {
4136
"pdepend/pdepend": "^2.16",
42-
"phpunit/phpunit": "^13.1 || ^12.5 || ^11.5",
43-
"phpcompatibility/php-compatibility": "^10.0.0@dev"
37+
"phpunit/phpunit": "^11.5 || ^12.5 || ^13.2"
4438
},
4539
"autoload": {
4640
"psr-4": {
@@ -57,9 +51,14 @@
5751
"source": "https://github.com/tecnickcom/tc-lib-pdf-graph"
5852
},
5953
"scripts": {
60-
"test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test",
61-
"cs-check": "./vendor/bin/mago --config ./mago.src.toml lint src && ./vendor/bin/mago --config ./mago.test.toml lint test",
62-
"cs-fix": "./vendor/bin/mago fmt src test",
63-
"analyse": "./vendor/bin/mago --config ./mago.src.toml analyze src && ./vendor/bin/mago --config ./mago.test.toml analyze test"
54+
"test": "@php -d xdebug.mode=coverage vendor/bin/phpunit --stderr test",
55+
"analyse": ["@analyse:src", "@analyse:test"],
56+
"analyse:src": "mago --config mago.src.toml analyze src",
57+
"analyse:test": "mago --config mago.test.toml analyze test",
58+
"cs-check": ["@cs-check:src", "@cs-check:test"],
59+
"cs-check:src": "mago --config mago.src.toml lint src",
60+
"cs-check:test": "mago --config mago.test.toml lint test",
61+
"cs-fix": "mago fmt src test",
62+
"qa": ["@cs-check", "@analyse", "@test"]
6463
}
6564
}

resources/debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Vcs-Browser: https://github.com/~#VENDOR#~/~#PROJECT#~
1212
Package: ~#PKGNAME#~
1313
Provides: php-~#PROJECT#~
1414
Architecture: all
15-
Depends: php (>= 8.2.0), php-zip, php-tecnickcom-tc-lib-color (<< 3.0.0), php-tecnickcom-tc-lib-color (>= 2.7.0), php-tecnickcom-tc-lib-pdf-encrypt (<< 3.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.5.0), ${misc:Depends}
15+
Depends: php (>= 8.2.0), php-zip, php-tecnickcom-tc-lib-color (<< 3.0.0), php-tecnickcom-tc-lib-color (>= 2.9.0), php-tecnickcom-tc-lib-pdf-encrypt (<< 3.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.6.0), ${misc:Depends}
1616
Description: PHP PDF Graph Library
1717
PHP library containing PDF graphic and geometric methods.

resources/rpm/rpm.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ BuildArch: noarch
1717
Requires: php(language) >= 8.2.0
1818
Requires: php-zlib
1919
Requires: php-composer(%{c_vendor}/tc-lib-color) < 3.0.0
20-
Requires: php-composer(%{c_vendor}/tc-lib-color) >= 2.7.0
20+
Requires: php-composer(%{c_vendor}/tc-lib-color) >= 2.9.0
2121
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3.0.0
22-
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.5.0
22+
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.6.0
2323

2424
Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version}
2525
Provides: php-%{gh_project} = %{version}

0 commit comments

Comments
 (0)