Skip to content

Commit

Permalink
chore: move tools to vendor-bin folder
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Sep 20, 2024
1 parent 4e599a4 commit 971159a
Show file tree
Hide file tree
Showing 8 changed files with 2,398 additions and 2,156 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 './vendor/autoload.php';
require_once './vendor-bin/cs-fixer/vendor/autoload.php';

use Nextcloud\CodingStandard\Config;

Expand Down
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
"name": "nextcloud/ldap_write_support",
"type": "project",
"require-dev": {
"nextcloud/coding-standard": "^1.1",
"nextcloud/ocp": "dev-master",
"vimeo/psalm": "^5.13",
"bamarni/composer-bin-plugin": "^1.8"
},
"scripts": {
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
],
"post-update-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
],
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './node_modules/*' -print0 | xargs -0 -n1 php -l",
Expand All @@ -25,7 +29,7 @@
],
"config": {
"platform": {
"php": "8.0.2"
"php": "8.1"
},
"allow-plugins": {
"bamarni/composer-bin-plugin": true
Expand Down
Loading

0 comments on commit 971159a

Please sign in to comment.