diff --git a/.travis.yml b/.travis.yml
index 06114300..00fecd44 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,6 @@ env:
- SYMFONY_VERSION=3.2.*
- SYMFONY_VERSION=3.1.*
- SYMFONY_VERSION=2.8.*
- - SYMFONY_VERSION=2.7.*
branches:
except:
@@ -29,7 +28,7 @@ matrix:
fast_finish: true
include:
- php: 5.5
- env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=2.7.*
+ env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=2.8.*
install:
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5a8a7923..f65dbbf5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
### Changed
- The profiler collector has been rewritten to use objects instead of arrays.
+- Bumped minimum Symfony version to 2.8.
### Fixed
diff --git a/Resources/views/Icon/httplug_old.svg b/Resources/views/Icon/httplug_old.svg
deleted file mode 100644
index 8abdff2f..00000000
--- a/Resources/views/Icon/httplug_old.svg
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
-
diff --git a/Resources/views/webprofiler.html.twig b/Resources/views/webprofiler.html.twig
index e7af78af..fa00ade2 100644
--- a/Resources/views/webprofiler.html.twig
+++ b/Resources/views/webprofiler.html.twig
@@ -5,11 +5,7 @@
{% block toolbar %}
{% if collector.stacks|length > 0 %}
{% set icon %}
- {% if constant('Symfony\\Component\\HttpKernel\\Kernel::VERSION_ID') >= 20800 %}
- {{ include('@Httplug/Icon/httplug.svg') }}
- {% else %}
- {{ include('@Httplug/Icon/httplug_old.svg') }}
- {% endif %}
+ {{ include('@Httplug/Icon/httplug.svg') }}
{{ collector.stacks|length }}
req.
{% endset %}
@@ -39,11 +35,7 @@
{# This left-hand menu appears when using the full-screen profiler. #}
- {% if constant('Symfony\\Component\\HttpKernel\\Kernel::VERSION_ID') >= 20800 %}
- {{ include('@Httplug/Icon/httplug.svg') }}
- {% else %}
- {{ include('@Httplug/Icon/httplug_old.svg') }}
- {% endif %}
+ {{ include('@Httplug/Icon/httplug.svg') }}
Httplug
diff --git a/composer.json b/composer.json
index 98687cb7..26346fd2 100644
--- a/composer.json
+++ b/composer.json
@@ -23,9 +23,9 @@
"php-http/cache-plugin": "^1.0",
"php-http/logger-plugin": "^1.0",
"php-http/stopwatch-plugin": "^1.0",
- "symfony/options-resolver": "^2.7 || ^3.0",
- "symfony/event-dispatcher": "^2.7 || ^3.0",
- "symfony/framework-bundle": "^2.7 || ^3.0",
+ "symfony/options-resolver": "^2.8 || ^3.0",
+ "symfony/event-dispatcher": "^2.8 || ^3.0",
+ "symfony/framework-bundle": "^2.8 || ^3.0",
"php-http/message": "^1.3",
"php-http/discovery": "^1.0",
"twig/twig": "^1.18 || ^2.0"
@@ -37,7 +37,7 @@
"php-http/guzzle6-adapter": "^1.1.1",
"php-http/react-adapter": "^0.2.1",
"php-http/buzz-adapter": "^0.3",
- "symfony/symfony": "^2.7 || ^3.0",
+ "symfony/symfony": "^2.8 || ^3.0",
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
"matthiasnoback/symfony-dependency-injection-test": "^1.0"
},