Closed alphp closed 4 years ago
Thanks for the PR. Did you try to add tests for CakePHP 4.0 for Travis? Would be interesting to see which tests fail for CakePHP 4 to make a complete PR.
BreadcrumbsHelperTest.php:25
$view = new View();
That's produces Router::url thats not work. I am trying to understand how to create the view for Router: url to work correctly.
I think it is better to create a new branch of the plugin that is compatible with CakePHP 4. It is the best way to keep the code of strange things clean to maintain the compatibility of the CakePHP 3 and 4 tests at the same time.
Thanks for trying. I will probably make a new repository for CakePHP 4, because this one already have branches for Bootstrap 3 & 4.
My tests do not require many modifications to make the plugin compatible with CakePHP 4, in addition many of them have backward compatibility with CakePHP 3. Where I am having more difficulties is with the tests and the date-time type form, which in CakePHP 4 is already a text field. You can follow my progress in: https://github.com/fawno/cakephp3-bootstrap-helpers/tree/cakephp-4.0-support https://travis-ci.org/fawno/cakephp3-bootstrap-helpers
Some changes for CakePHP-4.0 support. Compatibility with CakePHP-3.8.2 tested.