Skip to content

Commit 725cf94

Browse files
committed
[+] Require PHP >= 7.1 [+] Update Travis
1 parent 7b764a7 commit 725cf94

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ matrix:
88
- php: hhvm
99

1010
include:
11-
- php: 5.5
12-
- php: 5.6
13-
- php: 7.0
1411
- php: 7.1
1512
- php: 7.2
1613
- php: 7.3
@@ -23,6 +20,8 @@ before_script:
2320

2421
script:
2522
- php vendor/bin/phpcs
26-
- php vendor/bin/phpunit --debug
23+
- php vendor/bin/phpunit --coverage-clover=coverage.xml --debug
24+
- php vendor/bin/phpunit --configuration ./build/travis-ci-fail.xml > /dev/null; if [ $? -eq 0 ]; then echo "SHOULD FAIL"; false; else echo "fail checked"; fi;
2725

2826
after_script:
27+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DotArray
22

3-
Compatible with `PHP >=5.5`
3+
Require `PHP >=7.1`
44

55
Accessing PHP Arrays via DOT notation is easy as:
66

@@ -9,8 +9,8 @@ DotArray::create(['config' => ['some.dotted.key' => 'value']])->get('config.{som
99
```
1010
[![Latest Stable Version](https://poser.pugx.org/binary-cube/dot-array/version)](https://packagist.org/packages/binary-cube/dot-array)
1111
[![Total Downloads](https://poser.pugx.org/binary-cube/dot-array/downloads)](https://packagist.org/packages/binary-cube/dot-array)
12-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/003187f2016e4c4cb1b014ccc9bdb5c0)](https://www.codacy.com/app/microThread/dot-array?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=binary-cube/dot-array&amp;utm_campaign=Badge_Grade)
13-
[![Build Status](https://scrutinizer-ci.com/g/binary-cube/dot-array/badges/build.png?b=master)](https://scrutinizer-ci.com/g/binary-cube/dot-array/build-status/master)
12+
[![Build Status](https://travis-ci.org/binary-cube/dot-array.svg?branch=master)](https://travis-ci.org/binary-cube/dot-array)
13+
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/003187f2016e4c4cb1b014ccc9bdb5c0)](https://www.codacy.com/app/microThread/dot-array)
1414
[![Code Coverage](https://scrutinizer-ci.com/g/binary-cube/dot-array/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/binary-cube/dot-array/?branch=master)
1515
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/binary-cube/dot-array/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/binary-cube/dot-array/?branch=master)
1616
[![License](https://poser.pugx.org/binary-cube/dot-array/license)](LICENSE)
@@ -22,7 +22,7 @@ DotArray::create(['config' => ['some.dotted.key' => 'value']])->get('config.{som
2222
- **via "composer require"**:
2323

2424
``` shell
25-
composer require binary-cube/dot-array
25+
composer require binary-cube/dot-array
2626
```
2727

2828
- **via composer (manually)**:

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "binary-cube/dot-array",
3-
"description": "Navigate through array using JSON Dot path.",
3+
"description": "Navigate through array using JSON Dot notation path.",
44

55
"keywords": [
66
"DotArray", "dot-array", "array", "dot", "php-array", "php-array-json-path"
@@ -24,14 +24,14 @@
2424
"prefer-stable": true,
2525

2626
"require": {
27-
"php": ">=5.5",
27+
"php": ">=7.1",
2828
"ext-json": "*",
2929
"ext-mbstring": "*"
3030
},
3131

3232
"require-dev": {
3333
"squizlabs/php_codesniffer": "3.*",
34-
"phpunit/phpunit": "*"
34+
"phpunit/phpunit": "~7.0"
3535
},
3636

3737
"suggest": {

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<log type="junit" target="build/phpunit/report.junit.xml"/>
3333

3434
<log type="coverage-html" target="build/phpunit/coverage/html"/>
35-
<log type="coverage-text" target="build/phpunit/coverage/txt"/>
36-
<log type="coverage-clover" target="build/phpunit/coverage/xml"/>
35+
<log type="coverage-text" target="build/phpunit/coverage/coverage.txt"/>
36+
<log type="coverage-clover" target="build/phpunit/coverage/coverage.xml"/>
3737
</logging>
3838
</phpunit>

0 commit comments

Comments
 (0)