Commit 5ae721cb authored by Rahul Gupta's avatar Rahul Gupta Committed by Ted Bowman
Browse files

Issue #3296181 by rahul_: ensure we are following Drupal core's variable casing standards

parent 9c6042f7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -32,13 +32,13 @@ class ApiController extends ControllerBase {
  /**
   * Constructs an ApiController object.
   *
   * @param \Drupal\automatic_updates_extensions\ExtensionUpdater $extensionUpdater
   * @param \Drupal\automatic_updates_extensions\ExtensionUpdater $extension_updater
   *   The updater.
   * @param \Drupal\package_manager\PathLocator $path_locator
   *   The path locator service.
   */
  public function __construct(ExtensionUpdater $extensionUpdater, PathLocator $path_locator) {
    $this->extensionUpdater = $extensionUpdater;
  public function __construct(ExtensionUpdater $extension_updater, PathLocator $path_locator) {
    $this->extensionUpdater = $extension_updater;
    $this->pathLocator = $path_locator;
  }

+3 −3
Original line number Diff line number Diff line
@@ -62,10 +62,10 @@ abstract class BypassedStagerServiceBase {
   *   The path to which the fixture files should be mirrored.
   */
  protected function copyFixtureFilesTo(PathInterface $destination): void {
    $fixturePath = $this->state->get(static::class . ' fixture');
    $fixture_path = $this->state->get(static::class . ' fixture');

    if ($fixturePath && is_dir($fixturePath)) {
      $this->fileSystem->mirror($fixturePath, $destination->resolve(), NULL, [
    if ($fixture_path && is_dir($fixture_path)) {
      $this->fileSystem->mirror($fixture_path, $destination->resolve(), NULL, [
        'override' => TRUE,
        'delete' => TRUE,
      ]);