Release: Hamcrest-PHP 1.1.0

3 views
Skip to first unread message

David Harkness

unread,
Feb 6, 2012, 1:34:54 PM2/6/12
to hamcre...@googlegroups.com
Greetings,

I closed out a few more issues and added some features to the PHP port of Hamcrest last week and released version 1.1 via PEAR. See the changes below.

Enjoy!
David

== Version 1.1.0: Released Feb 2 2012 ==

Issues Fixed: 121, 138, 147

* Added non-empty matchers to complement the emptiness-matching forms.

  - nonEmptyString()
  - nonEmptyArray()
  - nonEmptyTraversable()

* Added ability to pass variable arguments to several array-based matcher
  factory methods so they work like allOf() et al.

  - anArray()
  - arrayContainingInAnyOrder(), containsInAnyOrder()
  - arrayContaining(), contains()
  - stringContainsInOrder()

* Matchers that accept an array of matchers now also accept variable arguments.
  Any non-matcher arguments are wrapped by IsEqual.

* Added noneOf() as a shortcut for not(anyOf()).

Reply all
Reply to author
Forward
0 new messages