History log of /web-php/images/supported-versions.php (Results 1 – 11 of 11)
Revision Date Author Comments
# 786d1c5b 06-Dec-2023 Andreas Möller

Fix: Add return type declarations (#865)


# 73a99691 29-Aug-2023 Andreas Möller

Enhancement: Enable `new_with_braces` fixer (#697)


# f71b6c73 19-Jul-2023 Javier Eguiluz

Add woff2 fonts and other font related tweaks (#752)

The following changes are made in this commit:

**(1)** Add the WOFF2 variant of web fonts. [WOFF2 standard](https://w3c.github.i

Add woff2 fonts and other font related tweaks (#752)

The following changes are made in this commit:

**(1)** Add the WOFF2 variant of web fonts. [WOFF2 standard](https://w3c.github.io/woff/woff2/) reduces the file sizes significantly. This is important to make our website more accessible to folks with limited Internet connections.

96% of browsers support WOFF2 ([source](https://caniuse.com/?search=woff2)) and we still have WOFF and TTF/OTF/EOT formats for those edge-cases which don't support it.

Real examples of the file size reductions for php.net:

```
Fira Sans Regular: 183 KB (woff) -> 129 KB (woff2) --> 30% reduction in size
Fira Mono Regular: 87 KB (woff) -> 65 KB (woff2) --> 35% reduction in size
```

**(2)** Use `font-display: swap` for web fonts (see [MDN Docs for font-display](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display))

This is recommended to not block the rendering the page for a long time if the web font is not available. Again, this is important for folks with suboptimal network connections.

The `swap` value is also the default option in popular font services like [Google Fonts](https://fonts.google.com/).

**(3)** Update the list of alternative font families.

I updated the sans-serif and mono font stack used in the design. The new stacks are much longer (not a problem in practice thanks to CSS variables) but they cover all common browsing devices (including smartphones). I crafted the list from the recommended font stacks of the most popular CSS frameworks and the most popular websites for developers.

show more ...


# 57f505ed 22-Aug-2022 Andreas Möller

Enhancement: Enable and configure `concat_space` fixer

Closes GH-657.


# d9bcfed4 22-Aug-2022 Andreas Möller

Enhancement: Enable `array_syntax` fixer

Co-authored-by: MathiasReker <mathias@reker.dk>

Closes GH-659.


# f3585d9b 11-Jul-2022 Andreas Möller

Enhancement: Enable `indentation_type` fixer

Closes GH-622.


# 1e7a49e2 28-Jun-2022 Andreas Möller

Fix: Remove unused local variables

Closes GH-578.


# c0afd74b 31-May-2019 Sara Golemon

Swap uses of _SERVER[DOCUMENT_ROOT] for __DIR__

2/4 - Update remaining except archives/ and release/.


# 0895bddd 30-Jul-2018 Javier Eguiluz

Fixed the vertical align of "supported versions" chart


# 359f4a37 28-Oct-2014 Adam Harvey

Colour code the branches on the supported version SVG.


# f1a3ca46 27-Oct-2014 Adam Harvey

Add a draft supported versions page, as suggested on Internals.