1
0
mirror of https://github.com/mrclay/minify.git synced 2025-04-22 13:22:06 +02:00

769 Commits

Author SHA1 Message Date
Elan Ruusamäe
1962d3614c Fill changelog for 3.0.12 3.0.12 2022-05-14 14:11:27 +03:00
Elan Ruusamäe
2226a6add1
Merge pull request #696 from 0m3r/patch-1
Fix null argument to preg_split
2022-05-14 14:11:22 +03:00
Oleksandr Krasko
8b91de51c3 Fix null argument to preg_split
Deprecated Functionality: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated

https://www.php.net/manual/en/function.preg-split.php#refsect1-function.preg-split-parameters

limit:

If specified, then only substrings up to limit are returned with the
rest of the string being placed in the last substring. A limit of -1 or
0 means "no limit".

Refs:
- https://www.drupal.org/project/geshifilter/issues/3262325

Signed-off-by: Elan Ruusamäe <glen@pld-linux.org>
2022-05-14 14:01:14 +03:00
Elan Ruusamäe
1c000f9d05
Merge pull request #692 from venkatraj/dev-master 2022-01-04 10:14:13 +02:00
N. Venkat Raj
cbda49556e updated jquery version to avoid xss attacks 2022-01-04 13:36:07 +05:30
Elan Ruusamäe
c80add80a2
Merge pull request #687 from mrclay/php-8-testing 2021-03-11 17:51:57 +02:00
Elan Ruusamäe
ad732493b8 Remove php 7.4 from allow failures 2021-03-11 14:04:50 +02:00
Elan Ruusamäe
ad0fb95556 Disable less tests on php 7.4+ 2021-03-11 14:04:45 +02:00
Elan Ruusamäe
f1572a580a Prepare for 3.0.11 release 3.0.11 2021-03-11 13:58:14 +02:00
Elan Ruusamäe
40f9dafe5f
Merge pull request #685 from mrclay/php-8
Disable less tests on php 7.4+
2021-03-11 13:48:29 +02:00
Elan Ruusamäe
c814ff4bae
Merge pull request #682 from angrybrad/master
Add PHP 8 support in composer.json
2021-03-11 13:47:59 +02:00
Elan Ruusamäe
8382fb85d8 Disable less tests on php 7.4+ 2020-12-01 16:16:43 +02:00
Elan Ruusamäe
efec97278f
Merge pull request #677 from mrclay/php-7.4 2020-10-24 20:29:56 +03:00
Elan Ruusamäe
e9d4db41ac Add php nightly test
This adds php 8.0 to the test matrix
2020-10-24 18:52:22 +03:00
Elan Ruusamäe
b89bc57164 Fix Array and string offset access syntax with curly braces is deprecated 2020-10-24 18:52:22 +03:00
Brad Bell
69e3eb241f Add PHP 8 support in composer.json 2020-10-23 12:53:19 -07:00
Elan Ruusamäe
b17c00c05c Make code symmetric: Check on ConditionalGet as well
This partly reverts 5705fc9d899843fe8f6b6e0d361ccf01974b34a1
2020-07-12 10:34:01 +03:00
Elan Ruusamäe
e3fe3001c3 Avoid calling get_magic_quotes_gpc() in tests for php >= 5.4 2020-07-12 10:33:58 +03:00
Elan Ruusamäe
8600312ed1
Merge pull request #672 from mrclay/fixer-psr2
Setup php-cs-fixer (@PSR2 rules only); Enable running in CI
2020-04-03 11:59:24 +03:00
Elan Ruusamäe
070c6c0349 Allow failures for php-cs-fixer 2020-04-03 10:48:29 +03:00
Elan Ruusamäe
b31855f6b8 Apply php-cs-fixer fixers
- braces
- function_declaration
- lowercase_keywords
- method_argument_space
- no_spaces_inside_parenthesis
- no_trailing_whitespace
- no_trailing_whitespace_in_comment
- single_blank_line_at_eof
2020-04-03 10:47:27 +03:00
Elan Ruusamäe
031e804d08 Run php-cs-fixer in Travis CI 2020-04-03 10:42:46 +03:00
Elan Ruusamäe
263381a23f Setup php-cs-fixer
Setup only to apply @PSR2 rules
2020-04-03 10:42:46 +03:00
Elan Ruusamäe
a36bfd50b0 Minor changelog fixes 2020-04-03 10:30:36 +03:00
Elan Ruusamäe
8dba84a2d2 Prepare for 3.0.10 release 3.0.10 2020-04-02 22:47:26 +03:00
Andrew Welch
0f607be23a
Exclude SSI Comments (#670)
* Exclude SSI comments

Exclude Nginx & Apache Server Side Include (SSI) comments from being stripped via minification, the same way IE directives are not stripped.

Both Nginx & Apache SSI directives begin with:

<!—#

So we can just look for the # and don’t strip the comment in that case.

Nginx SSI: http://nginx.org/en/docs/http/ngx_http_ssi_module.html

Apache SSI: https://httpd.apache.org/docs/2.4/howto/ssi.html

* Add tests for Nginx/Apache SSI directives

Co-authored-by: Andrew Welch <andrew@keluli.local>
2020-04-02 22:45:11 +03:00
Elan Ruusamäe
d2a3e8c1d2 Setup .semver (gem install semver or gem install semver2) 3.0.9 2020-03-24 21:30:43 +02:00
Elan Ruusamäe
e59454bed5 Add 3.0.9 release notes 2020-03-24 21:28:47 +02:00
Elan Ruusamäe
eb5197f9d4 Update phpunit.xml deprecated options, exclude vendor from code-coverage 2020-03-24 21:26:16 +02:00
Elan Ruusamäe
20f336f598 Travis: use 7.4 instead of 7.4snapshot 2020-03-24 21:26:16 +02:00
Elan Ruusamäe
94829874f9 Allow intervention/httpauth 3.x 2020-03-24 21:26:16 +02:00
Elan Ruusamäe
f0aa0aa7d7 Add changelog for 3.0.8 3.0.8 2020-03-19 18:42:53 +02:00
robbykrlos
5705fc9d89 Function get_magic_quotes_gpc() is now deprecated in PHP 7.4 #661
- removed deprecated function that since PHP 5.4.0 returns FALSE always, and since PHP 7.4 is deprecated.
2020-03-06 19:20:17 +02:00
Elan Ruusamäe
3036ee9f55 Add more reflinks to changelog 2020-01-30 13:19:52 +02:00
Elan Ruusamäe
6e3ae8417a Allow marcusschwarz/lesserphp updates again 2020-01-30 13:09:30 +02:00
Elan Ruusamäe
d39fdd9e6b Update changelog for 3.0.7 2020-01-30 13:08:06 +02:00
Elan Ruusamäe
d35e780865 Force lesserphp to v0.5.2 because v0.5.3 changed namespace 2019-12-31 11:59:27 +02:00
Elan Ruusamäe
7378a0efe8 Composer: sort packages, set platform version 3.0.7 2019-12-10 08:31:58 +02:00
Jason Varga
c0dd8f50a1 Upgrade mrclay/props-dic (#658)
* Upgrade mrclay/props-dic
* Also support existing version
2019-12-08 22:38:04 +02:00
Elan Ruusamäe
63a812af8d Update changelog for 3.0.6 3.0.6 2019-10-28 13:39:13 +02:00
Elan Ruusamäe
8836df06d2
Bugfix for option sanitizer (#655) 2019-10-28 13:38:13 +02:00
Matthias Zronek
2f33b69786 Bugfix for option sanitizer 2019-10-28 11:03:44 +01:00
Elan Ruusamäe
8e4b0ceb86 Update changelog to format similar to keepachangelog.com 2019-10-01 13:09:59 +03:00
Elan Ruusamäe
266ddd7d54 Update changelog for 3.0.5 3.0.5 2019-10-01 13:04:39 +03:00
Elan Ruusamäe
07ed67aa77
Fix syntax error in composer.json (#653) 2019-10-01 13:03:36 +03:00
Elan Ruusamäe
2bbcce054d travis: add php 7.3, 7.4, 8.0; remove hhvm 2019-10-01 12:52:50 +03:00
Elan Ruusamäe
9040437901 Fix unit test for bd7d1077 2019-10-01 11:40:04 +03:00
Elan Ruusamäe
f954e1bd58 Fix syntax error in composer.json 2019-10-01 10:35:33 +03:00
Elan Ruusamäe
a8a77e6054 Set 3.0.4 release date 3.0.4 2019-09-24 08:12:01 +03:00
Elan Ruusamäe
25065b1559
Merge pull request #634 from dpauli/#633-Move-lesserphp-to-require
#633 move lesserphp to require
2019-09-19 10:31:19 +03:00