kafkiansky/forbid

A psalm plugin that finds and forbids code smells.

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:psalm-plugin

v0.1.0 2023-06-22 17:26 UTC

This package is auto-updated.

Last update: 2024-10-22 20:32:39 UTC


README

  • PHP 8.1 or higher.
  • ext-simplexml (psalm requirement)

Installation

The package could be installed with composer:

composer require kafkiansky/forbid --dev

Why

I'm tired of code that is hard to maintain, hard to read, hard to understand, and hard to extend. And that's why this plugin forbids traits, non-final classes, non-exhaustive abstraction, and other code smells.

Testing

$ composer codeception

License

The MIT License (MIT). See License File for more information.