eveseat/notifications

View on GitHub

Showing 405 of 405 total issues

The method add_routes is not named in camelCase.
Open

    public function add_routes()
    {

        if (! $this->app->routesAreCached()) {
            include __DIR__ . '/Http/routes.php';
Severity: Minor
Found in src/NotificationsServiceProvider.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method add_translations is not named in camelCase.
Open

    public function add_translations()
    {

        $this->loadTranslationsFrom(__DIR__ . '/resources/lang', 'notifications');
    }
Severity: Minor
Found in src/NotificationsServiceProvider.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method notification_groups is not named in camelCase.
Open

    public function notification_groups()
    {

        return $this->belongsToMany(NotificationGroup::class);
    }
Severity: Minor
Found in src/Models/Integration.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method add_views is not named in camelCase.
Open

    public function add_views()
    {

        $this->loadViewsFrom(__DIR__ . '/resources/views', 'notifications');
    }
Severity: Minor
Found in src/NotificationsServiceProvider.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method add_events is not named in camelCase.
Open

    private function add_events()
    {
        CharacterNotification::observe(CharacterNotificationObserver::class);
        CorporationMemberTracking::observe(CorporationMemberTrackingObserver::class);
        KillmailDetail::observe(KillmailNotificationObserver::class);
Severity: Minor
Found in src/NotificationsServiceProvider.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

Severity
Category
Status
Source
Language