NottingHack / hms

Hackspace Management System
4 stars 7 forks source link

Update Cake to 2.8.x #122

Closed dpslwk closed 8 years ago

dpslwk commented 8 years ago

We are curretnly only on 2.6.x also 2.8 is php7 complatible

Only thing I can see in the migration guides that might be of note is

CakeText

The class String has been renamed to CakeText. This resolves some conflicts around HHVM compatibility as well as possibly PHP7+. There is a String class provided as well for compatibility reasons.

dpslwk commented 8 years ago

Also form 2.7 migration

Validation Validation::notEmpty() has been renamed to Validation::notBlank(). This aims to avoid confusion around the PHP notEmpty() function and that the validation rule accepts 0 as valid input.

dpslwk commented 8 years ago

And possible this from 2.8

Deprecations The action option in FormHelper::create() has been deprecated. This is a backport from 3.x. Note that this now makes the action key of an array URL consistently respected for the generation of the DOM ID. If you used the deprecated key you want to compare the generated ID for the form before and after.