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:
parent
844d7999c5
commit
b88d2890e2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user