summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
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
+ }
}
}