phpspec/phpspec2 — pull request #43 by diegoholiveira (2012-10-15 20:08:00+00:00)
Title: Refactoring ScalarMatcher to be more friendly and tests only true scalar types

I rewrote the ScalarMatchers to be more like ObjectStateMatcher, and now the matcher it's more friendly:
- `shouldBeInt`
- `shouldBeFloat`
- `shouldBeString`
- `shouldBeBoolean`

Also, the matcher now verifies only true scalar types.