Remove usage of codeception/specify and fzaninotto/faker

This commit is contained in:
ErickSkrauch
2019-12-29 17:55:21 +03:00
parent 43a4a58053
commit 7607248c27
5 changed files with 12 additions and 11 deletions

View File

@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace common\components;
use mito\sentry\Component;
use Yii;
class Sentry extends Component {
public function init() {
if (!$this->enabled) {
return;
}
if (is_array($this->client) && !isset($this->client['release'])) {
$this->client['release'] = Yii::$app->version;
}
parent::init();
}
}