Skip to content

Commit 370029a

Browse files
committed
Added support for Enumeration v6.
Removed support for PHP < 7.1.
1 parent 1b8326e commit 370029a

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ sudo: false
66
language: php
77

88
php:
9-
- 5.6
10-
- 7.0
119
- 7.1
1210
- 7.2
1311
- 7.3
12+
- 7.4
1413

1514
env:
1615
matrix:

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
],
1010
"license": "LGPL-3.0",
1111
"require": {
12-
"php": "^5.6|^7",
12+
"php": "^7.1",
1313
"scriptfusion/array-walker": "^1",
14-
"eloquent/enumeration": "^5"
14+
"eloquent/enumeration": "^5|^6"
1515
},
1616
"require-dev": {
1717
"scriptfusion/static-class": "^1",
1818
"phpunit/phpunit": "^4.8",
19-
"mockery/mockery": "^0.9.4"
19+
"mockery/mockery": "^1.3"
2020
},
2121
"autoload": {
2222
"psr-4": {

src/DataType.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
/**
77
* Specifies a PHP data type.
88
*
9-
* @method static BOOLEAN()
10-
* @method static INTEGER()
11-
* @method static FLOAT()
12-
* @method static STRING()
13-
* @method static MAP()
14-
* @method static OBJECT()
9+
* @method static self BOOLEAN
10+
* @method static self INTEGER
11+
* @method static self FLOAT
12+
* @method static self STRING
13+
* @method static self MAP
14+
* @method static self OBJECT
1515
*/
1616
final class DataType extends AbstractEnumeration
1717
{

0 commit comments

Comments
 (0)