Skip to content

Commit

Permalink
upgrade cakephp app skeleton to 4.4 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnizzardini authored Jun 23, 2022
1 parent 0fa99cc commit 51ffaaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .assets/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
use Cake\Core\Configure;
use Cake\Core\Configure\Engine\PhpConfig;
use Cake\Datasource\ConnectionManager;
use Cake\Error\ConsoleErrorHandler;
use Cake\Error\ErrorHandler;
use Cake\Error\ErrorTrap;
use Cake\Error\ExceptionTrap;
use Cake\Http\ServerRequest;
Expand Down Expand Up @@ -122,7 +120,6 @@
/*
* Register application error and exception handlers.
*/
$isCli = PHP_SAPI === 'cli';
(new ErrorTrap(Configure::read('Error')))->register();
(new ExceptionTrap(Configure::read('Error')))->register();

Expand All @@ -133,6 +130,7 @@
require __DIR__ . '/bootstrap_cli.php';
}


/*
* Set the full base URL.
* This URL is used as the base of all absolute links.
Expand Down
2 changes: 1 addition & 1 deletion .docker/php/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/cakephp' ]; then
fi

COMPOSER_MEMORY_LIMIT=-1
composer create-project --prefer-dist --no-interaction cakephp/app:~4.2 .
composer create-project --prefer-dist --no-interaction cakephp/app:^4.4 .
rm -rf .github
cp config/.env.example config/.env
cp config/app_local.example.php config/app_local.php
Expand Down

0 comments on commit 51ffaaa

Please sign in to comment.