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
Elan Ruusamäe
807f41903e
Merge pull request #642 from csabahete/master
...
Set "Vary: Accept-Encoding" header only if encoding is set and not empty
2019-09-19 10:30:56 +03:00
Elan Ruusamäe
b81ad2289a
Merge pull request #646 from dli7319/master
...
Do not pass undefined variables into compact() for PHP 7.3
2019-09-19 10:30:25 +03:00
Elan Ruusamäe
fecf395de3
Allow monolog v2 ( #650 )
2019-09-19 10:29:27 +03:00
Jason Varga
2bd66ae3f9
use phpunit from vendor
2019-09-18 15:02:27 -04:00
Jason Varga
4453f3a4cb
Allow monolog v2
2019-09-18 14:18:55 -04:00
David Li
f50353a952
Check if each variable is in the symbol table.
...
Delete if not before passing into compact.
2019-02-27 14:39:56 -05:00
Csaba Hete
bd7d1077b3
set "Vary: Accept-Encoding" header only if encoding is set and not empty
2018-11-06 19:24:25 +01:00
David Pauli
40f89b528c
#633 Remove from suggest
2018-05-16 16:15:07 +02:00
David Pauli
b1bbdccef0
#633 Move marcusschwarz/lesserphp from require-dev to require
2018-05-16 16:13:44 +02:00
Elan Ruusamäe
258e495451
Revert "simplify substr third param"
...
This reverts commit 5659799c4273b5b981a125b128d3cd7a640d86dc.
the change actually broken MinifyImportProcessorTest
2018-01-05 19:13:28 +02:00
Elan Ruusamäe
b97a1db01d
cleanup unneeded import
2018-01-05 19:09:42 +02:00
Elan Ruusamäe
3081a88dbd
Merge pull request #623 from glensc/cs2
...
Code Quality fixes
2018-01-05 18:32:57 +02:00
Elan Ruusamäe
df7fddfa09
import classes instead of manual qualify
2018-01-05 14:35:57 +02:00
Elan Ruusamäe
c580d24e1b
simplify return statement
2018-01-05 14:35:09 +02:00
Elan Ruusamäe
f9c96b6a3c
use in_array instead of array_search (clearer intent)
2018-01-05 14:34:43 +02:00
Elan Ruusamäe
d3decb27e1
strict comparison
2018-01-05 14:34:06 +02:00
Elan Ruusamäe
0038cdb5de
use empty string comparison instead of strlen
2018-01-05 14:34:06 +02:00