Marcelo Rocha

Results 30 comments of Marcelo Rocha

You should be able to do include new fields on register page, just overwrite the template. For login you could create a custom event listener for Plugin::EVENT_AFTER_LOGIN to save any...

Make to create permissions file and allow access to your custom controller, see https://github.com/CakeDC/users/blob/11.next-cake4/config/permissions.php

I see you are using users plugin, add this config `'Auth.RbacPolicy.adapter.log' => false`

Yes, trait is not supported. If you have a base Service class that uses LocatorAwareTrait you could have phpstan config as it is done at https://github.com/CakeDC/cakephp-phpstan/blob/master/extension.neon#L13 . Note that `$this->getTableLocator()->get('MyModel')`...

@dereuromark No, unfortunately we can't handle return types of trait. The line you mentioned is to handle calls to fetchTable inside Mailer class.

I remeber to have a ticket about trait on PHPStan github but It does not seems to have any progress

Which CakePHP version you have chosen? For over master branch please choose a CakePHP 3.x version, if you want to test CakePHP 4 use the branch https://github.com/CakeDC/oven/tree/feature/cakephp4