Skip to content

Commit

Permalink
chore: move to vendor-bin
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Jan 15, 2025
1 parent ae0dd57 commit e60cd9f
Show file tree
Hide file tree
Showing 10 changed files with 4,261 additions and 3,898 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ target
.env
bin
build
vendor
composer.phar
/vendor/
/vendor-bin/*/vendor
*.cache
.direnv
result
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
require_once './vendor/autoload.php';
require_once './vendor-bin/cs-fixer/vendor/autoload.php';

use Nextcloud\CodingStandard\Config;

Expand Down
47 changes: 30 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,41 @@
{
"name": "nextcloud/text",
"type": "project",
"require-dev": {
"roave/security-advisories": "dev-master",
"php-parallel-lint/php-parallel-lint": "^1.0.0",
"phpunit/phpunit": "^9.6.13",
"nextcloud/coding-standard": "^v1.1.1",
"nextcloud/ocp": "dev-master",
"psalm/phar": "^5.26.1",
"symfony/console": "^6.4.17",
"symfony/http-foundation": "^5.4.24"
"config": {
"platform": {
"php": "8.1"
},
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"name": "nextcloud/notify_push",
"type": "project",
"license": "AGPLv3",
"authors": [
{
"name": "Julius Härtl",
"email": "[email protected]"
"name": "Robin Appelman",
"email": "[email protected]"
}
],
"require": {
"bamarni/composer-bin-plugin": "^1.8.2"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"test:unit": "phpunit -c tests/phpunit.xml",
"psalm": "psalm.phar"
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './tests/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm",
"test:unit": "phpunit --configuration phpunit.unit.xml --fail-on-warning",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
]
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": false
}
}
}
Loading

0 comments on commit e60cd9f

Please sign in to comment.