Skip to content

Commit

Permalink
Fix: Regenerate baseline for vimeo/psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored and sebastianbergmann committed May 27, 2023
1 parent 2479058 commit eaf4d96
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .psalm/baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$expectedElement->childNodes->item($i),
$actualElement->childNodes->item($i),
$checkAttributes,
$message
$message,
)]]></code>
</DeprecatedMethod>
<DocblockTypeContradiction>
Expand Down Expand Up @@ -161,22 +161,22 @@
<code>new IsType(IsType::TYPE_STRING)</code>
<code>new TraversableContainsOnly(
$type,
$isNativeType
$isNativeType,
)</code>
<code>new TraversableContainsOnly(
$className,
false
false,
)</code>
<code>new TraversableContainsOnly(
$type,
$isNativeType
$isNativeType,
)</code>
<code>new TraversableContainsOnly($className, false)</code>
<code>new TraversableContainsOnly($type)</code>
<code>static::assertThat(
$actual,
static::objectEquals($expected, $method),
$message
$message,
)</code>
<code>static::assertThat($haystack, $constraint, $message)</code>
<code>static::assertThat($haystack, $constraint, $message)</code>
Expand Down Expand Up @@ -408,7 +408,7 @@
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
</file>
Expand All @@ -420,7 +420,7 @@
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
</file>
Expand Down Expand Up @@ -573,7 +573,7 @@
$callOriginalConstructor,
$callOriginalClone,
$callAutoload,
$cloneArguments
$cloneArguments,
)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
Expand Down Expand Up @@ -668,11 +668,11 @@
substr(
substr(
$parameterAsString,
strpos($parameterAsString, '<optional> ') + strlen('<optional> ')
strpos($parameterAsString, '<optional> ') + strlen('<optional> '),
),
0,
-2
)
-2,
),
)[1]]]></code>
<code>(string) var_export($defaultValue, true)</code>
</RedundantCastGivenDocblockType>
Expand Down Expand Up @@ -777,7 +777,7 @@
<code>Filter::getFilteredStacktrace($t)</code>
<code>Filter::getFilteredStacktrace($t)</code>
<code><![CDATA[new DataProviderTestSuite(
$className . '::' . $methodName
$className . '::' . $methodName,
)]]></code>
<code><![CDATA[throw new Exception('No valid test provided.');]]></code>
</MissingThrowsDocblock>
Expand Down Expand Up @@ -831,7 +831,7 @@
<MissingThrowsDocblock>
<code><![CDATA[TestUtil::getMissingRequirements(
static::class,
$this->name
$this->name,
)]]></code>
<code>cacheDirectory</code>
<code>endTest</code>
Expand Down Expand Up @@ -917,20 +917,20 @@
<code>getObjectForTrait</code>
<code>new Differ($header)</code>
<code><![CDATA[new Template(
__DIR__ . '/../Util/PHP/Template/TestCaseClass.tpl'
__DIR__ . '/../Util/PHP/Template/TestCaseClass.tpl',
)]]></code>
<code><![CDATA[new Template(
__DIR__ . '/../Util/PHP/Template/TestCaseMethod.tpl'
__DIR__ . '/../Util/PHP/Template/TestCaseMethod.tpl',
)]]></code>
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
<code><![CDATA[throw new Exception('This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".');]]></code>
</MissingThrowsDocblock>
Expand Down Expand Up @@ -1008,12 +1008,12 @@
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
<PossiblyInvalidArgument>
Expand Down Expand Up @@ -1067,7 +1067,7 @@
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
<PropertyNotSetInConstructor>
Expand Down Expand Up @@ -1150,7 +1150,7 @@
<MissingThrowsDocblock>
<code>cacheDirectory</code>
<code><![CDATA[new Template(
__DIR__ . '/../Util/PHP/Template/PhptTestCase.tpl'
__DIR__ . '/../Util/PHP/Template/PhptTestCase.tpl',
)]]></code>
<code>stop</code>
</MissingThrowsDocblock>
Expand Down Expand Up @@ -1194,7 +1194,7 @@
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
</file>
Expand Down Expand Up @@ -1247,12 +1247,12 @@
<code><![CDATA[throw new ReflectionException(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
<code><![CDATA[throw new ReflectionException(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
<code>unrecognizedOrderBy</code>
</MissingThrowsDocblock>
Expand Down Expand Up @@ -1335,7 +1335,7 @@
$arguments['colors'],
$arguments['debug'],
$arguments['columns'],
$arguments['reverseList']
$arguments['reverseList'],
)]]></code>
</InvalidStringClass>
<MissingThrowsDocblock>
Expand Down Expand Up @@ -1578,7 +1578,7 @@
array_filter([
'setting' => $recordedSettings,
'extension_versions' => $extensionVersions,
])
]),
)]]></code>
</InvalidPropertyAssignmentValue>
<InvalidReturnStatement>
Expand All @@ -1588,7 +1588,7 @@
array_filter([
'setting' => $recordedSettings,
'extension_versions' => $extensionVersions,
])
]),
)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
Expand Down Expand Up @@ -1628,8 +1628,8 @@
<code><![CDATA[throw new Exception(
sprintf(
'"%s" is not a directory',
$directory
)
$directory,
),
);]]></code>
</MissingThrowsDocblock>
</file>
Expand Down Expand Up @@ -1668,12 +1668,12 @@
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
<PossiblyNullPropertyAssignmentValue>
Expand Down Expand Up @@ -1706,7 +1706,7 @@
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
<PropertyNotSetInConstructor>
Expand Down Expand Up @@ -1844,7 +1844,7 @@
<code><![CDATA[throw new UtilException(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
<RedundantConditionGivenDocblockType>
Expand Down Expand Up @@ -1894,7 +1894,7 @@
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
</file>
Expand Down Expand Up @@ -1925,7 +1925,7 @@
<code><![CDATA[throw new Exception(
$e->getMessage(),
$e->getCode(),
$e
$e,
);]]></code>
</MissingThrowsDocblock>
<MoreSpecificReturnType>
Expand Down

0 comments on commit eaf4d96

Please sign in to comment.