Skip to content

Commit

Permalink
- Set version constraint to 5.6+ (dropped 5.5 completely)
Browse files Browse the repository at this point in the history
- Using fixed PHPUnit for travis
- Fixed Color::parseInt and Color::toInt. RgbColors will now always generate an int with alpha set to 0xff (255) and using parseInt will always return an RgbaColor
  • Loading branch information
TorbenKoehn committed May 27, 2017
1 parent 7c57634 commit a175ef4
Show file tree
Hide file tree
Showing 5 changed files with 2,086 additions and 614 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ git:
depth: 5

php:
- 5.6
- 7.0

before_script:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-rm xdebug.ini; fi;

install:
- composer self-update
- composer install --no-dev
- composer install

script:
- vendor/bin/phpunit
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"source": "https://github.com/Talesoft/phim",
"docs": "http://phim.talesoft.codes/docs"
},
"minimum-stability": "dev",
"require": {
"php": ">=5.5.0"
"php": ">=5.6"
},
"autoload": {
"psr-4": {
Expand All @@ -33,5 +32,8 @@
"gd": "for image processing with GD",
"imagick": "for image processing with Imagick",
"symfony/mbstring-polyfill": "if youre lacking the mbstring extension or can't install it"
},
"require-dev": {
"phpunit/phpunit": "^6.1"
}
}
Loading

0 comments on commit a175ef4

Please sign in to comment.