cakephp
cakephp copied to clipboard
CakePHP: The Rapid Development Framework for PHP - Official Repository
### Description Hello. Just check the generated query: ````sql SELECT RedeemedFinishedBonus.bonus_uid AS RedeemedFinishedBonus__bonus_uid, RedeemedFinishedBonus.player_id AS RedeemedFinishedBonus__player_id, RedeemedFinishedBonus.redeemed_count AS RedeemedFinishedBonus__redeemed_count FROM redeemed_finished_bonus RedeemedFinishedBonus WHERE id = ( SELECT ( MAX(id) )...
- Make `Datbase\Query` abstract - Code cleanup Refs #16648
This is the first prototype to add a enum DB type. PHP 8.1 added general support for enums and for this example we are looking at the backed enums which...
### Description Upgrade to 4.4 - Deprecated BaseErrorHandler in one of many * .js files from webroot - only for one of many plugins (it's like the others - created...
### Description ``` 1) Cake\Test\TestCase\Http\Client\Auth\OauthTest::testRsaSigningString RuntimeException: openssl error: error:0A000126:SSL routines::unexpected eof while readingerror:0A000197:SSL routines::shutdown while in init /home/runner/work/cakephp/cakephp/src/Http/Client/Auth/Oauth.php:388 /home/runner/work/cakephp/cakephp/src/Http/Client/Auth/Oauth.php:223 /home/runner/work/cakephp/cakephp/src/Http/Client/Auth/Oauth.php:72 /home/runner/work/cakephp/cakephp/tests/TestCase/Http/Client/Auth/OauthTest.php:378 phpvfscomposer:///home/runner/work/cakephp/cakephp/vendor/phpunit/phpunit/phpunit:97 ``` ### CakePHP Version 4.4 ### PHP Version...
### Description hasErrors() call _readHasErrors(), _readHasErrors() call hasErrors() on objects You can make an infinite loop with that code : ```php $e = new Cake\ORM\Entity; $e->set('entity', $e); ``` __debugInfo() will...
### Description Still not sure this is actually a bug but can't get any help anywhere. this association ``` $this->belongsToMany('Bonus', [ 'foreignKey' => 'product_id', 'joinTable' => 'products_bonuses', 'className' => 'Products',...
### Description According to the [Entity Class documentation](https://api.cakephp.org/4.2/class-Cake.ORM.Entity.html), `__isset()` "Returns whether this entity contains a field named $field _regardless of if it is empty_" (emphasis added). However, the actual implementation...
### Description Hello In some case `$aTable->loadInto( $this, [ 'bTable.cTable' ] );` failed with error "_The `includeFields` association is not defined on `UserGroups`. Valid associations are: Parent, SiblingChildren_". Sorry, I've...
### Description Attaching a formatter to a contained association using `formatResults` usually works like this: The Association attaches a Formatter to the primary query, in which it assembles a Collection...