Skip to content

Commit 477cf26

Browse files
committed
fix(composer.json): Remove bamarni bin plugin
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent e698e0a commit 477cf26

1 file changed

Lines changed: 17 additions & 13 deletions

File tree

composer.json

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"ext-pdo": "*",
66
"rubix/ml": "2.x",
77
"amphp/parallel": "1.4.x",
8-
"wamania/php-stemmer": "4.0 as 3.0",
9-
"bamarni/composer-bin-plugin": "1.8.x"
8+
"wamania/php-stemmer": "4.0 as 3.0"
109
},
1110
"autoload": {
1211
"psr-4": {
@@ -15,20 +14,26 @@
1514
},
1615
"scripts": {
1716
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
18-
"cs:check": "php-cs-fixer fix --dry-run --diff",
19-
"cs:fix": "php-cs-fixer fix",
20-
"psalm": "psalm",
21-
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
22-
"psalm:update-baseline:force": "psalm --threads=1 --update-baseline --set-baseline=psalm-baseline.xml",
23-
"test:unit": "phpunit --config tests/phpunit.xml",
17+
"cs:check": "vendor-bin/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff",
18+
"cs:fix": "vendor-bin/php-cs-fixer/vendor/bin/php-cs-fixer fix",
19+
"psalm": "vendor-bin/psalm/vendor/bin/psalm",
20+
"psalm:update-baseline": "vendor-bin/psalm/vendor/bin/psalm --threads=1 --update-baseline",
21+
"psalm:update-baseline:force": "vendor-bin/psalm/vendor/bin/psalm --threads=1 --update-baseline --set-baseline=psalm-baseline.xml",
22+
"test:unit": "vendor-bin/phpunit/vendor/bin/phpunit --config tests/phpunit.xml",
2423
"post-install-cmd": [
25-
"@composer bin all install --ansi",
26-
"grep -r 'OCA\\\\Recognize\\\\Vendor\\\\Rubix' ./vendor/rubix/ml/ || (vendor/bin/php-scoper add-prefix --prefix='OCA\\Recognize\\Vendor' --output-dir=\"/tmp/scoped-vendor\" --working-dir=\"./vendor/\" -f --config=\"../scoper.inc.php\" && cp -rf /tmp/scoped-vendor/* ./vendor/ && rm -rf /tmp/scoped-vendor)",
24+
"composer install --working-dir=vendor-bin/php-cs-fixer --ansi --no-interaction",
25+
"composer install --working-dir=vendor-bin/php-scoper --ansi --no-interaction",
26+
"composer install --working-dir=vendor-bin/phpunit --ansi --no-interaction",
27+
"composer install --working-dir=vendor-bin/psalm --ansi --no-interaction",
28+
"grep -r 'OCA\\\\Recognize\\\\Vendor\\\\Rubix' ./vendor/rubix/ml/ || (vendor-bin/php-scoper/vendor/bin/php-scoper add-prefix --prefix='OCA\\Recognize\\Vendor' --output-dir=\"/tmp/scoped-vendor\" --working-dir=\"./vendor/\" -f --config=\"../scoper.inc.php\" && cp -rf /tmp/scoped-vendor/* ./vendor/ && rm -rf /tmp/scoped-vendor)",
2729
"composer dump-autoload"
2830
],
2931
"post-update-cmd": [
30-
"@composer bin all install --ansi",
31-
"grep -r 'OCA\\\\Recognize\\\\Vendor\\\\Rubix' ./vendor/rubix/ml/ || (vendor/bin/php-scoper add-prefix --prefix='OCA\\Recognize\\Vendor' --output-dir=\"/tmp/scoped-vendor\" --working-dir=\"./vendor/\" -f --config=\"../scoper.inc.php\" && cp -rf /tmp/scoped-vendor/* ./vendor/ && rm -rf /tmp/scoped-vendor)",
32+
"composer install --working-dir=vendor-bin/php-cs-fixer --ansi --no-interaction",
33+
"composer install --working-dir=vendor-bin/php-scoper --ansi --no-interaction",
34+
"composer install --working-dir=vendor-bin/phpunit --ansi --no-interaction",
35+
"composer install --working-dir=vendor-bin/psalm --ansi --no-interaction",
36+
"grep -r 'OCA\\\\Recognize\\\\Vendor\\\\Rubix' ./vendor/rubix/ml/ || (vendor-bin/php-scoper/vendor/bin/php-scoper add-prefix --prefix='OCA\\Recognize\\Vendor' --output-dir=\"/tmp/scoped-vendor\" --working-dir=\"./vendor/\" -f --config=\"../scoper.inc.php\" && cp -rf /tmp/scoped-vendor/* ./vendor/ && rm -rf /tmp/scoped-vendor)",
3237
"composer dump-autoload"
3338
]
3439
},
@@ -37,7 +42,6 @@
3742
"php": "8.2.0"
3843
},
3944
"allow-plugins": {
40-
"bamarni/composer-bin-plugin": true,
4145
"composer/package-versions-deprecated": true
4246
},
4347
"autoloader-suffix": "Recognize",

0 commit comments

Comments
 (0)