Skip to content

Commit e9f582a

Browse files
okaufmannrmariuzzo
authored andcommitted
Update jshrink package to support php 7.3 (#130)
* update jshrink package * test new php versions * install mcrypt for php versions 7.2 and 7.3
1 parent 1ad478d commit e9f582a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ php:
55
- '5.5'
66
- '5.6'
77
- '7.0'
8+
- '7.1'
9+
- '7.2'
10+
- '7.3'
811

912
# Optimize the build since we are `composer installing` for each supported
1013
# Laravel versions (see composer.json, under scripts sections).
@@ -18,6 +21,7 @@ before_script:
1821
# PHP version is 5.5 then we should require minimum supported illuminate
1922
# dependencies.
2023
- if [[ `php -v` =~ "PHP 5.5" ]]; then composer require "illuminate/config:4.2.*" "illuminate/console:4.2.*" "illuminate/filesystem:4.2.*"; fi
24+
- if [[ `php -v` =~ "PHP 7.2" || `php -v` =~ "PHP 7.3" ]]; then yes | pecl install mcrypt-1.0.1; fi
2125
- composer install --prefer-dist --no-interaction
2226
# Installing `Laravel-JS-Localization` package dependencies for each
2327
# supported Laravel versions (see composer.json, under scripts section).

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"illuminate/config": ">=4.2",
3838
"illuminate/console": ">=4.2",
3939
"illuminate/filesystem": ">=4.2",
40-
"tedivm/jshrink": "1.0.*"
40+
"tedivm/jshrink": "~1.0"
4141
},
4242
"require-dev": {
4343
"phpunit/phpunit": "4.8.*"

0 commit comments

Comments
 (0)