cakephp
cakephp copied to clipboard
CakePHP: The Rapid Development Framework for PHP - Official Repository
### Description Add `static` return type for methods returning `$this` ### CakePHP Version 6.0
### Description Add rector to CI with --dry-run param Add guide how to use rector to https://github.com/cakephp/cakephp/wiki Based on this issue: https://github.com/cakephp/cakephp/issues/17756 ### CakePHP Version _No response_
### Description Refs #17746. We can't do it in 5.x as it would be a BC break so punting it for 6.0 ### CakePHP Version _No response_
### Description Just like https://github.com/cakephp/cakephp/issues/17375 we should also get rid of all the `_` prefixes in our method names. There are quite a few:  After this is done rector...
### Description I have found the `union` SelectQuery method quite useful, but I was curious if an `intersect` (and `intersectAll`) method could be added to SelectQuery as well? ### CakePHP...
### Description There were already tickets like https://github.com/cakephp/cakephp/issues/14741 but for other motivations. When dealing with non-DB collections, e.g. from XML or array source, there is currently no good way to...
Hi, cakephpers!! Thank you all who relate this project!!! ### What happens to me I was implementing a feature that sends email with attachment files according [this article](https://book.cakephp.org/5/en/core-libraries/email.html#sending-attachments). If the...
### Description I have this finder ``` $parameters = $this->fetchTable('Parameters')->find() ->select(['altitude', 'time']) ->distinct('time') ->where(['tour_id' => $tourID, 'time > ' => $start_time, 'time < ' => $stop_time]) ->orderByAsc('time') ->all() ; $this->set('missingParameters',...
### Description Is the inline style of the [hiddenBlock template](https://github.com/cakephp/cakephp/blob/2eecad68ca9d957f41a0cd2a76c6e111cb019d4e/src/View/Helper/FormHelper.php#L125) necessary? That messes with CSP, as one has to allow unsafe-inline in style-src, or use custom template to get rid...