for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Anton Tuyakhov <[email protected]>
*/
namespace tuyakhov\braintree;
use yii\web\AssetBundle;
class BraintreeAsset extends AssetBundle
{
public $sourcePath = '@npm/braintree-web/dist';
public $js = [
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
will produce no issues.
'braintree.js',
];
}