marartner / psalm-no-empty
Do not allow usage of empty()
Package info
github.com/marartner/psalm-no-empty
Type:psalm-plugin
pkg:composer/marartner/psalm-no-empty
v3.0
2025-09-30 14:08 UTC
Requires
- ext-simplexml: *
- vimeo/psalm: ^6.0
README
Psalm plugin to detect usage of empty().
Install
composer require marartner/psalm-no-empty --dev
Use
To enable
psalm-plugin enable marartner/psalm-no-empty
To disable
psalm-plugin disable marartner/psalm-no-empty
See Psalms documentation for more information.