1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 15:22:19 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
Andreas Möller
1ebc2c4996 Enhancement: Enable binary_operator_spaces fixer
Closes GH-667.
2022-08-22 19:17:38 +02:00
Andreas Möller
57f505ed58 Enhancement: Enable and configure concat_space fixer
Closes GH-657.
2022-08-22 19:04:47 +02:00
Andreas Möller
d9bcfed482 Enhancement: Enable array_syntax fixer
Co-authored-by: MathiasReker <mathias@reker.dk>

Closes GH-659.
2022-08-22 18:59:14 +02:00
Andreas Möller
b3c9551c93 Enhancement: Enable no_extra_blank_lines fixer
Closes GH-646.
2022-07-12 14:26:18 +02:00
Andreas Möller
4b3e3c9a6b Enhancement: Enable whitespace_after_comma_in_array fixer
Closes GH-637.
2022-07-11 20:13:00 +02:00
Derick Rethans
b2b48ca1e0 Remove references, redirects, and selection of mirrors 2019-04-01 11:27:09 +01:00
Peter Kokot
dd8d8bf863 Sync final and leading newlines
This patch adds some missing newlines, trims some multiple redundant
final newlines into a single one, and trims few redundant leading
newlines.

According to POSIX, a line is a sequence of zero or more non-'<newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-17 12:37:26 +02:00
Peter Kokot
e235f79473 Trim trailing whitespace
This patch cleans all redundant trailing whitespace across the
repository except for the icalendar files.
2018-10-17 10:51:08 +02:00
Rasmus Lerdorf
293c89ed3e *sigh* 2014-04-10 02:40:21 -07:00
Rasmus Lerdorf
efc35ac0f0 Prevent response header splitting 2014-03-12 08:11:21 -07:00
Hannes Magnusson
d807946a24 Actually cache the page for a month 2014-03-10 10:35:14 -07:00
Hannes Magnusson
a11e8ce9bd Enable compression on all pages
Dear god. How come I always thought this setting was PHP_INI_SYSTEM?!??!
And why has noone ever done this before?
2013-12-03 23:22:14 -08:00
Hannes Magnusson
e36e36e0a4 Variable typo 2013-11-22 00:50:14 -08:00
Hannes Magnusson
c7cdf75158 Maybe some mirrors are using symlinks for the docroot, thats why its failing? 2013-11-22 00:48:56 -08:00
Hannes Magnusson
e3ce6e7728 Cache & attempt to gzip the search indexes 2013-11-22 00:07:04 -08:00
Hannes Magnusson
f9bafe1cc5 Create a quick cached wrapper to attempt to gzip and cache static files
We don't really control how the mirrors configure these things,
so we have to do it ourselves..
2013-11-21 23:23:46 -08:00