Skip to content

Commit

Permalink
Allow composer to install package on PHP 5.4 and above
Browse files Browse the repository at this point in the history
Remove composer.lock file

Fixup travis config and version requirements to match
  • Loading branch information
reedy committed Oct 8, 2017
1 parent aec4bfc commit 45372f6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1,950 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,8 @@ php:
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
before_script: composer -n --prefer-source install --dev
script: vendor/bin/phpunit
after_script: php vendor/bin/coveralls
5 changes: 1 addition & 4 deletions README.md
Expand Up @@ -78,10 +78,7 @@ serialization.

## Requirements ##

The package.json file has the requirement for PHP >=5.6, however the code very
well may work in for PHP >=5.4, I just can't easily get the CI tools to work
for PHP 5.4 through 7.1 so I just left it at the currently supported version
of PHP.
This project requires PHP 5.4 or newer.

## License ##

Expand Down
11 changes: 3 additions & 8 deletions composer.json
@@ -1,6 +1,5 @@
{
"name": "pleonasm/bloom-filter",
"version": "1.0.0",
"description": "A pure PHP implementation of a Bloom Filter",
"keywords": ["bloom filter", "sets", "bloom", "filter"],
"license": "BSD-2-Clause",
Expand All @@ -15,15 +14,11 @@
"issues": "https://github.com/pleonasm/bloom-filter/issues"
},
"require": {
"php": ">=5.6.0"
"php": ">=5.4"
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"phpunit/php-invoker": "^1.1",
"doctrine/instantiator": ">=1.0.5 <=1.0.99",
"phpdocumentor/reflection-docblock": ">=2.0.5 <=2.99.99",
"phpunit/php-token-stream": ">=1.4.11 <2.0.0",
"satooshi/php-coveralls": "dev-master@dev"
"phpunit/phpunit": "^4.8 || ^5.7 || ^6.4",
"satooshi/php-coveralls": "^1.0.1"
},
"autoload": {
"psr-4": { "Pleo\\BloomFilter\\": "src/" }
Expand Down

0 comments on commit 45372f6

Please sign in to comment.