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\Date; |
||
| 4 | use Ffcms\Core\Helper\HTML\Form; |
||
| 5 | use Ffcms\Core\Helper\Type\Str; |
||
| 6 | use Ffcms\Core\Helper\Url; |
||
| 7 | |||
| 8 | /** @var $model Apps\Model\Front\Profile\FormIgnoreDelete */ |
||
| 9 | /** @var $this object */ |
||
| 10 | |||
| 11 | $this->title = __('Blacklist user remove'); |
||
| 12 | |||
| 13 | $this->breadcrumbs = [ |
||
| 14 | Url::to('main/index') => __('Home'), |
||
| 15 | Url::to('profile/show', \App::$User->identity()->getId()) => __('Profile'), |
||
| 16 | Url::to('profile/ignore') => __('Blacklist'), |
||
| 17 | __('Blacklist cleanup') |
||
| 18 | ]; |
||
| 19 | |||
| 20 | ?> |
||
| 21 | |||
| 22 | <?= $this->render('profile/_settingsTab') ?> |
||
| 23 | <h1><?= __('Remove user from blacklist') ?></h1> |
||
| 24 | <hr /> |
||
| 25 | <?php $form = new Form($model, ['class' => 'form-horizontal', 'action' => '', 'method' => 'post']) ?> |
||
| 26 | <?= $form->start() ?> |
||
|
0 ignored issues
–
show
|
|||
| 27 | <div class="row"> |
||
| 28 | <div class="col-md-3"> |
||
| 29 | <label class="pull-right"><?= $model->getLabel('name') ?></label> |
||
| 30 | </div> |
||
| 31 | <div class="col-md-9"> |
||
| 32 | <?= Url::link(['profile/show', $model->id], Str::likeEmpty($model->name) ? __('No name') : $model->name, ['target' => '_blank']) ?> |
||
| 33 | </div> |
||
| 34 | </div> |
||
| 35 | |||
| 36 | <p><?= __('Are you sure to remove this user from your blacklist?') ?> <?= __('No any attentions will be displayed!') ?></p> |
||
| 37 | |||
| 38 | <div class="col-md-9 col-md-offset-3"><?= $form->submitButton(__('Remove'), ['class' => 'btn btn-danger']) ?></div> |
||
| 39 | <?= $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.