PHPackages                             noregression/callable-comparator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. noregression/callable-comparator

ActiveLibrary[Testing &amp; Quality](/categories/testing)

noregression/callable-comparator
================================

Makes it possible to use callables in PHPunit assertions

0.1.0(10y ago)12.3k2MITPHPPHP &gt;=5.5.9

Since Apr 22Pushed 10y ago1 watchersCompare

[ Source](https://github.com/noregression/callable-comparator)[ Packagist](https://packagist.org/packages/noregression/callable-comparator)[ Docs](http://www.noregression.nl)[ RSS](/packages/noregression-callable-comparator/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

PHPUnit Callable Comparator
===========================

[](#phpunit-callable-comparator)

[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE.txt)[![Build Status](https://camo.githubusercontent.com/3076dad98afd2bda1a46b93246ae59c81c716b57208c7bb989b531529d05f79e/68747470733a2f2f7472617669732d63692e6f72672f6e6f72656772657373696f6e2f63616c6c61626c652d636f6d70617261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/noregression/callable-comparator)[![Code Climate](https://camo.githubusercontent.com/da1536e8c4c81aa12aa1e5c0607001542e6a946eb8cf32fa34bbe9c16713437d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6e6f72656772657373696f6e2f63616c6c61626c652d636f6d70617261746f722f6261646765732f6770612e737667)](https://codeclimate.com/github/noregression/callable-comparator)[![Test Coverage](https://camo.githubusercontent.com/a8d6300da4d2b361245657a704faf129c21a99b22d09db78e21b7d556ea55ad4/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6e6f72656772657373696f6e2f63616c6c61626c652d636f6d70617261746f722f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/noregression/callable-comparator)[![Total Downloads](https://camo.githubusercontent.com/66e337a2b61dc6dc66206fd24f8a71fe11a9bdd0d38f064a7252f6e87c9bce06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f72656772657373696f6e2f63616c6c61626c652d636f6d70617261746f722e737667)](https://packagist.org/packages/noregression/callable-comparator)

Makes it possible to use callables in PHPunit assertions

Installation
------------

[](#installation)

```
composer require noregression/callable-comparator
```

Usage
-----

[](#usage)

```
