Skip to content

Commit

Permalink
Add PHP 7.2 on Travis and cleanup composer file
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Dec 30, 2017
1 parent 69a5aed commit f559ca4
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 43 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -17,6 +17,7 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
- nightly

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -192,11 +192,11 @@ clean:

# clean and download the composer dependencies
build:
rm -rf ./vendor/ && ($(COMPOSER) install --no-dev --no-interaction)
rm -rf ./vendor/ && ($(COMPOSER) install -vvv --no-dev --no-interaction)

# clean and download the composer dependencies including dev ones
build_dev:
rm -rf ./vendor/ && ($(COMPOSER) install --no-interaction)
rm -rf ./vendor/ && ($(COMPOSER) install -vvv --no-interaction)

# update composer dependencies
update:
Expand Down
15 changes: 7 additions & 8 deletions README.md
Expand Up @@ -99,17 +99,16 @@ Create a composer.json in your projects root-directory:
```json
{
"require": {
"tecnickcom/tc-lib-file": "dev-master"
},
"repositories": [
{
"type": "vcs",
"url": "git@github.com:tecnickcom/tc-lib-file.git"
}
]
"tecnickcom/tc-lib-file": "^1.6"
}
}
```

Or add to an existing project with:

```bash
composer require tecnickcom/tc-lib-file ^1.6
```

## Packaging

Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
1.6.5
1.6.6
73 changes: 41 additions & 32 deletions composer.json
@@ -1,35 +1,44 @@
{
"name": "tecnickcom/tc-lib-file",
"description": "PHP library to read byte-level data from files",
"type": "library",
"homepage": "http://www.tecnick.com",
"license": "LGPL-3.0",
"keywords": ["tc-lib-file", "file", "byte", "bit", "read", "short", "long", "double"],
"authors": [
{
"name": "Nicola Asuni",
"email": "info@tecnick.com",
"role": "lead"
}
],
"require": {
"php": ">=5.4",
"ext-curl": "*",
"ext-pcre": "*"
},
"require-dev": {
"apigen/apigen" : "^4.1.2",
"bartlett/php-compatinfo" : "^5.0.4",
"pdepend/pdepend" : "^2.5.0",
"phploc/phploc" : "^2.1.5 || ^3.0.1",
"phpmd/phpmd" : "^2.6.0",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0",
"sebastian/phpcpd" : "^2.0.4 || 3.0.0",
"squizlabs/php_codesniffer": "^2.8.0 || ^3.0.0"
},
"autoload": {
"psr-4":{
"Com\\Tecnick\\File\\": "src"
}
"name": "tecnickcom/tc-lib-file",
"description": "PHP library to read byte-level data from files",
"type": "library",
"homepage": "http://www.tecnick.com",
"license": "LGPL-3.0",
"keywords": [
"tc-lib-file",
"file",
"byte",
"bit",
"read",
"short",
"long",
"double"
],
"authors": [
{
"name": "Nicola Asuni",
"email": "info@tecnick.com",
"role": "lead"
}
],
"require": {
"php": ">=5.4",
"ext-curl": "*",
"ext-pcre": "*"
},
"require-dev": {
"apigen/apigen": "^4.1.2",
"bartlett/php-compatinfo": "^5.0.4",
"pdepend/pdepend": "^2.5.0",
"phploc/phploc": "^2.1.5 || ^3.0.1",
"phpmd/phpmd": "^2.6.0",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0",
"sebastian/phpcpd": "^2.0.4 || 3.0.0",
"squizlabs/php_codesniffer": "^2.8.0 || ^3.0.0"
},
"autoload": {
"psr-4": {
"Com\\Tecnick\\File\\": "src"
}
}
}

0 comments on commit f559ca4

Please sign in to comment.