fce24ef01f
Port from 1.x
2021-11-26 15:29:18 +01:00
86dca12c09
refacto(phpstan-to-8): few adjustments
2021-11-26 15:29:18 +01:00
0b5cea6df1
upgrade to phpstan lvl 9
2021-11-26 15:29:18 +01:00
f3371e51fe
wip toward lvl9
2021-11-26 15:29:18 +01:00
3829623984
Port from 1.x
2021-11-25 16:49:10 +00:00
94585789dc
refacto(phpstan-to-8): few adjustments
2021-11-18 23:39:37 +00:00
7ea6d8a35d
upgrade to phpstan lvl 9
2021-11-18 23:27:37 +01:00
7bcd3ebaee
wip toward lvl9
2021-11-18 01:01:56 +01:00
5287eff507
merge from master
2021-11-15 11:54:42 +01:00
b2cd60395f
chore: phpstan level 5
2021-11-14 21:39:24 +00:00
2b687a7269
refactor: PHP 8 features
2021-10-24 18:29:59 +01:00
fc53f08e37
implemented pipe closure with $next as the first parameter
2021-10-10 01:02:04 +02:00
bc4e5b9b4e
implemented pipe closure with $next as the last parameter
2021-10-10 00:16:21 +02:00
55376d32e5
moved decorate implementation to dedicated intercept and pipe calls
2021-10-09 10:22:24 +02:00
e92d9bfaae
implements decorators pipeline
2021-10-08 15:29:35 +02:00
d802e88148
moved old Expectation in CoreExpectation.php and made Expectation.php a decorator for it
2021-10-07 22:59:46 +02:00
66d47e4922
fix: usage on PHP 7.3
2021-09-25 09:39:17 +01:00
7691e3c602
Merge pull request #399 from mertasan/sequence
...
Fix: `sequence()` can generate false positives
2021-09-24 22:15:49 +01:00
b43a59868d
feat: adds unless expectation
2021-09-24 22:12:08 +01:00
457972716f
refactor: expectation match method
2021-09-24 22:02:18 +01:00
f0ddd10a54
Merge branch 'master' into method-match
2021-09-24 21:16:43 +01:00
3c3e6b160b
refactor: expectation when
2021-09-24 21:10:02 +01:00
c99f8f196e
lint
2021-09-24 14:42:26 +03:00
9cc4ecd5ab
Merge branch 'master' into method-match
2021-09-24 14:39:21 +03:00
7f214f9e12
use and() instead of new self
2021-09-24 13:59:00 +03:00
da258fa89f
remove the warning
2021-09-24 13:55:16 +03:00
543b9542ae
add new match() method
2021-09-23 06:55:28 +03:00
847b06e558
add when() method
2021-09-23 03:35:41 +03:00
12e63c7376
add new assertion
2021-09-16 18:09:45 +03:00
253e9d10c8
Fix types
2021-09-03 04:44:10 -04:00
4331b2aaf6
Add toHaveProperties
2021-09-03 04:26:57 -04:00
042f2ec3f3
Use mb_strlen instead of grapheme_strlen
...
Due to inconsistent behave, mb_strlen will be used.
2021-08-29 12:55:37 +02:00
4f386894bd
Revert "Use toHaveCount"
...
This reverts commit 2289adade2 .
2021-08-28 18:14:55 +02:00
2289adade2
Use toHaveCount
...
changes to toHaveCount
2021-08-28 17:54:29 +02:00
8367af22e7
Adds toHaveLength() Expectation & Tests
...
Adds toHaveLength() Expectation and its tests. toHaveLength checks if the given value has the informed length. Works with strings, array, object and collections.
2021-08-28 17:02:09 +02:00
2125bf9668
chore: adjusts tests
2021-08-26 21:14:56 +01:00
dbf3c0a8cf
Merge pull request #361 from kbond/throw-expectation
...
Add `toThrow` expectation
2021-08-26 21:02:38 +01:00
8ee07330b3
Add toBeFalsy
2021-08-03 20:55:07 -04:00
cffde4564d
Add toBeTruthy
2021-08-03 20:54:56 -04:00
c776bcf86d
add toThrow expectation
2021-08-01 12:33:09 -04:00
675b0f1ec8
implements multiple needles in expect()->toContain()
2021-07-31 18:29:03 +02:00
671f3df115
fix tests
2021-07-28 01:00:19 +02:00
2dd77001b7
static analysis fix
2021-07-28 00:42:54 +02:00
5f574ded81
add toBeIn
2021-07-28 00:36:43 +02:00
22a1aac84a
Fixes types
2021-06-18 22:08:47 +01:00
3a20696da4
CS
2021-06-18 22:03:51 +01:00
09d9bae988
Merge branch 'master' into nested-higher-order-expectations
...
# Conflicts:
# tests/.snapshots/success.txt
2021-06-18 22:01:30 +01:00
27de6106ab
Adds type hinting
2021-06-18 22:01:16 +01:00
aeded0a356
refacto: coding style updates
2021-06-18 22:01:14 +01:00
1d415eb7fb
Merge branch 'master' into nested-higher-order-expectations
...
# Conflicts:
# tests/.snapshots/success.txt
2021-06-18 21:49:05 +01:00