Skip to content

Commit

Permalink
chore: Use composer-bin-plugin to manage dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
artonge committed Sep 14, 2024
1 parent 9adcaa9 commit 6a338de
Show file tree
Hide file tree
Showing 6 changed files with 338 additions and 314 deletions.
19 changes: 7 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
"bamarni/composer-bin-plugin": true
}
},
"autoload-dev": {
"autoload": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP",
"OCA\\Activity\\": "lib/"
"OCA\\Activity\\": "./lib/"
}
},
"scripts": {
Expand All @@ -29,24 +28,20 @@
"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",
"post-install-cmd": [
"@composer bin all install --ansi"
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
]
},
"require-dev": {
"nextcloud/ocp": "dev-master",
"phpunit/phpunit": "^9.5",
"psalm/phar": "^5.15"
"bamarni/composer-bin-plugin": "^1.8",
"phpunit/phpunit": "^9.5"
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": false
}
},
"require": {
"bamarni/composer-bin-plugin": "^1.8"
}
}
}
294 changes: 5 additions & 289 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6a338de

Please sign in to comment.