| @@ -4,7 +4,6 @@ | ||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; | 
| 6 | 6 | use Symfony\Component\EventDispatcher\Event; | 
| 7 | -use Symfony\Component\HttpKernel\Event\KernelEvent; | |
| 8 | 7 | use Symfony\Component\HttpKernel\KernelEvents; | 
| 9 | 8 | use Symfony\Component\HttpKernel\Event\GetResponseEvent; | 
| 10 | 9 | use Drupal\Core\Cache\CacheTagsInvalidator; | 
| @@ -231,6 +231,7 @@ | ||
| 231 | 231 | * Copied from color.module and modified to add variable replacement support. | 
| 232 | 232 | * | 
| 233 | 233 | * @see _color_rewrite_stylesheet | 
| 234 | + * @param string $style | |
| 234 | 235 | */ | 
| 235 | 236 |  function _df_tools_color_color_rewrite_stylesheet($theme, &$info, &$paths, $palette, $style) { | 
| 236 | 237 | // Prepare color conversion table. | 
| @@ -142,7 +142,7 @@ | ||
| 142 | 142 | * | 
| 143 | 143 | * @param $options | 
| 144 | 144 | * | 
| 145 | - * @return mixed|string | |
| 145 | + * @return string | |
| 146 | 146 | */ | 
| 147 | 147 |    protected function haversine($options) { | 
| 148 | 148 | $formula = '( :earth_radius * ACOS( COS( RADIANS(:origin_latitude) ) * COS( RADIANS(:destination_latitude) ) * COS( RADIANS(:destination_longitude) - RADIANS(:origin_longitude) ) + SIN( RADIANS(:origin_latitude) ) * SIN( RADIANS(:destination_latitude) ) ) )'; | 
| @@ -235,7 +235,7 @@ | ||
| 235 | 235 | * @param string $type The project type. | 
| 236 | 236 | * @param string $name The name of the project. | 
| 237 | 237 | * | 
| 238 | - * @return bool FALSE if the project does not exist. | |
| 238 | + * @return false|null FALSE if the project does not exist. | |
| 239 | 239 | */ | 
| 240 | 240 |  function df_tools_translation_import_translations($type, $name) { | 
| 241 | 241 | // Attempt to pull module path. | 
| @@ -1,7 +1,5 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -use Drupal\user\Entity\User; | |
| 4 | - | |
| 5 | 3 | /** | 
| 6 | 4 | * @file | 
| 7 | 5 | * Contains core functionality for the DF distribution. | 
| @@ -2,7 +2,6 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Acquia\DFExtension\Context; | 
| 4 | 4 | |
| 5 | -use Behat\Mink\Driver\Selenium2Driver; | |
| 6 | 5 | use Drupal\DrupalExtension\Context\DrupalSubContextBase; | 
| 7 | 6 | use Drupal\DrupalExtension\Context\MinkContext; | 
| 8 | 7 | |