kafkiansky / forbid
A psalm plugin that finds and forbids code smells.
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:psalm-plugin
Requires
- php: ^8.1
- ext-simplexml: *
- vimeo/psalm: ^5.12
Requires (Dev)
- ergebnis/composer-normalize: ^2.31
- phpunit/phpunit: ^10.2
- squizlabs/php_codesniffer: ^3.7
- weirdan/codeception-psalm-module: ^0.14.0
This package is auto-updated.
Last update: 2024-11-22 20:42:01 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.