Skip to content

Commit

Permalink
fix: phpcs violations
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainweb committed Nov 12, 2024
1 parent 094e54e commit 1c465d7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\contrib_tracker\EventSubscriber;

Expand Down
4 changes: 2 additions & 2 deletions web/modules/custom/ct_manager/src/Data/CodeContribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ final class CodeContribution {
protected int $patchCount = 0;

/**
* @var int File count.
*/
* @var int File count.
*/
protected int $filesCount = 0;

/**
Expand Down
16 changes: 8 additions & 8 deletions web/modules/custom/ct_user/src/Plugin/Block/ContribGraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
use Drupal\Core\Block\BlockBase;

/**
* Provides a block with a contribution commit graph.
*
* @Block(
* id = "contrib_graph_blocl",
* admin_label = @Translation("Contribution commit graph"),
* category = "Custom"
* )
*/
* Provides a block with a contribution commit graph.
*
* @Block(
* id = "contrib_graph_blocl",
* admin_label = @Translation("Contribution commit graph"),
* category = "Custom"
* )
*/
class ContribGraph extends BlockBase {

/**
Expand Down
4 changes: 2 additions & 2 deletions web/themes/custom/contribtracker/contribtracker.theme
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ function contribtracker_theme_preprocess_page_alter(array &$suggestions, array $
}

/**
* Implements hook_theme_suggestions_input_alter().
*/
* Implements hook_theme_suggestions_input_alter().
*/
function contribtracker_theme_suggestions_input_alter(&$suggestions, array $variables) {
if (!empty($variables['element']['#id'])) {
$suggestions[] = 'input__' . str_replace('-', '_', $variables['element']['#id']);
Expand Down

0 comments on commit 1c465d7

Please sign in to comment.