Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit e41b280

Browse files
authored
Merge pull request #4 from kunicmarko20/allow_symfony4
Allow Symfony4
2 parents 8dc0962 + 3f6b747 commit e41b280

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- '5.6'
54
- '7.0'
65
- '7.1'
76
- nightly
@@ -14,13 +13,11 @@ matrix:
1413
fast_finish: true
1514
include:
1615
- php: '7.1'
17-
env: SYMFONY=2.8.*
18-
- php: '7.1'
19-
env: SYMFONY=3.1.*
16+
env: SYMFONY=3.3.*
2017
- php: '7.1'
21-
env: SYMFONY=3.2.*
18+
env: SYMFONY=3.4.*
2219
- php: '7.1'
23-
env: SYMFONY=3.3.*
20+
env: SYMFONY=4.0.*
2421

2522
allow_failures:
2623
- php: nightly

.travis/install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ mkdir --parents "${HOME}/bin"
55

66
composer global require "squizlabs/php_codesniffer"
77

8-
wget "https://phar.phpunit.de/phpunit-5.7.phar" --output-document="${HOME}/bin/phpunit"
9-
chmod u+x "${HOME}/bin/phpunit"
10-
118
# Coveralls client install
129
wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar --output-document="${HOME}/bin/coveralls"
1310
chmod u+x "${HOME}/bin/coveralls"

.travis/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ set -ev
33

44
export PATH="$PATH:$HOME/.composer/vendor/bin"
55
phpcs --extensions=php --standard=psr2 . --ignore=vendor
6-
phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
6+
./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@
1414
"license": "MIT",
1515
"require": {
1616
"php": "^5.6|^7.0",
17-
"symfony/symfony": "~2.8|~3.0"
17+
"symfony/dependency-injection": "^3.3 || ^4.0",
18+
"symfony/form": "^3.3 || ^4.0",
19+
"symfony/framework-bundle": "^3.3 || ^4.0"
1820
},
1921
"require-dev": {
2022
"symfony/phpunit-bridge": "~2.7",
21-
"matthiasnoback/symfony-dependency-injection-test": "^0.7"
23+
"matthiasnoback/symfony-dependency-injection-test": "^2.3",
24+
"phpunit/phpunit": "^6.5"
2225
},
2326
"autoload": {
2427
"psr-4": { "KunicMarko\\ColorPickerBundle\\": "" },

0 commit comments

Comments
 (0)