From 4d98064716e845f9a00d58c3b2c1d966cf642c42 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 29 Aug 2024 12:37:10 +0200 Subject: [PATCH] Enhancemnt: Remove useless class comments from examples --- examples/CompleteNotificationExample.php | 2 -- examples/EmergencyNotificationExample.php | 2 -- examples/GroupsExample.php | 2 +- examples/HtmlNotificationExample.php | 2 -- examples/ResponseExample.php | 2 +- examples/SimpleNotificationExample.php | 2 -- examples/UserGroupValidationExample.php | 2 -- rector.php | 15 ++++++++++++--- 8 files changed, 14 insertions(+), 15 deletions(-) diff --git a/examples/CompleteNotificationExample.php b/examples/CompleteNotificationExample.php index 013f1c2..c26b980 100644 --- a/examples/CompleteNotificationExample.php +++ b/examples/CompleteNotificationExample.php @@ -24,8 +24,6 @@ use Serhiy\Pushover\Recipient; /** - * Complete Notification Example. - * * @author Serhiy Lunak */ final class CompleteNotificationExample diff --git a/examples/EmergencyNotificationExample.php b/examples/EmergencyNotificationExample.php index bf10e8f..adfd65b 100644 --- a/examples/EmergencyNotificationExample.php +++ b/examples/EmergencyNotificationExample.php @@ -21,8 +21,6 @@ use Serhiy\Pushover\Recipient; /** - * Emergency Notification Example. - * * @author Serhiy Lunak */ final class EmergencyNotificationExample diff --git a/examples/GroupsExample.php b/examples/GroupsExample.php index 7b6b6ff..bd35a5b 100644 --- a/examples/GroupsExample.php +++ b/examples/GroupsExample.php @@ -24,7 +24,7 @@ use Serhiy\Pushover\Recipient; /** - * Work with groups example. + * Working with groups. * * @author Serhiy Lunak */ diff --git a/examples/HtmlNotificationExample.php b/examples/HtmlNotificationExample.php index d75d046..aa629e2 100644 --- a/examples/HtmlNotificationExample.php +++ b/examples/HtmlNotificationExample.php @@ -20,8 +20,6 @@ use Serhiy\Pushover\Recipient; /** - * HTML Notification Example. - * * @author Serhiy Lunak */ final class HtmlNotificationExample diff --git a/examples/ResponseExample.php b/examples/ResponseExample.php index 24685ff..5dabbea 100644 --- a/examples/ResponseExample.php +++ b/examples/ResponseExample.php @@ -21,7 +21,7 @@ use Serhiy\Pushover\Recipient; /** - * Response Object Example. + * Response object example. * * @author Serhiy Lunak */ diff --git a/examples/SimpleNotificationExample.php b/examples/SimpleNotificationExample.php index 0181782..930a67a 100644 --- a/examples/SimpleNotificationExample.php +++ b/examples/SimpleNotificationExample.php @@ -20,8 +20,6 @@ use Serhiy\Pushover\Recipient; /** - * Simple Notification Example. - * * @author Serhiy Lunak */ final class SimpleNotificationExample diff --git a/examples/UserGroupValidationExample.php b/examples/UserGroupValidationExample.php index 3592bfe..a03feba 100644 --- a/examples/UserGroupValidationExample.php +++ b/examples/UserGroupValidationExample.php @@ -19,8 +19,6 @@ use Serhiy\Pushover\Recipient; /** - * Validation Example. - * * @author Serhiy Lunak */ final class UserGroupValidationExample diff --git a/rector.php b/rector.php index 9bfcb28..ef575fc 100644 --- a/rector.php +++ b/rector.php @@ -2,13 +2,22 @@ declare(strict_types=1); +/** + * This file is part of the Pushover package. + * + * (c) Serhiy Lunak + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + use Rector\Config\RectorConfig; return RectorConfig::configure() ->withPaths([ - __DIR__ . '/examples', - __DIR__ . '/src', - __DIR__ . '/tests', + __DIR__.'/examples', + __DIR__.'/src', + __DIR__.'/tests', ]) ->withPhp74Sets() ->withTypeCoverageLevel(0);