Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -32,13 +32,13 @@ class ApiController extends ControllerBase { ...@@ -32,13 +32,13 @@ class ApiController extends ControllerBase {
/** /**
* Constructs an ApiController object. * Constructs an ApiController object.
* *
* @param \Drupal\automatic_updates_extensions\ExtensionUpdater $extensionUpdater * @param \Drupal\automatic_updates_extensions\ExtensionUpdater $extension_updater
* The updater. * The updater.
* @param \Drupal\package_manager\PathLocator $path_locator * @param \Drupal\package_manager\PathLocator $path_locator
* The path locator service. * The path locator service.
*/ */
public function __construct(ExtensionUpdater $extensionUpdater, PathLocator $path_locator) { public function __construct(ExtensionUpdater $extension_updater, PathLocator $path_locator) {
$this->extensionUpdater = $extensionUpdater; $this->extensionUpdater = $extension_updater;
$this->pathLocator = $path_locator; $this->pathLocator = $path_locator;
} }
......
...@@ -62,10 +62,10 @@ abstract class BypassedStagerServiceBase { ...@@ -62,10 +62,10 @@ abstract class BypassedStagerServiceBase {
* The path to which the fixture files should be mirrored. * The path to which the fixture files should be mirrored.
*/ */
protected function copyFixtureFilesTo(PathInterface $destination): void { 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)) { if ($fixture_path && is_dir($fixture_path)) {
$this->fileSystem->mirror($fixturePath, $destination->resolve(), NULL, [ $this->fileSystem->mirror($fixture_path, $destination->resolve(), NULL, [
'override' => TRUE, 'override' => TRUE,
'delete' => TRUE, 'delete' => TRUE,
]); ]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment