Skip to content

Commit 38f37e3

Browse files
authored
Merge pull request #24 from nextcloud/chore/update-psalm
chore: Update psalm
2 parents 135c17c + c216a1f commit 38f37e3

File tree

8 files changed

+130
-58
lines changed

8 files changed

+130
-58
lines changed

appinfo/routes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Nextcloud - Replicate
45
*

composer.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,17 @@
1414
"test:unit": "phpunit --config tests/phpunit.xml"
1515
},
1616
"require": {
17-
"php": "^8.0"
17+
"php": "^8.1"
1818
},
1919
"require-dev": {
2020
"nextcloud/coding-standard": "^1.1",
21-
"psalm/phar": "^5.16",
21+
"psalm/phar": "6.*",
2222
"nextcloud/ocp": "dev-master",
2323
"phpunit/phpunit": "^9.5"
24+
},
25+
"config": {
26+
"platform": {
27+
"php": "8.1.0"
28+
}
2429
}
2530
}

composer.lock

Lines changed: 63 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/AppInfo/Application.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Nextcloud - Replicate
45
*

lib/Controller/ConfigController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Nextcloud - Replicate
45
*

lib/Service/ReplicateAPIService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Nextcloud - Replicate
45
*

psalm.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
findUnusedBaselineEntry="true"
66
findUnusedCode="false"
77
resolveFromConfigFile="true"
8-
phpVersion="8.0"
8+
phpVersion="8.1"
99
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xmlns="https://getpsalm.org/schema/config"
1111
xsi:schemaLocation="https://getpsalm.org/schema/config vendor-bin/psalm/vendor/vimeo/psalm/config.xsd"
@@ -46,12 +46,6 @@
4646
<referencedClass name="Doctrine\DBAL\Types\Type" />
4747
</errorLevel>
4848
</UndefinedDocblockClass>
49-
<InvalidClass>
50-
<errorLevel type="suppress">
51-
<referencedClass name="OCP\Db\Exception" />
52-
<referencedClass name="OCP\AppFramework\Db\QBMapper" />
53-
</errorLevel>
54-
</InvalidClass>
5549
</issueHandlers>
5650
<!--stubs>
5751
</stubs-->

0 commit comments

Comments
 (0)