src/PushPackage.php
Method run
has 81 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function run()
{
$ssh = call_user_func(
[$this->sshFactory, 'create'],
The method SFTPFactory is not named in camelCase. Open
Open
public function SFTPFactory($class)
{
if (!is_subclass_of($class, SFTPFactoryInterface::class)) {
throw new InvalidArgumentException(sprintf(
'SFTP Factory %s does not implement %s.',
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}