Skip to content

Commit

Permalink
ci: Migrate to vendor-bin
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Oct 1, 2024
1 parent 8039ff6 commit bb0e977
Show file tree
Hide file tree
Showing 13 changed files with 4,213 additions and 3,825 deletions.
20 changes: 7 additions & 13 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
version: 2
updates:
- package-ecosystem: composer
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
labels:
- 3. to review
- dependencies
- package-ecosystem: composer
directory: "/tests/Integration"
directories:
- "/"
- "/tests/Integration"
- "/vendor-bin/csfixer"
- "/vendor-bin/mozart"
- "/vendor-bin/phpunit"
- "/vendor-bin/psalm"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
labels:
- 3. to review
- dependencies
Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

require_once './vendor/autoload.php';
require_once './vendor-bin/csfixer/vendor/autoload.php';

use Nextcloud\CodingStandard\Config;

Expand Down
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"license": "AGPL",
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"nextcloud/coding-standard": "^1.2",
"nextcloud/ocp": "dev-master",
"phpunit/phpunit": "^9.6",
"vimeo/psalm": "^5.14"
"nextcloud/ocp": "dev-master"
},
"config": {
"optimize-autoloader": true,
Expand Down Expand Up @@ -43,7 +40,7 @@
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "vendor/bin/phpunit --color -c tests/Unit/phpunit.xml",
"test:unit": "phpunit --color -c tests/Unit/phpunit.xml",
"test:integration": "cd tests/Integration && ./run.sh"
}
}
Loading

0 comments on commit bb0e977

Please sign in to comment.