Skip to content

Commit

Permalink
Merge branch '8.5' into 9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 10, 2023
2 parents a6d3516 + 07d3458 commit d64ea7d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 45 deletions.
31 changes: 1 addition & 30 deletions .psalm/baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.12.0@f90118cdeacd0088e7215e64c0c99ceca819e176">
<files psalm-version="5.13.1@086b94371304750d1c673315321a55d15fc59015">
<file src="src/Framework/Assert.php">
<ArgumentTypeCoercion>
<code><![CDATA[$actualElement->childNodes->item($i)]]></code>
Expand Down Expand Up @@ -485,11 +485,6 @@
<code>DataProviderTestSuite</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Framework/ErrorTestCase.php">
<NonInvariantDocblockPropertyType>
<code>$backupGlobals</code>
</NonInvariantDocblockPropertyType>
</file>
<file src="src/Framework/Exception/Exception.php">
<MissingParamType>
<code>$code</code>
Expand Down Expand Up @@ -517,11 +512,6 @@
<code>$parts[1]</code>
</PossiblyUndefinedArrayOffset>
</file>
<file src="src/Framework/IncompleteTestCase.php">
<NonInvariantDocblockPropertyType>
<code>$backupGlobals</code>
</NonInvariantDocblockPropertyType>
</file>
<file src="src/Framework/MockObject/Builder/Identity.php">
<MissingReturnType>
<code>id</code>
Expand Down Expand Up @@ -761,11 +751,6 @@
<code>invoke</code>
</MissingReturnType>
</file>
<file src="src/Framework/SkippedTestCase.php">
<NonInvariantDocblockPropertyType>
<code>$backupGlobals</code>
</NonInvariantDocblockPropertyType>
</file>
<file src="src/Framework/TestBuilder.php">
<MissingParamType>
<code>$data</code>
Expand Down Expand Up @@ -800,11 +785,8 @@
<code><![CDATA[$this->backupStaticAttributesBlacklist]]></code>
</DeprecatedProperty>
<DocblockTypeContradiction>
<code><![CDATA[$this->backupStaticAttributes === null]]></code>
<code><![CDATA[$this->mockObjectGenerator === null]]></code>
<code><![CDATA[$this->prophet === null]]></code>
<code><![CDATA[$this->runClassInSeparateProcess === null]]></code>
<code><![CDATA[$this->runTestInSeparateProcess === null]]></code>
</DocblockTypeContradiction>
<InvalidArgument>
<code>$header</code>
Expand Down Expand Up @@ -940,17 +922,11 @@
<code>null</code>
</PossiblyNullPropertyAssignmentValue>
<PropertyNotSetInConstructor>
<code>$backupStaticAttributes</code>
<code>$mockObjectGenerator</code>
<code>$outputBufferingLevel</code>
<code>$prophet</code>
<code>$result</code>
<code>$runClassInSeparateProcess</code>
<code>$runTestInSeparateProcess</code>
</PropertyNotSetInConstructor>
<RedundantCastGivenDocblockType>
<code><![CDATA[(bool) $this->backupStaticAttributes]]></code>
</RedundantCastGivenDocblockType>
<RedundantCondition>
<code>$this instanceof PhptTestCase</code>
</RedundantCondition>
Expand Down Expand Up @@ -1089,11 +1065,6 @@
<code><![CDATA[null === $this->beStrictAboutChangesToGlobalState && is_bool($beStrictAboutChangesToGlobalState)]]></code>
</RedundantConditionGivenDocblockType>
</file>
<file src="src/Framework/WarningTestCase.php">
<NonInvariantDocblockPropertyType>
<code>$backupGlobals</code>
</NonInvariantDocblockPropertyType>
</file>
<file src="src/Runner/BaseTestRunner.php">
<DeprecatedClass>
<code>new StandardTestSuiteLoader</code>
Expand Down
6 changes: 3 additions & 3 deletions src/Framework/ErrorTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
final class ErrorTestCase extends TestCase
{
/**
* @var bool
* @var ?bool
*/
protected $backupGlobals = false;

/**
* @var bool
* @var ?bool
*/
protected $backupStaticAttributes = false;

/**
* @var bool
* @var ?bool
*/
protected $runTestInSeparateProcess = false;

Expand Down
6 changes: 3 additions & 3 deletions src/Framework/IncompleteTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
final class IncompleteTestCase extends TestCase
{
/**
* @var bool
* @var ?bool
*/
protected $backupGlobals = false;

/**
* @var bool
* @var ?bool
*/
protected $backupStaticAttributes = false;

/**
* @var bool
* @var ?bool
*/
protected $runTestInSeparateProcess = false;

Expand Down
6 changes: 3 additions & 3 deletions src/Framework/SkippedTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
final class SkippedTestCase extends TestCase
{
/**
* @var bool
* @var ?bool
*/
protected $backupGlobals = false;

/**
* @var bool
* @var ?bool
*/
protected $backupStaticAttributes = false;

/**
* @var bool
* @var ?bool
*/
protected $runTestInSeparateProcess = false;

Expand Down
6 changes: 3 additions & 3 deletions src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ abstract class TestCase extends Assert implements Reorderable, SelfDescribing, T
protected $backupGlobalsBlacklist = [];

/**
* @var bool
* @var ?bool
*/
protected $backupStaticAttributes;

Expand All @@ -156,7 +156,7 @@ abstract class TestCase extends Assert implements Reorderable, SelfDescribing, T
protected $backupStaticAttributesBlacklist = [];

/**
* @var bool
* @var ?bool
*/
protected $runTestInSeparateProcess;

Expand All @@ -171,7 +171,7 @@ abstract class TestCase extends Assert implements Reorderable, SelfDescribing, T
protected $providedTests = [];

/**
* @var bool
* @var ?bool
*/
private $runClassInSeparateProcess;

Expand Down
6 changes: 3 additions & 3 deletions src/Framework/WarningTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
final class WarningTestCase extends TestCase
{
/**
* @var bool
* @var ?bool
*/
protected $backupGlobals = false;

/**
* @var bool
* @var ?bool
*/
protected $backupStaticAttributes = false;

/**
* @var bool
* @var ?bool
*/
protected $runTestInSeparateProcess = false;

Expand Down

0 comments on commit d64ea7d

Please sign in to comment.