Skip to content

Commit

Permalink
Abandon PHP 5.4 and 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
webinarium committed Mar 23, 2017
1 parent 3b1a9b6 commit 533bff9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
@@ -1,8 +1,6 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
Expand All @@ -11,6 +9,6 @@ install:
- composer install -n

script:
- phpunit --coverage-clover=coverage.clover
- ./bin/phpunit --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- if [[ "$(phpenv version-name)" == "7.0" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
4 changes: 2 additions & 2 deletions README.md
@@ -1,5 +1,5 @@
[![License](https://poser.pugx.org/webinarium/php-dictionary/license)](https://packagist.org/packages/webinarium/php-dictionary)
[![PHP](https://img.shields.io/badge/PHP-5.4%2B-blue.svg)](https://secure.php.net/migration54)
[![PHP](https://img.shields.io/badge/PHP-5.6%2B-blue.svg)](https://secure.php.net/migration56)
[![Latest Stable Version](https://poser.pugx.org/webinarium/php-dictionary/v/stable)](https://packagist.org/packages/webinarium/php-dictionary)
[![Build Status](https://travis-ci.org/webinarium/php-dictionary.svg?branch=master)](https://travis-ci.org/webinarium/php-dictionary)
[![Code Coverage](https://scrutinizer-ci.com/g/webinarium/php-dictionary/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/webinarium/php-dictionary/?branch=master)
Expand Down Expand Up @@ -148,5 +148,5 @@ class Timezone extends StaticDictionary

```bash
./bin/php-cs-fixer fix
phpunit --coverage-text
./bin/phpunit --coverage-text
```
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -9,6 +9,7 @@
"php": ">=5.4"
},
"require-dev": {
"phpunit/phpunit": "^5.4",
"friendsofphp/php-cs-fixer": "^1.11"
},
"autoload": {
Expand Down
16 changes: 8 additions & 8 deletions phpunit.xml → phpunit.xml.dist
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php">

bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
<testsuite name="PHP Dictionary Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>src</directory>
<directory>./src</directory>
</whitelist>
</filter>

</phpunit>

0 comments on commit 533bff9

Please sign in to comment.