mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Merge pull request #135 from SignpostMarv/phpunit-failure
Phpunit failure
This commit is contained in:
commit
e694719272
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
vendor/
|
||||
.DS_Store
|
||||
phpunit.xml
|
||||
|
@ -120,6 +120,13 @@ class MethodSignatureTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testExtendDocblockParamType()
|
||||
{
|
||||
if (class_exists('SoapClient') === false) {
|
||||
$this->markTestSkipped(
|
||||
'Cannot run test, base class "SoapClient" does not exist!'
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
$stmts = self::$parser->parse('<?php
|
||||
class A extends SoapClient
|
||||
{
|
||||
@ -155,6 +162,13 @@ class MethodSignatureTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testExtendDocblockParamTypeWithWrongParam()
|
||||
{
|
||||
if (class_exists('SoapClient') === false) {
|
||||
$this->markTestSkipped(
|
||||
'Cannot run test, base class "SoapClient" does not exist!'
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
$stmts = self::$parser->parse('<?php
|
||||
class A extends SoapClient
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user