These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /** |
||
3 | * @copyright Anton Tuyakhov <[email protected]> |
||
4 | */ |
||
5 | namespace tuyakhov\braintree; |
||
6 | |||
7 | use yii\web\AssetBundle; |
||
8 | |||
9 | class BraintreeAsset extends AssetBundle |
||
10 | { |
||
11 | public $sourcePath = '@npm/braintree-web/dist'; |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
12 | public $js = [ |
||
0 ignored issues
–
show
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line. To visualize $a = "a";
$ab = "ab";
$abc = "abc";
will produce issues in the first and second line, while this second example $a = "a";
$ab = "ab";
$abc = "abc";
will produce no issues. ![]() |
|||
13 | 'braintree.js', |
||
0 ignored issues
–
show
|
|||
14 | ]; |
||
0 ignored issues
–
show
|
|||
15 | |||
16 | } |