Zmieniło się: typowanie, json, fetchTable
$proj_table = $this->fetchTable("Projects");
/src/Model/Entity/ – przy zm. $_hidden, $_accessible trzeba typować: array
protected array $_accessible = [ ....
Zend.assertions, DebugKit: komunikat cakephp 5.2.8: You should set zend.assertions to 1 in your php.ini for your development environment
w pliku /etc/php/8.4/fpm/php.ini
# nano php.ini Ctrl-W: zend.assertions w sekcji [Assertion] Nadpisać: zend.assertions = 1 # systemctl restart php8.4-fpm
DebugKit
# composer require --dev cakephp/debug_kit "~5.0" # bin/cake plugin load DebugKit
config/app.php
'DebugKit' => [ 'forceEnable' => filter_var(env('DEBUG_KIT_FORCE_ENABLE', true), FILTER_VALIDATE_BOOLEAN),