Skip to content

Commit

Permalink
Add support of the latest (namespaced) PHPUnit #16
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed May 4, 2017
1 parent 5864f5b commit 1c50abe
Showing 1 changed file with 76 additions and 3 deletions.
79 changes: 76 additions & 3 deletions phpunit/.ide-toolbox.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,33 @@
"PHPUnit_Framework_TestCase::getStaticAttribute",
"PHPUnit_Framework_TestCase::readAttribute",

"PHPUnit_Framework_TestCase::prophesize"
"PHPUnit_Framework_TestCase::prophesize",

"PHPUnit\\Framework\\Assert::assertAttributeInstanceOf",
"PHPUnit\\Framework\\Assert::assertAttributeNotInstanceOf",
"PHPUnit\\Framework\\Assert::assertClassHasAttribute:1",
"PHPUnit\\Framework\\Assert::assertClassHasStaticAttribute:1",
"PHPUnit\\Framework\\Assert::assertClassNotHasAttribute:1",
"PHPUnit\\Framework\\Assert::assertClassNotHasStaticAttribute:1",
"PHPUnit\\Framework\\Assert::assertContainsOnlyInstancesOf",
"PHPUnit\\Framework\\Assert::assertInstanceOf",
"PHPUnit\\Framework\\Assert::assertNotInstanceOf",

"PHPUnit\\Framework\\Assert::isInstanceOf",
"PHPUnit\\Framework\\Assert::containsOnlyInstancesOf",
"PHPUnit\\Framework\\Constraint\\TraversableContainsOnly::__construct",

"PHPUnit\\Framework\\TestCase::createMock",
"PHPUnit\\Framework\\TestCase::getMock",
"PHPUnit\\Framework\\TestCase::getMockBuilder",
"PHPUnit\\Framework\\TestCase::getMockForAbstractClass",
"PHPUnit\\Framework\\TestCase::getMockForTrait",
"PHPUnit\\Framework\\TestCase::getMockWithoutInvokingTheOriginalConstructor",

"PHPUnit\\Framework\\TestCase::getStaticAttribute",
"PHPUnit\\Framework\\TestCase::readAttribute",

"PHPUnit\\Framework\\TestCase::prophesize"
],
"signatures": [
{
Expand All @@ -55,28 +81,60 @@
"class": "PHPUnit_Framework_TestCase",
"method": "getMockWithoutInvokingTheOriginalConstructor",
"type": "type"
},
{
"class": "PHPUnit\\Framework\\TestCase",
"method": "createMock",
"type": "type"
},
{
"class": "PHPUnit\\Framework\\TestCase",
"method": "getMock",

This comment has been minimized.

Copy link
@Koc

Koc May 4, 2017

Contributor

This comment has been minimized.

Copy link
@Haehnchen

Haehnchen May 4, 2017

Author Owner

thx, sweet it was deprecated before. fast removal ;)

"type": "type"
},
{
"class": "PHPUnit\\Framework\\TestCase",
"method": "getMockForAbstractClass",
"type": "type"
},
{
"class": "PHPUnit\\Framework\\TestCase",
"method": "getMockForTrait",
"type": "type"
},
{
"class": "PHPUnit\\Framework\\TestCase",
"method": "getMockWithoutInvokingTheOriginalConstructor",
"type": "type"
}
]
},
{
"language": "php",
"provider": "trait",
"signature": [
"PHPUnit_Framework_TestCase::getObjectForTrait"
"PHPUnit_Framework_TestCase::getObjectForTrait",
"PHPUnit\\Framework\\TestCase::getObjectForTrait"
],
"signatures": [
{
"class": "PHPUnit_Framework_TestCase",
"method": "getObjectForTrait",
"type": "type"
},
{
"class": "PHPUnit\\Framework\\TestCase",
"method": "getObjectForTrait",
"type": "type"
}
]
},
{
"language": "php",
"provider": "exception_classes",
"signature": [
"PHPUnit_Framework_TestCase::setExpectedException"
"PHPUnit_Framework_TestCase::setExpectedException",
"PHPUnit\\Framework\\TestCase::setExpectedException"
]
},
{
Expand All @@ -97,6 +155,21 @@

"PHPUnit_Framework_Assert::isType",
"PHPUnit_Framework_Constraint_IsType::__construct",

"PHPUnit\\Framework\\Assert::assertAttributeInternalType",
"PHPUnit\\Framework\\Assert::assertAttributeContainsOnly",
"PHPUnit\\Framework\\Assert::assertAttributeNotContainsOnly",
"PHPUnit\\Framework\\Assert::assertContainsOnly",
"PHPUnit\\Framework\\Assert::assertInternalType",
"PHPUnit\\Framework\\Assert::assertNotAttributeInternalType",
"PHPUnit\\Framework\\Assert::assertNotContainsOnly",
"PHPUnit\\Framework\\Assert::assertNotInternalType",

"PHPUnit\\Framework\\Assert::containsOnly",
"PHPUnit\\Framework\\Constraint\\TraversableContainsOnly::__construct",

"PHPUnit\\Framework\\Assert::isType",
"PHPUnit\\Framework\\Constraint\\IsType::__construct"
]
}
]
Expand Down

0 comments on commit 1c50abe

Please sign in to comment.