diff --git a/.travis.yml b/.travis.yml index 18e806a..37e196f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ php: # 5.5 and 5.6 are already covered by the jobs running against specific Symfony versions. no need to duplicate them here - 7.0 - 7.1 + - 7.2 matrix: include: @@ -19,15 +20,15 @@ matrix: dist: precise # force testing against Symfony LTS versions - php: 5.5 - env: SYMFONY_VERSION=2.7.* + env: SYMFONY_VERSION=^2 - php: 5.6 - env: SYMFONY_VERSION=2.8.* + env: SYMFONY_VERSION=^3 # Test against lowest dependencies - php: 5.6 env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' before_install: - - if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi + - if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/lts=$SYMFONY_VERSION; fi install: - composer update $COMPOSER_FLAGS diff --git a/composer.json b/composer.json index bdf0e2d..f7384cf 100755 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "keen-io/keen-io-bundle", "type": "symfony-bundle", - "description": "Symfony2 Bundle for Keen IO", + "description": "Symfony Bundle for Keen IO", "keywords": ["keen", "keen.io", "events", "analytics", "symfony", "bundle" ], "homepage": "https://github.com/keenlabs/KeenClient-PHP-Sf2", "license": "MIT", @@ -19,13 +19,13 @@ "require": { "php": ">=5.3.3", "keen-io/keen-io": "~2.1", - "symfony/config": "~2.3 || ~3.0", - "symfony/dependency-injection": "~2.3 || ~3.0", - "symfony/http-kernel": "~2.3 || ~3.0" + "symfony/config": "^2.3 || ^3.0 || ^4.0", + "symfony/dependency-injection": "^2.3 || ^3.0 || ^4.0", + "symfony/http-kernel": "^2.3 || ^3.0 || ^4.0" }, "require-dev": { - "symfony/phpunit-bridge": "~3.3", - "symfony/yaml": "~2.3 || ~3.0", + "symfony/phpunit-bridge": "^4.0", + "symfony/yaml": "^2.3 || ^3.0 || ^4.0", "phpunit/phpunit": "~4.8.35 || ~5.7 || ~6" }, "autoload": { diff --git a/src/KeenIOBundle.php b/src/KeenIOBundle.php index dc00872..d015270 100755 --- a/src/KeenIOBundle.php +++ b/src/KeenIOBundle.php @@ -5,5 +5,4 @@ class KeenIOBundle extends Bundle { - } diff --git a/tests/DependencyInjection/KeenIOExtensionTest.php b/tests/DependencyInjection/KeenIOExtensionTest.php index bcb57ff..caaba09 100644 --- a/tests/DependencyInjection/KeenIOExtensionTest.php +++ b/tests/DependencyInjection/KeenIOExtensionTest.php @@ -22,7 +22,7 @@ class KeenIOExtensionTest extends TestCase */ private $container; - public function setUp() + protected function setUp() { $this->extension = new KeenIOExtension(); $this->container = new ContainerBuilder();