Skip to content

Commit 88f9f40

Browse files
committed
New 3.0.x; removing HHVM support; minimum PHP 7.1
1 parent ffa94f3 commit 88f9f40

15 files changed

Lines changed: 18 additions & 140 deletions

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/nbproject/private/
21
/vendor/
32
/build/
43
/composer.lock

.hhconfig

Whitespace-only changes.

.travis.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,17 @@ sudo: required
22
dist: trusty
33
language: php
44
php:
5-
- 7.0
65
- 7.1
7-
- hhvm
8-
- hhvm-3.18
9-
- hhvm-3.15
10-
- hhvm-3.12
11-
matrix:
12-
allow_failures:
13-
- php: hhvm
14-
- php: hhvm-3.18
15-
- php: hhvm-3.15
16-
- php: hhvm-3.12
6+
- 7.2
177
before_install:
188
- composer self-update
199
install:
2010
- composer update --ignore-platform-reqs --prefer-source
21-
before_script:
22-
- if [[ $TRAVIS_PHP_VERSION = "hhvm" ]]; then sudo cat travis-php.ini >> /etc/hhvm/php.ini; fi
2311
script:
2412
- vendor/bin/phpunit --coverage-clover=coverage.clover
2513
after_script:
26-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
27-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;'
14+
- wget https://scrutinizer-ci.com/ocular.phar
15+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
2816
cache:
2917
directories:
3018
- $HOME/.composer/cache

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ This is its module loader. You can use it to write extensible applications.
1010
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/libreworks/caridea-module/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/libreworks/caridea-module/?branch=master)
1111
[![Code Coverage](https://scrutinizer-ci.com/g/libreworks/caridea-module/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/libreworks/caridea-module/?branch=master)
1212

13-
We've also included `.hhi` files for the Hack typechecker.
14-
1513
## Installation
1614

1715
You can install this library using Composer:
@@ -20,7 +18,8 @@ You can install this library using Composer:
2018
$ composer require caridea/module
2119
```
2220

23-
* The master branch (version 2.x) of this project requires PHP 7.0 and depends on `caridea/container`.
21+
* The master branch (version 3.x) of this project requires PHP 7.1 and depends on `caridea/container`.
22+
* Version 2.x of this project requires PHP 7.0 and depends on `caridea/container`.
2423

2524
## Compliance
2625

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
],
1414
"extra": {
1515
"branch-alias": {
16-
"dev-master": "2.0.x-dev"
16+
"dev-master": "3.0.x-dev"
1717
}
1818
},
1919
"require": {
20-
"php": ">=7.0.0",
21-
"caridea/container": "^2.2"
20+
"php": ">=7.1.0",
21+
"caridea/container": "^3.0"
2222
},
2323
"require-dev": {
24-
"phpunit/phpunit": "^5.2.0"
24+
"phpunit/phpunit": "^6.0.0"
2525
},
2626
"autoload": {
2727
"psr-4": {

hhi/Configuration.hhi

Lines changed: 0 additions & 37 deletions
This file was deleted.

hhi/Module.hhi

Lines changed: 0 additions & 24 deletions
This file was deleted.

hhi/System.hhi

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* the License.
1717
*
1818
* @copyright 2015-2017 Appertly
19-
* @copyright 2017 LibreWorks contributors
19+
* @copyright 2017-2018 LibreWorks contributors
2020
* @license Apache-2.0
2121
*/
2222
namespace Caridea\Module;

src/Module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* the License.
1717
*
1818
* @copyright 2015-2017 Appertly
19-
* @copyright 2017 LibreWorks contributors
19+
* @copyright 2017-2018 LibreWorks contributors
2020
* @license Apache-2.0
2121
*/
2222
namespace Caridea\Module;

0 commit comments

Comments
 (0)