mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-08-02 04:04:51 +02:00
psalm fixes
This commit is contained in:
parent
07b1776db6
commit
add1aa4e7d
3 changed files with 9 additions and 4 deletions
|
|
@ -9,15 +9,15 @@
|
|||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.3 || >=8.0",
|
||||
"php": ">=8.2",
|
||||
"sabre/dav": "^4.0.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"php-parallel-lint/php-parallel-lint": "^1.0",
|
||||
"friendsofphp/php-cs-fixer": "^2",
|
||||
"phpstan/phpstan": "^2.2",
|
||||
"psalm/phar": "^4.3",
|
||||
"phpunit/phpunit": "^8"
|
||||
"psalm/phar": "^6.16.1",
|
||||
"phpunit/phpunit": "^11"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="https://getpsalm.org/schema/config"
|
||||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
||||
ensureOverrideAttribute="false"
|
||||
findUnusedCode="false"
|
||||
>
|
||||
<projectFiles>
|
||||
<directory name="src" />
|
||||
|
|
|
|||
|
|
@ -34,7 +34,10 @@ use function Sabre\Xml\Deserializer\keyValue;
|
|||
use function Sabre\Xml\Deserializer\repeatingElements;
|
||||
|
||||
class QueryParser extends Service {
|
||||
/** @var array<string, string> */
|
||||
/**
|
||||
* @psalm-suppress NonInvariantDocblockPropertyType
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $namespaceMap = [
|
||||
'DAV:' => 'd',
|
||||
'http://sabredav.org/ns' => 's',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue