Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow composer to install package on PHP 5.4 and above #5

Merged
merged 1 commit into from Oct 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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