Skip to content

Commit

Permalink
\Assert\Assertion::generateMessage() will now receive the default m…
Browse files Browse the repository at this point in the history
…essage for an assertion if one is not supplied (Thanks to [Romans Malinovskis](#225))
  • Loading branch information
Richard Quadling authored and Richard Quadling committed Jan 25, 2018
1 parent f2ec8ae commit d6a21f8
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 82 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ matrix:
env:
- LINT=true
- php: 7.2
env:
- LINT=true
- php: nightly
- php: hhvm-3.9
sudo: required
Expand Down Expand Up @@ -45,7 +47,7 @@ script:
composer assert:cs-lint;
./bin/travis/lint-docs;
composer require --dev phpstan/phpstan;
vendor/bin/phpstan analyse --no-progress --ansi -l 5 lib;
vendor/bin/phpstan analyse --no-progress --ansi -l 7 lib;
fi
- if [[ "$COVERAGE" == "true" ]]; then
xdebug-enable;
Expand Down
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log
All notable changes to this project will be documented in this file.

## x.y.z - ccyy-mm-dd

### Fixes
- `\Assert\Assertion::generateMessage()` will now receive the default message for an assertion if one is not supplied (Thanks to [Romans Malinovskis](https://github.com/beberlei/assert/issues/225))

## 2.8.1 - 2017-11-30

### Fixes
Expand All @@ -20,27 +25,27 @@ All notable changes to this project will be documented in this file.
## 2.7.10 - 2017-11-13

### Added assertions
- `Assertion::base64()` (Thank to [Pablo Kowalczyk](https://github.com/beberlei/assert/pull/232))
- `Assertion::base64()` (Thanks to [Pablo Kowalczyk](https://github.com/beberlei/assert/pull/232))

## 2.7.9 - 2017-11-13

### Fixes
- `Assertion::integerish()` now correctly asserts integers with leading zeros in strings (Thank to [Albert Casademont](https://github.com/beberlei/assert/pull/227#issuecomment-343961009))
- `Assertion::integerish()` now correctly asserts integers with leading zeros in strings (Thanks to [Albert Casademont](https://github.com/beberlei/assert/pull/227#issuecomment-343961009))

## 2.7.8 - 2017-10-20

### Fixes
- `Assertion::integerish()` now throws exception as expected (Thank to [Thomas Flack](https://github.com/beberlei/assert/issues/235))
- `Assertion::integerish()` now throws exception as expected (Thanks to [Thomas Flack](https://github.com/beberlei/assert/issues/235))

## 2.7.7 - 2017-10-18

### Fixes
- Basic Auth usernames and passwords can contain '.' (Thank to [Fede Isas](https://github.com/beberlei/assert/issues/234))
- Basic Auth usernames and passwords can contain '.' (Thanks to [Fede Isas](https://github.com/beberlei/assert/issues/234))

## 2.7.6 - 2017-05-04

### Fixes
- Fixed stringification of booleans (Thank to [Philipp Rieber](https://github.com/beberlei/assert/issues/226))
- Fixed stringification of booleans (Thanks to [Philipp Rieber](https://github.com/beberlei/assert/issues/226))

## 2.7.5 - 2017-04-29
### Added assertions
Expand Down
Loading

0 comments on commit d6a21f8

Please sign in to comment.