Unverified Commit f8b13ab5 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2937844 by andypost, ravi.shankar, Spokje, mrinalini9, Deepak Goyal,...

Issue #2937844 by andypost, ravi.shankar, Spokje, mrinalini9, Deepak Goyal, RoSk0, daffie, borisson_, xjm, tstoeckler: [8.9/9.0 backport] Fix 'Squiz.PHP.NonExecutableCode' coding standard
parent 44143438
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -506,8 +506,6 @@ private function readLine() {
      $this->errors[] = new FormattableMarkup('The translation stream %uri ended unexpectedly at line %line.', $log_vars);
      return FALSE;
    }

    return;
  }

  /**
+0 −1
Original line number Diff line number Diff line
@@ -176,7 +176,6 @@ protected function openBrowser($url, SymfonyStyle $io) {
    $php = "<?php sleep(2); passthru(\"$cmd\"); ?>";
    $process = new PhpProcess($php);
    $process->start();
    return;
  }

  /**
+1 −3
Original line number Diff line number Diff line
@@ -49,9 +49,7 @@ public function rowCount() {
  /**
   * {@inheritdoc}
   */
  public function setFetchMode($mode, $a1 = NULL, $a2 = []) {
    return;
  }
  public function setFetchMode($mode, $a1 = NULL, $a2 = []) {}

  /**
   * {@inheritdoc}
+1 −3
Original line number Diff line number Diff line
@@ -232,9 +232,7 @@ public function render() {
  /**
   * Gets the title of the page.
   */
  protected function getTitle() {
    return;
  }
  protected function getTitle() {}

  /**
   * Ensures that a destination is present on the given URL.
+0 −1
Original line number Diff line number Diff line
@@ -29,5 +29,4 @@ function _config_import_test_config_import_steps_alter(&$context, ConfigImporter
    $config_importer->logError('_config_import_test_config_import_steps_alter ConfigImporter error');
  }
  $context['finished'] = 1;
  return;
}
Loading