Skip to content

Commit

Permalink
#167 - Remove code specifically designed to skip tests in PHP <= 5.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Dec 14, 2014
1 parent 9ff9a88 commit bdd7298
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions tests/ProxyManagerTest/Functional/RemoteObjectFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function getProxyMethods()
{
$selfHintParam = new ClassWithSelfHint();

$data = [
return [
[
'ProxyManagerTestAsset\RemoteProxy\FooServiceInterface',
'foo',
Expand All @@ -198,19 +198,13 @@ public function getProxyMethods()
['baz'],
'baz remote'
],
];

if (PHP_VERSION_ID >= 50401) {
// PHP < 5.4.1 misbehaves, throwing strict standards, see https://bugs.php.net/bug.php?id=60573
$data[] = [
[
new ClassWithSelfHint(),
'selfHintMethod',
[$selfHintParam],
$selfHintParam
];
}

return $data;
],
];
}

/**
Expand Down

0 comments on commit bdd7298

Please sign in to comment.