mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-24 15:49:20 +00:00
fd902b4b7c
* Add shims for PHPUnit * Fix PHPUnit error: undefined method returnValue() 1) CurlTest\PHPCurlClassTest::testMock Error: Call to undefined method CurlTest\PHPCurlClassTest::returnValue() * Fix PHPUnit risky test by restoring error handler before exception thrown There was 1 risky test: 1) CurlTest\PHPCurlClassTest::testRequiredOptionCurlOptReturnTransferEmitsWarningPHPUnit10Plus Test code or tested code did not remove its own error handlers * Fix psalm errors * Add attributes for version constraint * Temporarily pin psalm to fix ci
61 lines
1.9 KiB
XML
61 lines
1.9 KiB
XML
<?xml version="1.0"?>
|
|
<!-- TODO: Use errorLevel="1" -->
|
|
<psalm
|
|
ensureOverrideAttribute="false"
|
|
errorLevel="4"
|
|
resolveFromConfigFile="true"
|
|
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"
|
|
errorBaseline="psalm-baseline.xml"
|
|
>
|
|
<projectFiles>
|
|
<directory name="../src" />
|
|
<ignoreFiles>
|
|
<directory name="../vendor" />
|
|
</ignoreFiles>
|
|
</projectFiles>
|
|
<issueHandlers>
|
|
<PossiblyUnusedMethod>
|
|
<errorLevel type="suppress">
|
|
<directory name="../src/" />
|
|
</errorLevel>
|
|
</PossiblyUnusedMethod>
|
|
<PossiblyUnusedProperty>
|
|
<errorLevel type="suppress">
|
|
<directory name="../src/" />
|
|
</errorLevel>
|
|
</PossiblyUnusedProperty>
|
|
<PossiblyUnusedReturnValue>
|
|
<errorLevel type="suppress">
|
|
<directory name="../src/" />
|
|
</errorLevel>
|
|
</PossiblyUnusedReturnValue>
|
|
<UnusedClass>
|
|
<errorLevel type="suppress">
|
|
<directory name="../src/" />
|
|
</errorLevel>
|
|
</UnusedClass>
|
|
<UnusedClosureParam>
|
|
<errorLevel type="suppress">
|
|
<directory name="../src/" />
|
|
</errorLevel>
|
|
</UnusedClosureParam>
|
|
<UnusedForeachValue>
|
|
<errorLevel type="suppress">
|
|
<directory name="../src/" />
|
|
</errorLevel>
|
|
</UnusedForeachValue>
|
|
<UnusedMethod>
|
|
<errorLevel type="suppress">
|
|
<directory name="../src/" />
|
|
</errorLevel>
|
|
</UnusedMethod>
|
|
<UnusedProperty>
|
|
<errorLevel type="suppress">
|
|
<directory name="../src/" />
|
|
</errorLevel>
|
|
</UnusedProperty>
|
|
</issueHandlers>
|
|
</psalm>
|