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

Add support for sf4, drop for 3.1 and lower, drop for php 5.4 #8

Merged
merged 4 commits into from
Feb 13, 2018
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,19 @@ cache:
- $HOME/.composer/cache/files

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
- nightly
- 7.2

env:
- COMPOSER_FLAGS='update --prefer-lowest --prefer-stable'
- COMPOSER_FLAGS='install'
- COMPOSER_FLAGS='update'

matrix:
exclude:
- php: 5.4
env: COMPOSER_FLAGS='install'
allow_failures:
- php: hhvm
- php: nightly
- php: 7.2
env: COMPOSER_FLAGS='update --prefer-lowest --prefer-stable'
fast_finish: true

install:
Expand Down
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mikoweb/polish-validator-bundle",
"description": "Symfony bundle with validators for Polish identification numbers: PESEL, NIP, REGON.",
"description": "Symfony bundle with validators for Polish identification numbers: PESEL, NIP, REGON, PWZ.",
"keywords": ["polish validator", "pl validator", "pesel", "nip", "regon", "pwz", "symfony bundle", "validator", "symfony validator"],
"license": "MIT",
"authors": [
Expand All @@ -10,13 +10,16 @@
}
],
"require": {
"php": ">=5.3.1",
"php": ">=5.6",
"kiczort/polish-validator": "^1.1",
"symfony/framework-bundle" : "~2.1 || ~3.0",
"symfony/validator": "~2.6.0 || ~3.0"
"symfony/config" : "~3.2 || ~4.0",
"symfony/http-kernel" : "~3.2 || ~4.0",
"symfony/dependency-injection" : "~3.2 || ~4.0",
"symfony/validator": "~3.2 || ~4.0"
},
"require-dev": {
"phpunit/phpunit": "4.8"
"phpunit/phpunit": "~5.7 || ~7.0",
"symfony/phpunit-bridge": "~3.2 || ~4.0"
},
"autoload": {
"psr-0": {
Expand Down
Loading