src/AwsInspector/Ssh/Connection.php
Showing 2 of 2 total issues
Function tunnel
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
Open
public function tunnel($configuration) { $configurationData = explode(':', $configuration); if (count($configurationData) == 4) {
- Read upRead up
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct($username, $host, PrivateKey $privateKey = null, \AwsInspector\Model\Ec2\Instance $jumpHost = null, $multiplex=false)