original_string: public static function arguments(array $args) : array
      {
          putenv("CODGER_DRY=1");
          foreach ($args as $key => $value) {
              if ($value === '-w') {
                  putenv("CODGER_DRY=0");
                  unset($args[$key]);
              }
              if ($value === '-o') {
                  putenv("CODGER_OVERWRITE=1");
                  putenv("CODGER_DRY=0");
                  unset($args[$key]);
              }
              if ($value === '-d') {
                  putenv("CODGER_OVERWRITE=0");
                  putenv("CODGER_DUMP=1");
                  putenv("CODGER_DRY=0");
                  unset($args[$key]);
              }
              if ($value === '-s') {
                  putenv("CODGER_OVERWRITE=0");
                  putenv("CODGER_SKIP=1");
                  putenv("CODGER_DRY=0");
                  unset($args[$key]);
              }
          }
          return array_values($args);
      }
code: public static function arguments(array $args) : array
      {
          putenv("CODGER_DRY=1");
          foreach ($args as $key => $value) {
              if ($value === '-w') {
                  putenv("CODGER_DRY=0");
                  unset($args[$key]);
              }
              if ($value === '-o') {
                  putenv("CODGER_OVERWRITE=1");
                  putenv("CODGER_DRY=0");
                  unset($args[$key]);
              }
              if ($value === '-d') {
                  putenv("CODGER_OVERWRITE=0");
                  putenv("CODGER_DUMP=1");
                  putenv("CODGER_DRY=0");
                  unset($args[$key]);
              }
              if ($value === '-s') {
                  putenv("CODGER_OVERWRITE=0");
                  putenv("CODGER_SKIP=1");
                  putenv("CODGER_DRY=0");
                  unset($args[$key]);
              }
          }
          return array_values($args);
      }
code_tokens: public static function arguments ( array $ args ) : array { putenv ( "CODGER_DRY=1" ) ; foreach ( $ args as $ key => $ value ) { if ( $ value === '-w' ) { putenv ( "CODGER_DRY=0" ) ; unset ( $ args [ $ key ] ) ; } if ( $ value === '-o' ) { putenv ( "CODGER_OVERWRITE=1" ) ; putenv ( "CODGER_DRY=0" ) ; unset ( $ args [ $ key ] ) ; } if ( $ value === '-d' ) { putenv ( "CODGER_OVERWRITE=0" ) ; putenv ( "CODGER_DUMP=1" ) ; putenv ( "CODGER_DRY=0" ) ; unset ( $ args [ $ key ] ) ; } if ( $ value === '-s' ) { putenv ( "CODGER_OVERWRITE=0" ) ; putenv ( "CODGER_SKIP=1" ) ; putenv ( "CODGER_DRY=0" ) ; unset ( $ args [ $ key ] ) ; } } return array_values ( $ args ) ; }
docstring: Helper to return cleaned passed arguments.
  
  @param array $args
  @return array
docstring_tokens: Helper to return cleaned passed arguments .