Skip to content

Commit

Permalink
Separate context of vendor folder and update PHPUnit package
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos committed May 15, 2023
1 parent 96fac10 commit 6873301
Show file tree
Hide file tree
Showing 15 changed files with 4,033 additions and 3,856 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/vendor/
/vendor-bin/*/vendor
/.php-cs-fixer.cache

node_modules/
Expand Down
21 changes: 16 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,29 @@
"classmap-authoritative": true,
"platform": {
"php": "8.0"
},
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml"

"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml",
"post-install-cmd": [
"@composer bin all install --ansi",
"composer dump-autoload"
],
"post-update-cmd": [
"@composer bin all update --ansi",
"composer dump-autoload"
]
},
"require": {
"bamarni/composer-bin-plugin": "^1.8"
},
"require-dev": {
"christophwurst/nextcloud_testing": "^0.12.4",
"nextcloud/coding-standard": "^1.0.0",
"phpunit/phpunit": "^9.5"
"nextcloud/ocp": "^25.0"
}
}
Loading

0 comments on commit 6873301

Please sign in to comment.