Skip to content

Commit

Permalink
chore(CI): Update tooling
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Mar 29, 2024
1 parent f9b8c1f commit a3b28f2
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 30 deletions.
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm.phar --threads=1",
"psalm:dev": "psalm.phar --no-cache --threads=$(nproc)",
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
"psalm:clear": "psalm.phar --clear-cache && psalm.phar --clear-global-cache",
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml"
},
"require-dev": {
"nextcloud/coding-standard": "^1.1.1",
"nextcloud/ocp": "dev-stable26",
"nextcloud/coding-standard": "^1.2",
"nextcloud/ocp": "dev-stable27",
"phpunit/phpunit": "^9.6",
"psalm/phar": "^5.16.0"
"psalm/phar": "^5.23"
}
}
98 changes: 76 additions & 22 deletions composer.lock

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

10 changes: 5 additions & 5 deletions tests/psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.16.0@2897ba636551a8cb61601cc26f6ccfbba6c36591">
<files psalm-version="5.23.1@8471a896ccea3526b26d082f4461eeea467f10a4">
<file src="lib/CheckQuota.php">
<UndefinedClass>
<code>\OC_Util</code>
<code><![CDATA[\OC_Util]]></code>
</UndefinedClass>
<UndefinedInterfaceMethod>
<code>setHtmlBody</code>
<code>setPlainBody</code>
<code>setSubject</code>
<code><![CDATA[setHtmlBody]]></code>
<code><![CDATA[setPlainBody]]></code>
<code><![CDATA[setSubject]]></code>
</UndefinedInterfaceMethod>
</file>
</files>

0 comments on commit a3b28f2

Please sign in to comment.