Mark Scherer
Mark Scherer
Is there a solution for traits and fetchTable() yet?
Interesting: For me $this->fetchTable('DatabaseLog.DatabaseLogs')->removeDuplicates(); works, but protected ?string $defaultTable = 'DatabaseLog.DatabaseLogs'; and $this->fetchTable()->removeDuplicates(); results in 34 Call to an undefined method Cake\ORM\Table::removeDuplicates(). Probably the defaultTable property should be read for...
Is this repo still maintained? Do you have an interest in taking some of the bugs and features outlined in the repo into consideration?
Not sure if too many buttons would be helpful. If you want specifics it is best to just manually include it IMO :)
The same issue appears for dereuromark/setup-cakephp vs dereuromark/cakephp-setup Only the latter should be shown. => https://github.com/dereuromark/cakephp-setup
Do you plan to continue this tool again? Or is it abandoned?
Has this been tackled yet? I only see mailer in relation to factory: CakeDC\PHPStan\Type\TableLocatorDynamicReturnTypeExtension(Cake\Mailer\Mailer, fetchTable)
Can escalate this further to PHPStan to get "fixed up" I wonder?
https://github.com/phpstan/phpstan/issues/5761 still open, jep
Feel free to provide a PR here.