From 121b85534c69f02a9c5d49187f87e6e9cffd1dec Mon Sep 17 00:00:00 2001 From: W0rma Date: Mon, 23 Nov 2026 17:15:37 +0100 Subject: [PATCH 1/3] Upgrade to Bootstrap 5.3 and jQuery 3.8 Bootstrap 3 and jQuery 1.9 are end-of-life and jQuery 1.9 has known XSS vulnerabilities. Bootstrap 5.3 also ships a built-in dark mode, which is a prerequisite for #569. - Load Bootstrap 5.3.9, Bootstrap Icons 1.13.2 and jQuery 3.8.0 with SRI - Rewrite the navbar, dropdowns, carousels and phar accordion for BS5 - Shift grid classes one breakpoint up (sm->md, md->lg, lg->xl) so layouts switch at the same widths as before - Replace panels/wells with cards, glyphicons with Bootstrap Icons - Rename the add-ons page .card to .addon-card to avoid clashing with Bootstrap's .card - Add _base.scss to keep Bootstrap 3 typography, gutters and container widths, so the site looks the same - Keep .btn-default as a site-specific button style so generated module docs need no changes --- _includes/companies.html | 16 +-- _includes/frameworks.html | 8 +- _includes/hero.html | 2 +- _includes/joomla_hero.html | 2 +- _includes/js.html | 10 +- _includes/laravel_hero.html | 2 +- _includes/phalcon_hero.html | 2 +- _includes/phar.html | 98 +++++++-------- _includes/sponsors.html | 4 +- _includes/symfony_hero.html | 2 +- _includes/tweets.html | 14 +-- _includes/twitter.html | 2 +- _includes/wp_hero.html | 2 +- _includes/yii_hero.html | 2 +- _includes/zf_hero.html | 4 +- _layouts/bootstrap.html | 99 +++++++-------- _layouts/doc.html | 6 +- _layouts/page.html | 10 +- _layouts/post.html | 6 +- _scss/_algolia.scss | 6 +- _scss/_all.scss | 3 +- _scss/_base.scss | 119 ++++++++++++++++++ _scss/_main.scss | 236 ++++++++++++++---------------------- addons.html | 24 ++-- for/laravel.md | 8 +- for/phalcon.md | 10 +- for/yii.md | 10 +- index.html | 38 +++--- install.html | 12 +- js/scripts.js | 12 +- js/scripts.min.js | 2 +- quickstart.html | 78 ++++++------ thanks.html | 2 +- thanks_php5.html | 2 +- thanks_php80.html | 2 +- thanks_php82.html | 2 +- 36 files changed, 455 insertions(+), 402 deletions(-) create mode 100644 _scss/_base.scss diff --git a/_includes/companies.html b/_includes/companies.html index 2b796003c..1249adbde 100644 --- a/_includes/companies.html +++ b/_includes/companies.html @@ -1,31 +1,31 @@ -
+ -
+ -
+ -
+ -
+ -
+ -
+ -
+ \ No newline at end of file diff --git a/_includes/frameworks.html b/_includes/frameworks.html index e8e305b13..0334ffd62 100644 --- a/_includes/frameworks.html +++ b/_includes/frameworks.html @@ -1,5 +1,5 @@
-
+ -
+ -
+ -
+
Phalcon diff --git a/_includes/hero.html b/_includes/hero.html index b63456449..b1f518cc2 100644 --- a/_includes/hero.html +++ b/_includes/hero.html @@ -1,7 +1,7 @@
- code example + code example

PHP Testing for
everyone_

Codeception collects and shares best practices and solutions for testing PHP web applications. With a diff --git a/_includes/joomla_hero.html b/_includes/joomla_hero.html index efea67de8..30cb10cc8 100644 --- a/_includes/joomla_hero.html +++ b/_includes/joomla_hero.html @@ -2,7 +2,7 @@

-
+

Codeception for Joomla diff --git a/_includes/js.html b/_includes/js.html index 8bee78f05..3758d605e 100644 --- a/_includes/js.html +++ b/_includes/js.html @@ -1,7 +1,9 @@ - - + + \ No newline at end of file diff --git a/_includes/laravel_hero.html b/_includes/laravel_hero.html index fad0bacef..d925392fa 100644 --- a/_includes/laravel_hero.html +++ b/_includes/laravel_hero.html @@ -2,7 +2,7 @@
-
+

Codeception for Laravel Framework Laravel diff --git a/_includes/phalcon_hero.html b/_includes/phalcon_hero.html index 5ae0f4a36..fe97d2e32 100644 --- a/_includes/phalcon_hero.html +++ b/_includes/phalcon_hero.html @@ -2,7 +2,7 @@
-
+

Codeception for Phalcon

diff --git a/_includes/phar.html b/_includes/phar.html index 0a2465991..c724efe1a 100644 --- a/_includes/phar.html +++ b/_includes/phar.html @@ -1,24 +1,23 @@ -
-
-
-

- +
+ -
-
+
+ -
-
-

- +
+ -
-
+
-
+ -
+
wget https://codeception.com/php80/codecept.phardownload 
+ target="_blank">download
@@ -60,25 +58,24 @@

-
-
-

- +
+ -
-
+
+
-
+ -
+
-
wget https://codeception.com/codecept.phardownload 
+
wget https://codeception.com/codecept.phardownload 
@@ -88,26 +85,25 @@

-
-
-

- +
+ -
-
+
+
-
+ -
+
wget https://codeception.com/php56/codecept.phardownload 
+ target="_blank">download
@@ -117,17 +113,17 @@

-
-
-

- +
+ -
-
+
+
sudo curl -LsS https://github.com/Codeception/Codeception/releases/latest/download/codecept.phar -o /usr/local/bin/codecept
sudo chmod a+x /usr/local/bin/codecept
diff --git a/_includes/sponsors.html b/_includes/sponsors.html index 788179c46..cf68ff83d 100644 --- a/_includes/sponsors.html +++ b/_includes/sponsors.html @@ -1,7 +1,7 @@
-
+

Premium Sponsors

@@ -24,7 +24,7 @@

Premium Sponsors

- + diff --git a/_includes/symfony_hero.html b/_includes/symfony_hero.html index 551560d17..d9492d01b 100644 --- a/_includes/symfony_hero.html +++ b/_includes/symfony_hero.html @@ -2,7 +2,7 @@
-
+

Codeception for Symfony Framework diff --git a/_includes/tweets.html b/_includes/tweets.html index 8bb370128..e5b11f55d 100644 --- a/_includes/tweets.html +++ b/_includes/tweets.html @@ -1,4 +1,4 @@ -
+ -
+ -
+ -
+ -
+ -
+ -
+