Author: Sergey Panteleev (saundefined) Date: 2025-07-21T18:51:34+03:00 Commit: https://github.com/php/web-php/commit/eb4d84875ed1934c0e282398bc571d4e9213534d Raw diff: https://github.com/php/web-php/commit/eb4d84875ed1934c0e282398bc571d4e9213534d.diff
Should fix tests Changed paths: M downloads-get-instructions.php M styles/theme-base.css Diff: diff --git a/downloads-get-instructions.php b/downloads-get-instructions.php index 67c663373c..c15672898b 100644 --- a/downloads-get-instructions.php +++ b/downloads-get-instructions.php @@ -2,6 +2,14 @@ $file = 'unknown'; $latestPhpVersion = '8.4'; +if (!isset($options)) { + $options = [ + 'os' => '', + 'usage' => '', + 'version' => '', + ]; +} + if ($options['os'] === 'windows') { if ($options['osvariant'] === 'windows-wsl-debian') { $options['os'] = 'linux'; diff --git a/styles/theme-base.css b/styles/theme-base.css index 45bbea5a9c..298be51d16 100644 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -508,20 +508,6 @@ div.classsynopsisinfo_comment { margin-top:1.5rem; } -.phpcode { - background-color: #FFF; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); - border-radius: 0 0 2px 2px; - overflow-x: auto; - display: flex; - align-items: center; - width: 100%; - height: 100%; - padding: 0 1.5rem; - box-sizing: border-box; - margin: 0; -} - .instructions { margin-bottom: 2rem; }