1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix existing tests

This commit is contained in:
dennis 2022-09-13 11:32:19 +02:00
parent 844d7999c5
commit b88d2890e2

View File

@ -20,7 +20,7 @@ class ThrowsBlockAdditionTest extends FileManipulationTestCase
}',
'<?php
/**
* @throws InvalidArgumentException
* @throws \InvalidArgumentException
*/
function foo(string $s): string {
if("" === $s) {
@ -45,7 +45,7 @@ class ThrowsBlockAdditionTest extends FileManipulationTestCase
}',
'<?php
/**
* @throws InvalidArgumentException|DomainException
* @throws \InvalidArgumentException|\DomainException
*/
function foo(string $s): string {
if("" === $s) {
@ -74,7 +74,7 @@ class ThrowsBlockAdditionTest extends FileManipulationTestCase
'<?php
/**
* @throws InvalidArgumentException|DomainException
* @throws Exception
* @throws \Exception
*/
function foo(string $s): string {
if("" === $s) {
@ -103,7 +103,7 @@ class ThrowsBlockAdditionTest extends FileManipulationTestCase
'<?php
/**
* @throws InvalidArgumentException
* @throws DomainException
* @throws \DomainException
*/
function foo(string $s): string {
if("" === $s) {