icanhazstring/systemctl-php

View on GitHub

Showing 2 of 11 total issues

SystemCtl has 29 functions (exceeds 20 allowed). Consider refactoring.
Open

class SystemCtl
{
    /** @var string systemctl binary path */
    private static $binary = '/bin/systemctl';

Severity: Minor
Found in src/SystemCtl.php - About 3 hrs to fix

    File SystemCtl.php has 264 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    namespace icanhazstring\SystemCtl;
    
    use icanhazstring\SystemCtl\Command\CommandDispatcherInterface;
    Severity: Minor
    Found in src/SystemCtl.php - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language