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

Commit 67b9e9f

Browse files
samsonasikweierophinney
authored andcommitted
drop php 5.4 in tests
1 parent 9b90fde commit 67b9e9f

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

test/MutableCreationOptionsTraitTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
use PHPUnit_Framework_TestCase as TestCase;
1313

14-
/**
15-
* @requires PHP 5.4.0
16-
*/
1714
class MutableCreationOptionsTraitTest extends TestCase
1815
{
1916
protected $stub;

test/ServiceLocatorAwareTraitTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Zend\ServiceManager\ServiceManager;
1414

1515
/**
16-
* @requires PHP 5.4
1716
* @group Zend_ServiceManager
1817
*/
1918
class ServiceLocatorAwareTraitTest extends TestCase

test/ServiceManagerTest.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -714,15 +714,13 @@ public function testGetGlobIteratorServiceWorksProperly()
714714

715715
public function duplicateService()
716716
{
717-
$self = $this;
718-
719717
return [
720718
[
721719
'setFactory',
722-
function ($services) use ($self) {
723-
return $self;
720+
function ($services) {
721+
return $this;
724722
},
725-
$self,
723+
$this,
726724
'assertSame',
727725
],
728726
[
@@ -733,8 +731,8 @@ function ($services) use ($self) {
733731
],
734732
[
735733
'setService',
736-
$self,
737-
$self,
734+
$this,
735+
$this,
738736
'assertSame',
739737
],
740738
];

0 commit comments

Comments
 (0)