summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-09-19 06:37:53 +0200
committerjld3103 <jld3103yt@gmail.com>2023-09-19 08:52:46 +0200
commit2ba8a891a3a1231e541973c37a96840dd969b054 (patch)
tree5a319f12b9f1584d5a854cfdb0c32886988d6065
parent2c336fc33726ed5396fdae8856f7e526d497297e (diff)
Install composer-bin-plugin
Signed-off-by: jld3103 <jld3103yt@gmail.com>
-rw-r--r--.gitignore3
-rw-r--r--composer.json14
-rw-r--r--composer.lock59
3 files changed, 72 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 155c2f8d7..12400b6c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
composer.phar
node_modules/
vendor/
+vendor-bin/*/vendor
js/build
*.log
/build/
@@ -72,4 +73,4 @@ nbproject
*.iml
# VS Code
-.vscode \ No newline at end of file
+.vscode
diff --git a/composer.json b/composer.json
index 5d333a7e8..5d672b219 100644
--- a/composer.json
+++ b/composer.json
@@ -66,7 +66,8 @@
"doctrine/dbal": "^3.6.6",
"symfony/console": "^4.4.19",
"psr/log": "^1.1.0",
- "vimeo/psalm": "^5.15"
+ "vimeo/psalm": "^5.15",
+ "bamarni/composer-bin-plugin": "^1.8"
},
"replace": {
"guzzlehttp/guzzle": "*",
@@ -86,10 +87,19 @@
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
- "phpstan/extension-installer": true
+ "phpstan/extension-installer": true,
+ "bamarni/composer-bin-plugin": true
}
},
"scripts": {
+ "post-install-cmd": [
+ "[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install",
+ "composer dump-autoload"
+ ],
+ "post-update-cmd": [
+ "[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi",
+ "composer dump-autoload"
+ ],
"psalm": "psalm --threads=1",
"psalm:update-baseline": "psalm --threads=1 --update-baseline --set-baseline=psalm-baseline.xml"
}
diff --git a/composer.lock b/composer.lock
index c79947f67..076271a89 100644
--- a/composer.lock
+++ b/composer.lock
@@ -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": "5ab73108884d31fb6c826dbe01f650a0",
+ "content-hash": "5dd3624215b6e9c4d71c34b9dcd0629c",
"packages": [
{
"name": "arthurhoaro/favicon",
@@ -838,6 +838,63 @@
"time": "2021-03-30T17:13:30+00:00"
},
{
+ "name": "bamarni/composer-bin-plugin",
+ "version": "1.8.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/bamarni/composer-bin-plugin.git",
+ "reference": "92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/bamarni/composer-bin-plugin/zipball/92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880",
+ "reference": "92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880",
+ "shasum": ""
+ },
+ "require": {
+ "composer-plugin-api": "^2.0",
+ "php": "^7.2.5 || ^8.0"
+ },
+ "require-dev": {
+ "composer/composer": "^2.0",
+ "ext-json": "*",
+ "phpstan/extension-installer": "^1.1",
+ "phpstan/phpstan": "^1.8",
+ "phpstan/phpstan-phpunit": "^1.1",
+ "phpunit/phpunit": "^8.5 || ^9.5",
+ "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
+ "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
+ "symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0"
+ },
+ "type": "composer-plugin",
+ "extra": {
+ "class": "Bamarni\\Composer\\Bin\\BamarniBinPlugin"
+ },
+ "autoload": {
+ "psr-4": {
+ "Bamarni\\Composer\\Bin\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "No conflicts for your bin dependencies",
+ "keywords": [
+ "composer",
+ "conflict",
+ "dependency",
+ "executable",
+ "isolation",
+ "tool"
+ ],
+ "support": {
+ "issues": "https://github.com/bamarni/composer-bin-plugin/issues",
+ "source": "https://github.com/bamarni/composer-bin-plugin/tree/1.8.2"
+ },
+ "time": "2022-10-31T08:38:03+00:00"
+ },
+ {
"name": "composer/pcre",
"version": "3.1.0",
"source": {