catfishphp / noop
Robust and tested implementation of a no operation function
dev-master
2018-07-27 16:20 UTC
Requires
- php: ^7.1
Requires (Dev)
- doctrine/coding-standard: ^4.0
- phpstan/phpstan: ^0.10
- phpstan/phpstan-deprecation-rules: ^0.10
- phpstan/phpstan-phpunit: ^0.10
- phpstan/phpstan-strict-rules: ^0.10
- phpunit/phpunit: ^7.1
This package is not auto-updated.
Last update: 2025-05-18 07:38:42 UTC
README
Why should JavaScript have all the fun? In the spirit of the noop
NPM module. Catfish's Noop composer library does nothing while still being 100% tested.
This package is compliant with PSR-1, PSR-2 and PSR-4. If you notice compliance oversights, please send a patch via pull request.
Install
Via Composer
$ composer require catfishphp/noop
Requirements
The following versions of PHP are supported by this version.
- PHP 7.1
- PHP 7.2
Usage
<?php use function Catfish\Noop\noop; noop();
Testing
$ vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.