|
5 | 5 | "ext-pdo": "*", |
6 | 6 | "rubix/ml": "2.x", |
7 | 7 | "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" |
10 | 9 | }, |
11 | 10 | "autoload": { |
12 | 11 | "psr-4": { |
|
15 | 14 | }, |
16 | 15 | "scripts": { |
17 | 16 | "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", |
24 | 23 | "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)", |
27 | 29 | "composer dump-autoload" |
28 | 30 | ], |
29 | 31 | "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)", |
32 | 37 | "composer dump-autoload" |
33 | 38 | ] |
34 | 39 | }, |
|
37 | 42 | "php": "8.2.0" |
38 | 43 | }, |
39 | 44 | "allow-plugins": { |
40 | | - "bamarni/composer-bin-plugin": true, |
41 | 45 | "composer/package-versions-deprecated": true |
42 | 46 | }, |
43 | 47 | "autoloader-suffix": "Recognize", |
|
0 commit comments