Skip to content

Commit

Permalink
Merge pull request #2629 from nextcloud/artonge/chore/use_php_bin
Browse files Browse the repository at this point in the history
chore: Use composer-bin-plugin
  • Loading branch information
artonge authored Aug 30, 2024
2 parents 72963cf + 2bcb928 commit ee66eae
Show file tree
Hide file tree
Showing 33 changed files with 3,627 additions and 3,570 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

require_once __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/vendor-bin/cs-fixer/vendor/autoload.php';

use Nextcloud\CodingStandard\Config;

Expand Down
23 changes: 13 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,23 @@
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm.phar --threads=1",
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline",
"psalm:clear": "psalm.phar --clear-cache && psalm --clear-global-cache",
"psalm:clear": "psalm.phar --clear-cache && psalm.phar --clear-global-cache",
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml --color --fail-on-warning --fail-on-risky"
"test:unit": "phpunit -c tests/phpunit.xml --color --fail-on-warning --fail-on-risky",
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
]
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"nextcloud/coding-standard": "1.2.1",
"nextcloud/ocp": "dev-master",
"phpunit/phpunit": "^9",
"psalm/phar": "^5.17",
"sabre/dav": "^4.2.1",
"symfony/console": "5.4.24"
"bamarni/composer-bin-plugin": "^1.8"
},
"require": {
"hexogen/kdtree": "^0.2.5"
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
}
}
}
Loading

0 comments on commit ee66eae

Please sign in to comment.