Skip to content
Snippets Groups Projects
Commit 128827d8 authored by omkar podey's avatar omkar podey Committed by Ted Bowman
Browse files

Issue #3321282 by omkar.podey, Wim Leers, tedbow: Add 'declare(strict_types = 1)' where needed

parent 3891174c
No related branches found
No related tags found
No related merge requests found
Showing
with 40 additions and 0 deletions
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
* Contains install and update functions for Automatic Updates. * Contains install and update functions for Automatic Updates.
*/ */
declare(strict_types = 1);
use Drupal\automatic_updates\Validation\StatusCheckRequirements; use Drupal\automatic_updates\Validation\StatusCheckRequirements;
/** /**
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
* Contains hook implementations for Automatic Updates. * Contains hook implementations for Automatic Updates.
*/ */
declare(strict_types = 1);
use Drupal\automatic_updates\BatchProcessor; use Drupal\automatic_updates\BatchProcessor;
use Drupal\automatic_updates\CronUpdater; use Drupal\automatic_updates\CronUpdater;
use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Routing\RouteMatchInterface;
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
* Contains post-update hooks for Automatic Updates. * Contains post-update hooks for Automatic Updates.
*/ */
declare(strict_types = 1);
use Drupal\automatic_updates\StatusCheckMailer; use Drupal\automatic_updates\StatusCheckMailer;
/** /**
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\automatic_updates_extensions; namespace Drupal\automatic_updates_extensions;
use Drupal\Core\Url; use Drupal\Core\Url;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\automatic_updates_extensions; namespace Drupal\automatic_updates_extensions;
use Drupal\automatic_updates\Exception\UpdateException; use Drupal\automatic_updates\Exception\UpdateException;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\automatic_updates_extensions\Form; namespace Drupal\automatic_updates_extensions\Form;
use Drupal\automatic_updates\Form\UpdateFormBase; use Drupal\automatic_updates\Form\UpdateFormBase;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\automatic_updates_extensions\Form; namespace Drupal\automatic_updates_extensions\Form;
use Drupal\automatic_updates\Form\UpdateFormBase; use Drupal\automatic_updates\Form\UpdateFormBase;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\automatic_updates_extensions\Validator; namespace Drupal\automatic_updates_extensions\Validator;
use Drupal\package_manager\ProjectInfo; use Drupal\package_manager\ProjectInfo;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\automatic_updates_extensions_test_api; namespace Drupal\automatic_updates_extensions_test_api;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\Tests\automatic_updates_extensions\Kernel; namespace Drupal\Tests\automatic_updates_extensions\Kernel;
use Drupal\automatic_updates_extensions\ExtensionUpdater; use Drupal\automatic_updates_extensions\ExtensionUpdater;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\Tests\automatic_updates_extensions\Traits; namespace Drupal\Tests\automatic_updates_extensions\Traits;
use Behat\Mink\WebAssert; use Behat\Mink\WebAssert;
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
* Contains install and update functions for Package Manager. * Contains install and update functions for Package Manager.
*/ */
declare(strict_types = 1);
use Drupal\package_manager\Exception\ApplyFailedException; use Drupal\package_manager\Exception\ApplyFailedException;
/** /**
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
* Contains hook implementations for Package Manager. * Contains hook implementations for Package Manager.
*/ */
declare(strict_types = 1);
use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\package_manager\Validator\ComposerExecutableValidator; use Drupal\package_manager\Validator\ComposerExecutableValidator;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\package_manager; namespace Drupal\package_manager;
use Composer\Composer; use Composer\Composer;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\package_manager\Event; namespace Drupal\package_manager\Event;
use Drupal\package_manager\Stage; use Drupal\package_manager\Stage;
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\package_manager\Event; namespace Drupal\package_manager\Event;
/** /**
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\package_manager\Event; namespace Drupal\package_manager\Event;
/** /**
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\package_manager\Event; namespace Drupal\package_manager\Event;
/** /**
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\package_manager\Event; namespace Drupal\package_manager\Event;
/** /**
......
<?php <?php
declare(strict_types = 1);
namespace Drupal\package_manager\Event; namespace Drupal\package_manager\Event;
/** /**
......
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