Skip to content

Commit eed01b6

Browse files
author
Mathieu Dumoulin
committed
Remove PHP 5.4 or less support (key() support array is only starting PHP 5.5)
1 parent eb2b1b6 commit eed01b6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea
22
composer.lock
3-
vendor
3+
vendor
4+
tests/Report

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: php
22

33
php:
4-
- 5.3
5-
- 5.4
64
- 5.5
75
- 5.6
86
- 7

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ To install it, just include this requirement into your composer.json
2828
```
2929
And then run composer install/update as necessary.
3030

31+
# Supports
32+
33+
Only PHP 5.5 or more can be supported due to the fact that key() can only return arrays starting with PHP 5.5!
34+
3135
# Examples
3236

3337
To use the PreviousCurrentIterator, just instanciate a copy with an array and foreach it!

0 commit comments

Comments
 (0)