Skip to content

Commit

Permalink
chore: Add composer scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr committed Sep 15, 2024
1 parent 792e8c4 commit a96f868
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,14 @@
"OCA\\Notes\\Tests\\API\\": "tests/api/"
}
},
"prefer-stable": true
"prefer-stable": true,
"scripts": {
"test": [
"@test:unit"
],
"test:unit": "./vendor/bin/phpunit -c tests/unit/phpunit.xml",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix"
}
}

0 comments on commit a96f868

Please sign in to comment.