Merge pull request #314 from nextcloud/techdebt/noid/fix-php-requirements-and-phpunit
Fix php requirements and phpunit
This commit is contained in:
commit
f5047b9fd8
|
|
@ -1,9 +1,27 @@
|
|||
{
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"OCP\\": "vendor/christophwurst/nextcloud/OCP",
|
||||
"OCA\\Registration\\": "lib/"
|
||||
}
|
||||
},
|
||||
"name": "nextcloud/registration",
|
||||
"description": "registration",
|
||||
"license": "AGPL",
|
||||
"require": {
|
||||
},
|
||||
"scripts": {
|
||||
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
||||
"cs:fix": "php-cs-fixer fix",
|
||||
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l"
|
||||
},
|
||||
"config": {
|
||||
"optimize-autoloader": true,
|
||||
"classmap-authoritative": true,
|
||||
"platform": {
|
||||
"php": "7.2"
|
||||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^8.0",
|
||||
"nextcloud/coding-standard": "^0.5.0",
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
verbose="true"
|
||||
>
|
||||
<testsuite name='Registration app tests'>
|
||||
<directory suffix='Test.php'>Integration</directory>
|
||||
<directory suffix='Test.php'>Unit</directory>
|
||||
</testsuite>
|
||||
<!-- filters for code coverage -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue