Skip to content

Commit

Permalink
deprecated php-cs-fixer rules
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Nov 21, 2024
1 parent 8bf59ff commit 68f035a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
'encoding' => true,
'full_opening_tag' => true,
'blank_line_after_namespace' => true,
// "single_space_around_construct" => true,
// "control_structure_braces" => true,
// "control_structure_continuation_position" => true,
// "declare_parentheses" => true,
// "no_multiple_statements_per_line" => true,
// "braces_position" => true,
// "statement_indentation" => true,
"single_space_around_construct" => true,
"control_structure_braces" => true,
"control_structure_continuation_position" => true,
"declare_parentheses" => true,
"no_multiple_statements_per_line" => true,
"braces_position" => true,
"statement_indentation" => true,
'class_definition' => true,
'elseif' => true,
'function_declaration' => true,
Expand Down
6 changes: 3 additions & 3 deletions src/Event/NotificationEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ public function getNotifications(?int $max = 10): array

public function addNotification(NotificationV2Interface|NotificationInterface $notification): void
{
// if (($notification instanceof NotificationV2Interface) === false) {
// trigger_deprecation('kevinpapst/tabler-bundle', '1.2.0', 'Notification should implement NotificationV2Interface::class!');
// }
// if (($notification instanceof NotificationV2Interface) === false) {
// trigger_deprecation('kevinpapst/tabler-bundle', '1.2.0', 'Notification should implement NotificationV2Interface::class!');
// }

$this->notifications[] = $notification;
}
Expand Down

0 comments on commit 68f035a

Please sign in to comment.