Composer align with FreshRSS (#452)

This commit is contained in:
Alexandre Alapetite authored and GitHub committed 2026-04-15 22:35:17 +02:00
1 parent e71f85ae7f
commit df4d29da67
3 files changed
+85 -79

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ lint-fix: vendor/bin/phpcbf ## Fix the errors detected by the linter
bin/composer:
mkdir -p bin/
wget 'https://raw.githubusercontent.com/composer/getcomposer.org/9e43d8a9b16fffa4dc9b090b9104dab7d815424a/web/installer' -O - -q | php -- --quiet --install-dir='./bin/' --filename='composer'
wget 'https://raw.githubusercontent.com/composer/getcomposer.org/dd8bc9e507b63923a52e1a940fd29e85709c627a/web/installer' -O - -q | php -- --quiet --install-dir='./bin/' --filename='composer'
vendor/bin/phpcs: bin/composer
bin/composer install --prefer-dist --no-progress
+80 -77
View File
@@ -1,79 +1,82 @@
{
"name": "freshrss.org/freshrss-extensions",
"description": "Extensions for FreshRSS",
"type": "project",
"homepage": "https://freshrss.org/",
"license": "AGPL-3.0",
"support": {
"docs": "https://freshrss.github.io/FreshRSS/",
"issues": "https://github.com/FreshRSS/Extensions/issues",
"source": "https://github.com/FreshRSS/Extensions/"
},
"keywords": [
"news",
"aggregator",
"RSS",
"Atom",
"WebSub"
],
"require": {
"php": ">=8.1",
"ext-ctype": "*",
"ext-curl": "*",
"ext-dom": "*",
"ext-fileinfo": "*",
"ext-gmp": "*",
"ext-intl": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-pcre": "*",
"ext-pdo": "*",
"ext-pdo_sqlite": "*",
"ext-session": "*",
"ext-simplexml": "*",
"ext-xml": "*",
"ext-xmlreader": "*",
"ext-zend-opcache": "*",
"ext-zip": "*",
"ext-zlib": "*"
},
"suggest": {
"ext-iconv": "*",
"ext-pdo_mysql": "*",
"ext-pdo_pgsql": "*"
},
"require-dev": {
"php": ">=8.1",
"ext-phar": "*",
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
"phpstan/phpstan": "^2",
"phpstan/phpstan-deprecation-rules": "^2",
"phpstan/phpstan-strict-rules": "^2",
"squizlabs/php_codesniffer": "^4"
},
"scripts": {
"php-lint": "find . -type d -name 'vendor' -prune -o -name '*.php' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null",
"phtml-lint": "find . -type d -name 'vendor' -prune -o -name '*.phtml' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null",
"phpcs": "phpcs . -s",
"phpcbf": "phpcbf . -p -s",
"phpstan": "phpstan analyse .",
"phpstan-third-party": "phpstan analyse -c phpstan-third-party.neon .",
"test": [
"@php-lint",
"@phtml-lint",
"@phpcs",
"@phpstan"
],
"fix": [
"@phpcbf"
]
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": false
}
}
"name": "freshrss.org/freshrss-extensions",
"description": "Extensions for FreshRSS",
"type": "project",
"homepage": "https://freshrss.org/",
"license": "AGPL-3.0",
"support": {
"docs": "https://freshrss.github.io/FreshRSS/",
"issues": "https://github.com/FreshRSS/Extensions/issues",
"source": "https://github.com/FreshRSS/Extensions/"
},
"keywords": [
"news",
"aggregator",
"RSS",
"Atom",
"WebSub"
],
"require": {
"php": ">=8.1",
"ext-ctype": "*",
"ext-curl": "*",
"ext-dom": "*",
"ext-fileinfo": "*",
"ext-gmp": "*",
"ext-intl": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-pcre": "*",
"ext-pdo": "*",
"ext-pdo_sqlite": "*",
"ext-session": "*",
"ext-simplexml": "*",
"ext-xml": "*",
"ext-xmlreader": "*",
"ext-zend-opcache": "*",
"ext-zip": "*",
"ext-zlib": "*"
},
"suggest": {
"ext-iconv": "*",
"ext-pdo_mysql": "*",
"ext-pdo_pgsql": "*"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": false
},
"platform": {
"php": "8.1"
}
},
"require-dev": {
"php": ">=8.1",
"ext-phar": "*",
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
"phpstan/phpstan": "^2",
"phpstan/phpstan-deprecation-rules": "^2",
"phpstan/phpstan-strict-rules": "^2",
"squizlabs/php_codesniffer": "^4"
},
"scripts": {
"php-lint": "find . -type d -name 'vendor' -prune -o -name '*.php' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null",
"phtml-lint": "find . -type d -name 'vendor' -prune -o -name '*.phtml' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null",
"phpcs": "phpcs . -s",
"phpcbf": "phpcbf . -p -s",
"phpstan": "phpstan analyse .",
"phpstan-third-party": "phpstan analyse -c phpstan-third-party.neon .",
"test": [
"@php-lint",
"@phtml-lint",
"@phpcs",
"@phpstan"
],
"fix": [
"@phpcbf"
]
}
}
Generated
+4 -1
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d60832133308ce3cd2a2b8aa700716f3",
"content-hash": "e6da9a0ef90cbe93c06f11c3e3b66cde",
"packages": [],
"packages-dev": [
{
@@ -275,5 +275,8 @@
"ext-tokenizer": "*",
"ext-xmlwriter": "*"
},
"platform-overrides": {
"php": "8.1"
},
"plugin-api-version": "2.9.0"
}