Skip to content

Commit

Permalink
again allow version 2.3 of Symfony components
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Singer committed Nov 9, 2015
1 parent 03ac9e7 commit 4f05d7f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ php:
# - hhvm

env:
- SYMFONY_VERSION=2.6.*
- SYMFONY_VERSION=2.3.*
- SYMFONY_VERSION=2.7.*
# - SYMFONY_VERSION=dev-master

Expand All @@ -22,3 +22,17 @@ after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

matrix:
# allow_failures:
# - env: SYMFONY_VERSION=dev-master
# - php: hhvm
exclude:
# - env: SYMFONY_VERSION=dev-master
# php: 5.3
# - env: SYMFONY_VERSION=dev-master
# php: 5.4
- env: SYMFONY_VERSION=2.3.*
php: 5.6
- env: SYMFONY_VERSION=2.3.*
php: 7.0

2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
- new methods `HtmlPage::minify()` and `HtmlPage::indent()` for compressing or nicely indenting the HTML document. These
functions rely on the package `wa72/html-pretty-min` that is *suggested* in composer.json.

- minimum required version of Symfony components is now 2.6

- sadly, HtmlPageDom is not compatible to the upcoming Symfony versions 2.8 and 3.0. Making it compatible requires
major refactoring. I will do it as soon I have some time for it.

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
],
"require":{
"php":">=5.4.0",
"symfony/dom-crawler":">=2.6,<2.8",
"symfony/css-selector":">=2.6,<2.8"
"symfony/dom-crawler":">=2.3,<2.8",
"symfony/css-selector":">=2.3,<2.8"
},
"require-dev": {
"wa72/html-pretty-min": "^0.1.1"
"wa72/html-pretty-min": "^0.1.2"
},
"suggest": {
"wa72/html-pretty-min": "Minify or indent HTML documents"
Expand Down

0 comments on commit 4f05d7f

Please sign in to comment.