Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Nov 22, 2023
1 parent cfc89af commit 27d7432
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .psalm/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
findUnusedVariablesAndParams="false"
findUnusedCode="false"
errorBaseline=".psalm/baseline.xml"
findUnusedBaselineEntry="true"
findUnusedBaselineEntry="false"
>
<projectFiles>
<directory name="src" />
Expand Down
1 change: 1 addition & 0 deletions src/Framework/MockObject/Generator/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ public function generateClassFromWsdl(string $wsdlFile, string $className, array

try {
$client = new SoapClient($wsdlFile, $options);
/** @psalm-suppress PossiblyNullArgument */
$_methods = array_unique($client->__getFunctions());

unset($client);
Expand Down
1 change: 1 addition & 0 deletions src/Logging/TestDox/TestMethod/TestResultCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ public function testCreatedTestDouble(MockObjectCreated|MockObjectForAbstractCla
}

if ($event instanceof MockObjectFromWsdlCreated) {
/** @psalm-suppress PropertyTypeCoercion */
$this->testDoubles[] = SoapClient::class;

return;
Expand Down

0 comments on commit 27d7432

Please sign in to comment.