Completed
Push — master ( 7261bd...99740c )
by Dmitry
05:03 queued 11s
created

src/views/tariff-profile/create.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
$this->title = Yii::t('hipanel', 'Create');
4
$this->params['breadcrumbs'][] = ['label' => Yii::t('hipanel.finance.tariffprofile', 'Tariff profiles'), 'url' => ['index']];
5
$this->params['breadcrumbs'][] = $this->title;
6
7
?>
8
9
<?= $this->render('_form', compact('model', 'client_id', 'client')) ?>
0 ignored issues
show
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...
10