phpffcms /
ffcms
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | |||
| 3 | use Ffcms\Core\Helper\HTML\Form; |
||
| 4 | use Ffcms\Core\Helper\Url; |
||
| 5 | /** @var $model Apps\Model\Front\Profile\FormPasswordChange */ |
||
| 6 | /** @var $this object */ |
||
| 7 | |||
| 8 | $this->title = __('Change password'); |
||
| 9 | |||
| 10 | $this->breadcrumbs = [ |
||
| 11 | Url::to('main/index') => __('Home'), |
||
| 12 | Url::to('profile/show', \App::$User->identity()->getId()) => __('Profile'), |
||
| 13 | __('Password') |
||
| 14 | ]; |
||
| 15 | |||
| 16 | ?> |
||
| 17 | |||
| 18 | <?= $this->render('profile/_settingsTab') ?> |
||
| 19 | |||
| 20 | <h1><?= __('Change password') ?></h1> |
||
| 21 | <hr /> |
||
| 22 | <?php $form = new Form($model, ['class' => 'form-horizontal', 'action' => '', 'method' => 'post']); ?> |
||
| 23 | |||
| 24 | <?= $form->start() ?> |
||
|
0 ignored issues
–
show
|
|||
| 25 | |||
| 26 | <?= $form->field('current', 'password', ['class' => 'form-control'], __('Enter your current account password')) ?> |
||
| 27 | <?= $form->field('new', 'password', ['class' => 'form-control'], __('Enter new password for account')) ?> |
||
| 28 | <?= $form->field('renew', 'password', ['class' => 'form-control'], __('Repeat new password for account')) ?> |
||
| 29 | |||
| 30 | <div class="col-md-offset-3 col-md-9"><?= $form->submitButton(__('Update'), ['class' => 'btn btn-primary']) ?></div> |
||
| 31 | |||
| 32 | <?= $form->finish() ?> |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.