rustamwin / attributes
attributes
Fund package maintenance!
Patreon
Requires
- php: ^8.0
- spiral/attributes: ^2.12
- spiral/tokenizer: ^2.8
Requires (Dev)
- jetbrains/phpstorm-attributes: ^1.0
- phpunit/phpunit: ^9.5
- roave/infection-static-analysis-plugin: ^1.14
- spatie/phpunit-watcher: ^1.23
- vimeo/psalm: ^4.9
This package is auto-updated.
Last update: 2024-10-09 18:16:03 UTC
README
PHP Attributes
Requirements
- PHP 8.0 or higher.
Installation
The package could be installed with composer:
composer require rustamwin/attributes --prefer-dist
General usage
Unit testing
The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunit
Mutation testing
The package tests are checked with Infection mutation framework. To run it:
./vendor/bin/roave-infection-static-analysis-plugin
Static analysis
The code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalm