1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-13 17:44:00 +02:00

Fix syntax error in composer.json (#653)

This commit is contained in:
Elan Ruusamäe
2019-10-01 13:03:36 +03:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,8 @@ dist: trusty
jobs: jobs:
fast_finish: true fast_finish: true
allow_failures: allow_failures:
- php: "hhvm" - php: "7.4snapshot"
- php: "nightly"
include: include:
- php: "5.3" - php: "5.3"
dist: precise dist: precise
@@ -15,8 +16,8 @@ jobs:
- php: "7.0" - php: "7.0"
- php: "7.1" - php: "7.1"
- php: "7.2" - php: "7.2"
- php: "nightly" - php: "7.3"
- php: "hhvm" - php: "7.4snapshot"
env: env:
- CLOSURE_VERSION: 20161024 - CLOSURE_VERSION: 20161024

View File

@@ -30,7 +30,7 @@
"mrclay/props-dic": "^2.2", "mrclay/props-dic": "^2.2",
"php": "^5.3.0 || ^7.0", "php": "^5.3.0 || ^7.0",
"tubalmartin/cssmin": "~4", "tubalmartin/cssmin": "~4",
"marcusschwarz/lesserphp": "~0.5.1", "marcusschwarz/lesserphp": "~0.5.1"
}, },
"require-dev": { "require-dev": {
"firephp/firephp-core": "~0.4.0", "firephp/firephp-core": "~0.4.0",

View File

@@ -45,7 +45,6 @@ class MinifyTest extends TestCase
'content' => '', 'content' => '',
'headers' => array( 'headers' => array(
'Expires' => gmdate('D, d M Y H:i:s \G\M\T', $_SERVER['REQUEST_TIME'] + 1800), 'Expires' => gmdate('D, d M Y H:i:s \G\M\T', $_SERVER['REQUEST_TIME'] + 1800),
'Vary' => 'Accept-Encoding',
'Last-Modified' => gmdate('D, d M Y H:i:s \G\M\T', $lastModified), 'Last-Modified' => gmdate('D, d M Y H:i:s \G\M\T', $lastModified),
'ETag' => "\"pub{$lastModified}\"", 'ETag' => "\"pub{$lastModified}\"",
'Cache-Control' => 'max-age=1800', 'Cache-Control' => 'max-age=1800',