Skip to content

Commit

Permalink
Delete an invalid test
Browse files Browse the repository at this point in the history
  • Loading branch information
MidnightDesign committed Sep 29, 2023
1 parent 87e0bbc commit c4c8ef5
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/ToStringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,19 +261,6 @@ function fooFoo(string $b): void {}
fooFoo(new A());',
'error_message' => 'InvalidArgument',
],
'implicitCastWithStrictTypesToEchoOrSprintf' => [
'code' => '<?php declare(strict_types=1);
class A {
public function __toString(): string
{
return "hello";
}
}
echo(new A());
sprintf("hello *", new A());',
'error_message' => 'ImplicitToStringCast',
],
'implicitCast' => [
'code' => '<?php
class A {
Expand Down

0 comments on commit c4c8ef5

Please sign in to comment.