From 7834c53086be922fbc929eb7d953fdd82126e90c Mon Sep 17 00:00:00 2001 From: Joan Miquel Date: Fri, 7 Feb 2025 16:51:30 +0100 Subject: [PATCH] Update Cakephp to v5.1 --- .../_benchmark/cakephp/config/app_local.php | 0 .../_benchmark/cakephp/config/routes.php | 0 .../_benchmark/cakephp/src/Controller/HelloWorldController.php | 0 .../_benchmark/cakephp/webroot/index.php | 0 {cakephp-5.0 => cakephp-5.1}/_benchmark/clean.sh | 0 {cakephp-5.0 => cakephp-5.1}/_benchmark/clear-cache.sh | 0 {cakephp-5.0 => cakephp-5.1}/_benchmark/hello_world.sh | 0 {cakephp-5.0 => cakephp-5.1}/_benchmark/setup.sh | 2 +- {cakephp-5.0 => cakephp-5.1}/_benchmark/update.sh | 0 config | 2 +- 10 files changed, 2 insertions(+), 2 deletions(-) rename {cakephp-5.0 => cakephp-5.1}/_benchmark/cakephp/config/app_local.php (100%) rename {cakephp-5.0 => cakephp-5.1}/_benchmark/cakephp/config/routes.php (100%) rename {cakephp-5.0 => cakephp-5.1}/_benchmark/cakephp/src/Controller/HelloWorldController.php (100%) rename {cakephp-5.0 => cakephp-5.1}/_benchmark/cakephp/webroot/index.php (100%) rename {cakephp-5.0 => cakephp-5.1}/_benchmark/clean.sh (100%) rename {cakephp-5.0 => cakephp-5.1}/_benchmark/clear-cache.sh (100%) mode change 100755 => 100644 rename {cakephp-5.0 => cakephp-5.1}/_benchmark/hello_world.sh (100%) mode change 100755 => 100644 rename {cakephp-5.0 => cakephp-5.1}/_benchmark/setup.sh (81%) mode change 100755 => 100644 rename {cakephp-5.0 => cakephp-5.1}/_benchmark/update.sh (100%) mode change 100755 => 100644 diff --git a/cakephp-5.0/_benchmark/cakephp/config/app_local.php b/cakephp-5.1/_benchmark/cakephp/config/app_local.php similarity index 100% rename from cakephp-5.0/_benchmark/cakephp/config/app_local.php rename to cakephp-5.1/_benchmark/cakephp/config/app_local.php diff --git a/cakephp-5.0/_benchmark/cakephp/config/routes.php b/cakephp-5.1/_benchmark/cakephp/config/routes.php similarity index 100% rename from cakephp-5.0/_benchmark/cakephp/config/routes.php rename to cakephp-5.1/_benchmark/cakephp/config/routes.php diff --git a/cakephp-5.0/_benchmark/cakephp/src/Controller/HelloWorldController.php b/cakephp-5.1/_benchmark/cakephp/src/Controller/HelloWorldController.php similarity index 100% rename from cakephp-5.0/_benchmark/cakephp/src/Controller/HelloWorldController.php rename to cakephp-5.1/_benchmark/cakephp/src/Controller/HelloWorldController.php diff --git a/cakephp-5.0/_benchmark/cakephp/webroot/index.php b/cakephp-5.1/_benchmark/cakephp/webroot/index.php similarity index 100% rename from cakephp-5.0/_benchmark/cakephp/webroot/index.php rename to cakephp-5.1/_benchmark/cakephp/webroot/index.php diff --git a/cakephp-5.0/_benchmark/clean.sh b/cakephp-5.1/_benchmark/clean.sh similarity index 100% rename from cakephp-5.0/_benchmark/clean.sh rename to cakephp-5.1/_benchmark/clean.sh diff --git a/cakephp-5.0/_benchmark/clear-cache.sh b/cakephp-5.1/_benchmark/clear-cache.sh old mode 100755 new mode 100644 similarity index 100% rename from cakephp-5.0/_benchmark/clear-cache.sh rename to cakephp-5.1/_benchmark/clear-cache.sh diff --git a/cakephp-5.0/_benchmark/hello_world.sh b/cakephp-5.1/_benchmark/hello_world.sh old mode 100755 new mode 100644 similarity index 100% rename from cakephp-5.0/_benchmark/hello_world.sh rename to cakephp-5.1/_benchmark/hello_world.sh diff --git a/cakephp-5.0/_benchmark/setup.sh b/cakephp-5.1/_benchmark/setup.sh old mode 100755 new mode 100644 similarity index 81% rename from cakephp-5.0/_benchmark/setup.sh rename to cakephp-5.1/_benchmark/setup.sh index f85a2a5..00793e5 --- a/cakephp-5.0/_benchmark/setup.sh +++ b/cakephp-5.1/_benchmark/setup.sh @@ -1,7 +1,7 @@ #!/bin/sh # create project rm -rf _benchmark/temp -composer create-project --prefer-dist cakephp/app:5.0.* ./_benchmark/temp --ansi +composer create-project --prefer-dist cakephp/app:5.1.* ./_benchmark/temp --ansi yes|mv ./_benchmark/temp/{.,}* ./ # have the route & controller diff --git a/cakephp-5.0/_benchmark/update.sh b/cakephp-5.1/_benchmark/update.sh old mode 100755 new mode 100644 similarity index 100% rename from cakephp-5.0/_benchmark/update.sh rename to cakephp-5.1/_benchmark/update.sh diff --git a/config b/config index 1d056a4..d6dab72 100644 --- a/config +++ b/config @@ -16,7 +16,7 @@ connections=500 # Frameworks list # Sorted alphabetically frameworks_list=" -cakephp-5.0 +cakephp-5.1 codeigniter-4.6 fastroute-1.3 fatfree-3.9