nextcloud/psalm-strict.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!--
- SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<psalm
errorLevel="1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config"
resolveFromConfigFile="false"
findUnusedBaselineEntry="true"
findUnusedCode="false"
findUnusedPsalmSuppress="true"
findUnusedVariablesAndParams="true"
phpVersion="8.2"
>
<projectFiles>
<file name="core/BackgroundJobs/ExpirePreviewsJob.php"/>
<file name="lib/public/IContainer.php"/>
<file name="apps/dav/lib/Connector/Sabre/Node.php"/>
<ignoreFiles>
<directory name="apps/**/composer"/>
<directory name="apps/**/tests"/>
<directory name="lib/composer"/>
<directory name="lib/l10n"/>
<directory name="3rdparty"/>
</ignoreFiles>
</projectFiles>
<extraFiles>
<directory name="apps/dav/lib"/>
<directory name="3rdparty"/>
</extraFiles>
<stubs>
<!-- Psalm does not find methods in here through <extraFiles/> 🤷‍♀️ -->
<file name="3rdparty/sabre/uri/lib/functions.php"/>
</stubs>
<issueHandlers>
<InternalClass>
<errorLevel type="suppress">
<directory name="."/>
</errorLevel>
</InternalClass>
<InternalMethod>
<errorLevel type="suppress">
<directory name="."/>
</errorLevel>
</InternalMethod>
<InternalProperty>
<errorLevel type="suppress">
<directory name="."/>
</errorLevel>
</InternalProperty>
</issueHandlers>
</psalm>