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": {
|
"scripts": {
|
||||||
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
||||||
"cs:fix": "php-cs-fixer fix",
|
"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"
|
"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": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^8.0",
|
"phpunit/phpunit": "^8.0",
|
||||||
"nextcloud/coding-standard": "^0.5.0",
|
"nextcloud/coding-standard": "^0.5.0",
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
verbose="true"
|
verbose="true"
|
||||||
>
|
>
|
||||||
<testsuite name='Registration app tests'>
|
<testsuite name='Registration app tests'>
|
||||||
<directory suffix='Test.php'>Integration</directory>
|
|
||||||
<directory suffix='Test.php'>Unit</directory>
|
<directory suffix='Test.php'>Unit</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<!-- filters for code coverage -->
|
<!-- filters for code coverage -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue