1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-05 05:38:14 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
Elan Ruusamäe
eff278193b Apply php-cs-fixer new rules 2019-12-11 17:06:18 +02:00
Elan Ruusamäe
5c300aca97 do not define default value 2018-01-05 14:28:28 +02:00
Steve Clay
16c811cd93 Big style cleanup 2016-10-16 15:13:38 -04:00
Elan Ruusamäe
5fb7ea1ed1 phpcs: enable psr2 2016-10-16 18:51:49 +03:00
Elan Ruusamäe
0cc631c5a9 php-cs fixes
1) Minify.php (return)
   2) Minify/Env.php (return)
   3) Minify/JS/JShrink.php (return)
   4) Minify/HTML/Helper.php (return)
   5) Minify/Logger/LegacyHandler.php (unused_use)
   6) Minify/Lines.php (return)
   7) Minify/Controller/Files.php (unused_use)
   8) Minify/ControllerInterface.php (unused_use)
   9) Minify/Cache/File.php (return)
2016-10-16 16:44:58 +03:00
Steve Clay
31518971be Merge pull request #501 from glensc/minify-env
do not require SERVER_SOFTWARE being present in $server
2016-06-08 10:14:02 -04:00
Steve Clay
de39966e9c Makes sure all file/dir paths are normalized to prepare for comparing.
Particularly the system docRoot and currentDir values passed to the URI
rewriter and the allowDirs check.
2016-05-12 13:29:54 -04:00
Steve Clay
4710509c68 Large restructuring
Moves all dependency building into App
bootstrap.php returns an App instance
The app loads config files as necessary
Moves logging to Monolog
Moves HTTP digest auth to packagist component
Rely on sys_get_temp_dir
Env hosts $_POST and allows defaults when reading
HTML helper uses the App and can handle less files
Source factory assumes strings are filenames
Fixes JsClosureCompilerTest::test6 (API now handles ES5 by default)
Exclude JsClosureCompilerTest due to API limitations
config.php can now return a Minify\Config object
Variables set in config.php are now moved to a `Minify\Config` object,
allowing better static analysis.
The `zlib.output_compression` set is moved into `Minify::serve`.
2016-03-10 18:44:23 -05:00
Elan Ruusamäe
379feaba99 do some trivial codestyle fixes
unix newlines, trailing spaces
2016-01-22 00:38:12 +02:00
Elan Ruusamäe
22d34533ac do not require SERVER_SOFTWARE being present in $server 2016-01-20 16:00:39 +02:00
Steve Clay
a0d99f5be5 Make sure doc root rtrimmed in Env 2015-09-29 11:29:52 -04:00
Steve Clay
e596b35fc4 Collapse "min" into project root and get unit tests working.
Fixes #472
2015-09-28 15:39:25 -04:00