Skip to content

Commit

Permalink
Merge pull request #8 from kiczort/feature/support-for-sf4
Browse files Browse the repository at this point in the history
Add support for sf4, drop for 3.1 and lower, drop for php 5.4
  • Loading branch information
kiczort authored Feb 13, 2018
2 parents c0876de + 2f549f3 commit e919e1d
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 2,729 deletions.
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

0 comments on commit e919e1d

Please sign in to comment.