reagordi / contracts-serializable-closure
Designed to work with objects
Fund package maintenance!
Opencollective
reagordi
Requires
- php: ^8.2
- reagordi/contracts-exceptions: ^1.0
Requires (Dev)
- maglnet/composer-require-checker: ^4.7
- phpunit/phpunit: ^10.5
- rector/rector: ^1.0.3
- roave/infection-static-analysis-plugin: ^1.34
- spatie/phpunit-watcher: ^1.23
- vimeo/psalm: ^5.20
This package is auto-updated.
Last update: 2024-12-09 14:08:19 UTC
README
Reagordi Contracts Serializable Closure
Designed to work with objects
Requirements
- PHP 8.2 or higher.
Installation
The package could be installed with composer:
composer require reagordi/contracts-serializable-closure
General usage
Testing
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 with Infection Static Analysis Plugin. 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
Code style
Use Rector to make codebase follow some specific rules or use either newest or any specific version of PHP:
./vendor/bin/rector
Dependencies
Use ComposerRequireChecker to detect transitive Composer dependencies.
License
The Reagordi Contracts Serializable Closure is free software. It is released under the terms of the BSD License.
Please see LICENSE
for more information.
Maintained by Reagordi Group.