Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
drop php 5.4 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jun 6, 2015
1 parent 3e4a512 commit 035653e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
3 changes: 0 additions & 3 deletions test/MutableCreationOptionsTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

use PHPUnit_Framework_TestCase as TestCase;

/**
* @requires PHP 5.4.0
*/
class MutableCreationOptionsTraitTest extends TestCase
{
protected $stub;
Expand Down
1 change: 0 additions & 1 deletion test/ServiceLocatorAwareTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Zend\ServiceManager\ServiceManager;

/**
* @requires PHP 5.4
* @group Zend_ServiceManager
*/
class ServiceLocatorAwareTraitTest extends TestCase
Expand Down
12 changes: 5 additions & 7 deletions test/ServiceManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -714,15 +714,13 @@ public function testGetGlobIteratorServiceWorksProperly()

public function duplicateService()
{
$self = $this;

return [
[
'setFactory',
function ($services) use ($self) {
return $self;
function ($services) {
return $this;
},
$self,
$this,
'assertSame',
],
[
Expand All @@ -733,8 +731,8 @@ function ($services) use ($self) {
],
[
'setService',
$self,
$self,
$this,
$this,
'assertSame',
],
];
Expand Down

0 comments on commit 035653e

Please sign in to comment.