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

fix tests

This commit is contained in:
orklah 2021-10-04 01:13:16 +02:00
parent 4f696ec3b4
commit fffe6428de

View File

@ -71,7 +71,6 @@ class ParamTypeManipulationTest extends FileManipulationTestCase
'<?php
class C {
/**
* @param string $a
* @psalm-param \'hello\' $a
*/
public function fooFoo(string $a): void {}
@ -193,7 +192,6 @@ class ParamTypeManipulationTest extends FileManipulationTestCase
'<?php
class C {
/**
* @param string $a
* @psalm-param \'hello\' $a
*/
public function fooFoo(string $a): void {}
@ -236,7 +234,6 @@ class ParamTypeManipulationTest extends FileManipulationTestCase
'<?php
class C {
/**
* @param string $bar
* @psalm-param \'hello\' $bar
*/
public function foo(string &$bar) : void {
@ -270,7 +267,7 @@ class ParamTypeManipulationTest extends FileManipulationTestCase
}
}
$a = stdClass::class;;
$a = stdClass::class;
(new C)->foo($a);',
'7.1',
['MissingParamType'],