mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 05:17:47 +01:00
Fix build
This commit is contained in:
parent
09ea7ba7a8
commit
72c50be4b0
@ -1,5 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<psalm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" name="Psalm for Psalm" useDocblockTypes="true" totallyTyped="true" strictBinaryOperands="false" rememberPropertyAssignmentsAfterCall="true" checkForThrowsDocblock="false" throwExceptionOnError="0" xsi:schemaLocation="https://getpsalm.org/schema/config config.xsd">
|
||||
<psalm
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="https://getpsalm.org/schema/config"
|
||||
name="Psalm for Psalm"
|
||||
useDocblockTypes="true"
|
||||
totallyTyped="true"
|
||||
strictBinaryOperands="false"
|
||||
rememberPropertyAssignmentsAfterCall="true"
|
||||
checkForThrowsDocblock="false"
|
||||
throwExceptionOnError="0"
|
||||
xsi:schemaLocation="https://getpsalm.org/schema/config config.xsd"
|
||||
>
|
||||
<projectFiles>
|
||||
<directory name="src"/>
|
||||
<directory name="tests"/>
|
||||
|
@ -932,6 +932,7 @@ class ArrayAssignmentTest extends TestCase
|
||||
/**
|
||||
* @psalm-suppress EmptyArrayAccess
|
||||
* @psalm-suppress InvalidOperand
|
||||
* @psalm-suppress MixedOperand
|
||||
*/
|
||||
$a[$key] += 5;
|
||||
}
|
||||
|
@ -66,6 +66,13 @@ class TypeCombinationTest extends TestCase
|
||||
'null',
|
||||
],
|
||||
],
|
||||
'mixedOrEmpty' => [
|
||||
'mixed',
|
||||
[
|
||||
'empty',
|
||||
'mixed',
|
||||
],
|
||||
],
|
||||
'mixedOrObject' => [
|
||||
'mixed|object',
|
||||
[
|
||||
|
Loading…
x
Reference in New Issue
Block a user