fix phpstan warnings

This commit is contained in:
James Cole
2025-01-03 15:53:10 +01:00
parent d95f3ca59f
commit fe4d139817
173 changed files with 374 additions and 360 deletions

View File

@@ -44,7 +44,7 @@ class OwnerTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -53,7 +53,7 @@ class OwnerTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(OwnerNotifiable $notifiable)
{
@@ -66,7 +66,7 @@ class OwnerTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -48,7 +48,7 @@ class OwnerTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*
* @param mixed $notifiable
*/
@@ -59,7 +59,7 @@ class OwnerTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toNtfy(OwnerNotifiable $notifiable): Message
{
@@ -74,7 +74,7 @@ class OwnerTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -48,7 +48,7 @@ class OwnerTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -57,7 +57,7 @@ class OwnerTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(OwnerNotifiable $notifiable): PushoverMessage
{
@@ -69,7 +69,7 @@ class OwnerTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -46,7 +46,7 @@ class OwnerTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -55,7 +55,7 @@ class OwnerTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(OwnerNotifiable $notifiable)
{
@@ -64,7 +64,7 @@ class OwnerTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -44,7 +44,7 @@ class UserTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -63,7 +63,7 @@ class UserTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -48,7 +48,7 @@ class UserTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -57,7 +57,7 @@ class UserTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toNtfy(User $user): Message
{
@@ -72,7 +72,7 @@ class UserTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $user)
{

View File

@@ -48,7 +48,7 @@ class UserTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -57,7 +57,7 @@ class UserTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -69,7 +69,7 @@ class UserTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -46,7 +46,7 @@ class UserTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $user)
{
@@ -55,7 +55,7 @@ class UserTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $user)
{
@@ -64,7 +64,7 @@ class UserTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $user)
{