dmitry-kulikov/yii2-braintree

View on GitHub
src/ActiveField.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to undeclared class \yii\bootstrap\ActiveField (Did you mean class \tuyakhov\braintree\ActiveField)
Open

        parent::init();
Severity: Critical
Found in src/ActiveField.php by phan

Possibly zero references to public method \tuyakhov\braintree\ActiveField::init()
Open

    public function init()
Severity: Minor
Found in src/ActiveField.php by phan

Reference to undeclared property \tuyakhov\braintree\ActiveField->attribute
Open

        $inputName = explode('_', $this->attribute);
Severity: Minor
Found in src/ActiveField.php by phan

Reference to undeclared property \tuyakhov\braintree\ActiveField->inputOptions
Open

        $this->inputOptions = array_merge(
Severity: Minor
Found in src/ActiveField.php by phan

Call to method underscore from undeclared class \yii\helpers\Inflector
Open

                'data-braintree-name' => Inflector::underscore($inputName[0]),
Severity: Critical
Found in src/ActiveField.php by phan

Reference to undeclared property \tuyakhov\braintree\ActiveField->inputOptions
Open

        $config = array_merge(['options' => $this->inputOptions], $config);
Severity: Minor
Found in src/ActiveField.php by phan

Class extends undeclared class \yii\bootstrap\ActiveField (Did you mean class \tuyakhov\braintree\ActiveField)
Open

class ActiveField extends \yii\bootstrap\ActiveField
Severity: Critical
Found in src/ActiveField.php by phan

Possibly zero references to public method \tuyakhov\braintree\ActiveField::widget()
Open

    public function widget($class, $config = [])
Severity: Minor
Found in src/ActiveField.php by phan

Reference to undeclared class \yii\bootstrap\ActiveField (Did you mean class \tuyakhov\braintree\ActiveField)
Open

        return parent::widget($class, $config);
Severity: Critical
Found in src/ActiveField.php by phan

Reference to undeclared property \tuyakhov\braintree\ActiveField->inputOptions
Open

            $this->inputOptions
Severity: Minor
Found in src/ActiveField.php by phan

There are no issues that match your filters.

Category
Status