Unverified Commit b8f93d5b authored by alexpott's avatar alexpott
Browse files

Issue #2901730 by mfernea, ankitjain28may, idebr: Fix...

Issue #2901730 by mfernea, ankitjain28may, idebr: Fix 'Squiz.WhiteSpace.FunctionSpacing' coding standard
parent 4cf7a965
......@@ -99,7 +99,6 @@ function file_stream_wrapper_valid_scheme($scheme) {
return \Drupal::service('file_system')->validScheme($scheme);
}
/**
* Returns the part of a URI after the schema.
*
......@@ -926,7 +925,6 @@ function file_unmanaged_delete_recursive($path, $callback = NULL) {
return file_unmanaged_delete($path);
}
/**
* Moves an uploaded file to a new location.
*
......
......@@ -380,7 +380,6 @@ function _drupal_rewrite_settings_is_simple($type, $value) {
return $is_integer || $is_float || $is_string || $is_boolean_or_null;
}
/**
* Helper for drupal_rewrite_settings().
*
......@@ -451,7 +450,6 @@ function _drupal_rewrite_settings_dump($variable, $variable_name) {
return $return;
}
/**
* Helper for drupal_rewrite_settings().
*
......
......@@ -10,6 +10,7 @@
/**
* Returns Unicode library status and errors.
*/
/**
* Moves unicode_requirements() logic to system_requirements().
*
......
......@@ -141,7 +141,6 @@ public static function hasContainer() {
return static::$container !== NULL;
}
/**
* Retrieves a service from the container.
*
......
......@@ -333,7 +333,6 @@ public static function assertAllMatch($pattern, $traversable, $case_sensitive =
return FALSE;
}
/**
* Asserts that all members are strings matching a regular expression.
*
......
......@@ -477,7 +477,6 @@ protected function prepareFormat($format) {
return $format;
}
/**
* Examines getLastErrors() to see what errors to report.
*
......
......@@ -282,7 +282,6 @@ protected function dumpMethodCalls(array $calls) {
return $code;
}
/**
* Dumps a collection to a PHP array.
*
......
......@@ -259,7 +259,6 @@ public function paragraphs($paragraph_count = 12) {
return $output;
}
/**
* Create a placeholder image.
*
......
......@@ -8,6 +8,7 @@
* @see http://php.net/com_create_guid
*/
class Com implements UuidInterface {
/**
* {@inheritdoc}
*/
......
......@@ -24,7 +24,6 @@ public function __construct($reason = NULL) {
$this->reason = $reason;
}
/**
* {@inheritdoc}
*/
......
......@@ -142,6 +142,7 @@ protected function applies(Route $route) {
return $checks;
}
/**
* Compiles a mapping of requirement keys to access checker service IDs.
*/
......
......@@ -15,7 +15,6 @@
*/
interface CheckProviderInterface {
/**
* For each route, saves a list of applicable access checks to the route.
*
......
......@@ -8,6 +8,7 @@
* @ingroup ajax
*/
class OpenModalDialogCommand extends OpenDialogCommand {
/**
* Constructs an OpenModalDialog object.
*
......
......@@ -228,7 +228,6 @@ public function delete($name) {
->execute();
}
/**
* Implements Drupal\Core\Config\StorageInterface::rename().
*
......
......@@ -41,7 +41,6 @@ public function setThirdPartySetting($module, $key, $value);
*/
public function getThirdPartySetting($module, $key, $default = NULL);
/**
* Gets all third-party settings of a given module.
*
......
......@@ -80,7 +80,6 @@ public function getControllerFromDefinition($controller, $path = '') {
return $callable;
}
/**
* {@inheritdoc}
*/
......
......@@ -165,7 +165,6 @@ public static function open(array &$connection_options = []) {
return $pdo;
}
/**
* Destructor for the SQLite connection.
*
......
......@@ -8,6 +8,7 @@
* SQLite implementation of \Drupal\Core\Database\Query\Select.
*/
class Select extends QuerySelect {
public function forUpdate($set = TRUE) {
// SQLite does not support FOR UPDATE so nothing to do.
return $this;
......
......@@ -11,6 +11,7 @@
* exactly the effect (it is implemented by DROPing the table).
*/
class Truncate extends QueryTruncate {
public function __toString() {
// Create a sanitized comment string to prepend to the query.
$comments = $this->connection->makeComment($this->comments);
......
......@@ -334,7 +334,6 @@ public static function days($required = FALSE, $month = NULL, $year = NULL) {
return !$required ? $none + $range : $range;
}
/**
* Constructs an array of hours.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment