Commit 133c212e authored by alexpott's avatar alexpott

Issue #2719695 by alexpott, Mile23: Fix...

Issue #2719695 by alexpott, Mile23: Fix 'Drupal.Classes.ClassDeclaration.CloseBraceAfterBody' coding standard
parent 95ed8ce2
......@@ -616,4 +616,5 @@ public function format($format, $settings = array()) {
return $value;
}
}
......@@ -168,4 +168,5 @@ public function check($from_lines, $to_lines) {
public function getEdits() {
return $this->edits;
}
}
......@@ -453,4 +453,5 @@ protected function _shift_boundaries($lines, &$changed, $other_changed) {
}
}
}
}
......@@ -23,4 +23,5 @@ public function norig() {
public function nclosing() {
return $this->closing ? sizeof($this->closing) : 0;
}
}
......@@ -18,4 +18,5 @@ public function __construct($lines) {
public function reverse() {
return new DiffOpDelete($this->closing);
}
}
......@@ -18,4 +18,5 @@ public function __construct($orig, $closing) {
public function reverse() {
return new DiffOpChange($this->closing, $this->orig);
}
}
......@@ -21,4 +21,5 @@ public function __construct($orig, $closing = FALSE) {
public function reverse() {
return new DiffOpCopy($this->closing, $this->orig);
}
}
......@@ -18,4 +18,5 @@ public function __construct($lines) {
public function reverse() {
return new DiffOpAdd($this->orig);
}
}
......@@ -75,4 +75,5 @@ public function getLines() {
$this->_flushLine('~done');
return $this->lines;
}
}
......@@ -52,4 +52,5 @@ public function __construct($from_lines, $to_lines, $mapped_from_lines, $mapped_
}
}
}
}
......@@ -78,4 +78,5 @@ public function closing() {
$lines = $closing->getLines();
return $lines;
}
}
......@@ -559,4 +559,5 @@ protected function evaluatePlural($element_stack, $n) {
}
return (int) $element_stack[0];
}
}
......@@ -154,4 +154,5 @@ protected function depthFirstSearch(&$state, $start, &$component = NULL) {
// topological order if the graph is acyclic.
$state['last_visit_order'][] = $start;
}
}
......@@ -31,4 +31,5 @@ public function getDerivativeDefinition($derivative_id, $base_plugin_definition)
public function getDerivativeDefinitions($base_plugin_definition) {
return $this->derivatives;
}
}
......@@ -240,4 +240,5 @@ protected function mergeDerivativeDefinition($base_plugin_definition, $derivativ
public function __call($method, $args) {
return call_user_func_array(array($this->decorated, $method), $args);
}
}
......@@ -33,4 +33,5 @@ public function setDefinition($plugin, $definition) {
public function deleteDefinition($plugin) {
unset($this->definitions[$plugin]);
}
}
......@@ -63,4 +63,5 @@ public function getDefinitions() {
public function __call($method, $args) {
return call_user_func_array(array($this->decorated, $method), $args);
}
}
......@@ -103,4 +103,5 @@ public static function getPluginClass($plugin_id, $plugin_definition = NULL, $re
return $class;
}
}
......@@ -76,4 +76,5 @@ protected function getInstanceArguments(\ReflectionClass $reflector, $plugin_id,
}
return $arguments;
}
}
......@@ -92,4 +92,5 @@ public function getDerivativeId() {
public function getPluginDefinition() {
return $this->pluginDefinition;
}
}
......@@ -280,4 +280,5 @@ protected function readGenericData($bank) {
// Save this data.
$this->genericMap[$bank] = $base;
}
}
......@@ -46,4 +46,5 @@ public function removeDiacritics($string);
* characters, and unknown characters replaced with $unknown_character.
*/
public function transliterate($string, $langcode = 'en', $unknown_character = '?', $max_length = NULL);
}
......@@ -343,4 +343,5 @@ public static function getAdminTagList() {
public static function getHtmlTagList() {
return static::$htmlTags;
}
}
......@@ -15,4 +15,5 @@ public function generate() {
// Remove {} wrapper and make lower case to keep result consistent.
return strtolower(trim(com_create_guid(), '{}'));
}
}
......@@ -13,4 +13,5 @@ class Pecl implements UuidInterface {
public function generate() {
return uuid_create(UUID_TYPE_DEFAULT);
}
}
......@@ -14,4 +14,5 @@ interface UuidInterface {
* A 16 byte integer represented as a hex string formatted with 4 hyphens.
*/
public function generate();
}
......@@ -169,5 +169,4 @@ protected function performCheck($service_id, ArgumentsResolverInterface $argumen
return $service_access;
}
}
......@@ -61,4 +61,5 @@ public function loadCheck($service_id);
* @return array
*/
public function getChecksNeedRequest();
}
......@@ -46,4 +46,5 @@ public function render() {
'persist' => $this->persist,
);
}
}
......@@ -16,4 +16,5 @@ interface CommandInterface {
* Return an array to be run through json_encode and sent to the client.
*/
public function render();
}
......@@ -33,4 +33,5 @@ public function __construct($title, $content, array $dialog_options = array(), $
$dialog_options['modal'] = TRUE;
parent::__construct('#drupal-modal', $title, $content, $dialog_options, $settings);
}
}
......@@ -23,4 +23,5 @@ public function __construct($selector, $title) {
$this->optionName = 'title';
$this->optionValue = $title;
}
}
......@@ -56,4 +56,5 @@ public function extract($path, array $files = array());
* An array of file names relative to the root of the archive.
*/
public function listContents();
}
......@@ -87,4 +87,5 @@ public function listContents() {
public function getArchive() {
return $this->tar;
}
}
......@@ -89,4 +89,5 @@ public function listContents() {
public function getArchive() {
return $this->zip;
}
}
......@@ -215,4 +215,5 @@ public function garbageCollection();
* Remove a cache bin.
*/
public function removeBin();
}
......@@ -54,4 +54,5 @@ public function isValid($checksum, array $tags);
* This is only used by tests.
*/
public function reset();
}
......@@ -477,4 +477,5 @@ public function schemaDefinition() {
);
return $schema;
}
}
......@@ -28,4 +28,5 @@ public function process(ContainerBuilder $container) {
$container->setParameter('cache_bins', $cache_bins);
$container->setParameter('cache_default_bin_backends', $cache_default_bin_backends);
}
}
......@@ -88,4 +88,5 @@ public function garbageCollection() {}
* {@inheritdoc}
*/
public function removeBin() {}
}
......@@ -56,4 +56,5 @@ public static function getDatabaseStorage() {
public static function getFileStorage() {
return new FileStorage(config_get_config_directory(CONFIG_ACTIVE_DIRECTORY));
}
}
......@@ -99,4 +99,5 @@ public function setOverride($name, array $values) {
}
return $this;
}
}
......@@ -325,5 +325,4 @@ public function getAllCollectionNames() {
}
}
}
......@@ -121,4 +121,5 @@ protected function addDependencyListsToForm(array &$form, $type, array $names, C
}
}
}
......@@ -131,4 +131,5 @@ protected function getAllFolders() {
}
return $this->folders;
}
}
......@@ -42,4 +42,5 @@ public function getDefinitions() {
}
return $definitions;
}
}
......@@ -133,4 +133,5 @@ protected function checkValue($key, $value) {
// No errors found.
return array();
}
}
......@@ -58,4 +58,5 @@ public function __toString() {