summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-12-13 13:42:35 +0100
committerRemi Collet <remi@php.net>2021-12-13 13:42:35 +0100
commit3cb61b9dd23cb72d9dd23b173eec718a0b13dbe5 (patch)
tree5dde8416eca467eae2a116c7a7b0c5a4840c97fa /composer.json
parentd4f2ae995e46a97d746cd4b45a795841797f6b18 (diff)
use all PHP bundled libraries instead of system ones
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json36
1 files changed, 22 insertions, 14 deletions
diff --git a/composer.json b/composer.json
index 0d87468..474d0a3 100644
--- a/composer.json
+++ b/composer.json
@@ -4,23 +4,21 @@
"keywords": ["compatibility", "version"],
"type": "library",
"license": "BSD-3-Clause",
- "homepage": "http://php5.laurent-laville.org/compatinfo/",
+ "homepage": "https://github.com/llaville/php-compatinfo",
"support": {
- "source": "https://github.com/llaville/php-compat-info",
- "issues": "https://github.com/llaville/php-compat-info/issues"
+ "source": "https://github.com/llaville/php-compatinfo",
+ "issues": "https://github.com/llaville/php-compatinfo/issues"
},
"require": {
- "php": "^7.2|^8.0",
+ "php": "^7.4|^8.0",
+ "ext-json": "*",
"ext-libxml": "*",
"ext-pcre": "*",
"ext-spl": "*",
- "ext-json": "*",
- "ext-pdo": "*",
- "ext-pdo_sqlite": "*",
- "bartlett/php-reflect": "^4.4",
"bartlett/php-compatinfo-db": "^3.6",
- "doctrine/collections": "^1.4",
"composer/package-versions-deprecated": "^1.8",
+ "doctrine/collections": "^1.4",
+ "nikic/php-parser": "^4.10",
"psr/log": "^1.0",
"ramsey/uuid": "^3.9|^4.0",
"symfony/config": "^4.4|^5.0",
@@ -31,10 +29,13 @@
"symfony/serializer": "^4.4|^5.0",
"symfony/stopwatch": "^4.4|^5.0"
},
+ "require-dev": {
+ "composer/composer": "^2.0",
+ "symfony/phpunit-bridge": "^5.1"
+ },
"authors": [
{
"name": "Laurent Laville",
- "email": "pear@laurent-laville.org",
"homepage": "https://github.com/llaville",
"role": "Lead"
},
@@ -49,12 +50,13 @@
],
"autoload": {
"psr-4": {
- "Bartlett\\": "src/Bartlett"
- }
+ "Bartlett\\CompatInfo\\": "src/"
+ },
+ "files": ["src/Infrastructure/Framework/Symfony/Polyfill.php"]
},
"autoload-dev": {
"psr-4": {
- "Bartlett\\Tests\\CompatInfo\\": "tests/"
+ "Bartlett\\CompatInfo\\Tests\\": "tests/"
}
},
"scripts": {
@@ -63,11 +65,13 @@
"export DATABASE_URL=sqlite:///${HOME}/.cache/bartlett/compatinfo-db.sqlite"
],
"post-install-cmd": [
+ "Bartlett\\CompatInfo\\ComposerScripts::preparePharMetadata",
"@setup-database",
"vendor/bin/doctrine orm:schema-tool:create",
"vendor/bartlett/php-compatinfo-db/bin/compatinfo-db db:init"
],
"post-update-cmd": [
+ "Bartlett\\CompatInfo\\ComposerScripts::preparePharMetadata",
"@setup-database"
]
},
@@ -77,6 +81,10 @@
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
- "optimize-autoloader": true
+ "sort-packages": true,
+ "optimize-autoloader": true,
+ "allow-plugins": {
+ "composer/package-versions-deprecated": true
+ }
}
}