GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Issues (167)

themes/dfs_base/theme-settings.php (1 issue)

Severity
1
<?php
2
/**
3
 * @file
4
 * Add custom theme settings to the ZURB Foundation sub-theme.
5
 */
6
7
use Drupal\Core\Form\FormStateInterface;
8
9
/**
10
 * Implements hook_form_FORM_ID_alter().
11
 * @param $form
12
 * @param \Drupal\Core\Form\FormStateInterface $form_state
13
 */
14
function dfs_base_form_system_theme_settings_alter(&$form, FormStateInterface $form_state) {
0 ignored issues
show
The parameter $form_state is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

14
function dfs_base_form_system_theme_settings_alter(&$form, /** @scrutinizer ignore-unused */ FormStateInterface $form_state) {

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
15
  $form['theme_ui']['dfs_base_callout_auto_close'] = array(
16
    '#type' => 'checkbox',
17
    '#title' => t('Automatically close status messages'),
18
    '#default_value' => theme_get_setting('dfs_base_callout_auto_close'),
19
  );
20
}
21