slywalker / cakephp-plugin-boost_cake

Bootstrap Plugin for CakePHP
http://slywalker.github.io/cakephp-plugin-boost_cake/
278 stars 93 forks source link

Incompatible method signatures with Cake v2.5 #62

Closed beporter closed 10 years ago

beporter commented 10 years ago

After upgrading an existing v2.4.7 project to Cake v2.5.1, I started encountering the following PHP Strict warnings:

Strict (2048): Declaration of BoostCakeFormHelper::end()
 should be compatible with
 FormHelper::end($options = NULL, $secureAttributes = Array) 
[APP/Plugin/BoostCake/View/Helper/BoostCakeFormHelper.php, line 5]

It seems like BoostCake's override of this method needs to be updated to match the method signature in the core.

beporter commented 10 years ago

This might be a composer caching issue. I had to run the following in order to "fix" the issue I described above:

rm -rf Plugin/BoostCake
composer install