Patch |
File delta |
Description |
support phpunit 6 and later.patch | (download) |
tests/AppTest.php |
21 11 + 10 - 0 !
tests/CallableResolverTest.php |
19 11 + 8 - 0 !
tests/CollectionTest.php |
6 3 + 3 - 0 !
tests/ContainerTest.php |
6 3 + 3 - 0 !
tests/DeferredCallableTest.php |
4 2 + 2 - 0 !
tests/Handlers/AbstractHandlerTest.php |
4 2 + 2 - 0 !
tests/Handlers/ErrorTest.php |
6 3 + 3 - 0 !
tests/Handlers/NotAllowedTest.php |
6 3 + 3 - 0 !
tests/Handlers/NotFoundTest.php |
6 3 + 3 - 0 !
tests/Handlers/PhpErrorTest.php |
6 3 + 3 - 0 !
tests/Http/BodyTest.php |
18 9 + 9 - 0 !
tests/Http/CookiesTest.php |
6 3 + 3 - 0 !
tests/Http/EnvironmentTest.php |
6 3 + 3 - 0 !
tests/Http/HeadersTest.php |
4 2 + 2 - 0 !
tests/Http/MessageTest.php |
4 2 + 2 - 0 !
tests/Http/NonBufferedBodyTest.php |
18 13 + 5 - 0 !
tests/Http/RequestBodyTest.php |
22 11 + 11 - 0 !
tests/Http/RequestTest.php |
4 2 + 2 - 0 !
tests/Http/ResponseTest.php |
4 2 + 2 - 0 !
tests/Http/StreamTest.php |
6 3 + 3 - 0 !
tests/Http/UploadedFilesTest.php |
14 7 + 7 - 0 !
tests/Http/UriTest.php |
4 2 + 2 - 0 !
tests/MiddlewareAwareTest.php |
8 4 + 4 - 0 !
tests/RouteTest.php |
8 4 + 4 - 0 !
tests/RouterTest.php |
20 13 + 7 - 0 !
25 files changed, 124 insertions(+), 106 deletions(-) |
modify tests for phpunit >= 6
|
0002 example Use installed autoloader.patch | (download) |
example/README.md |
14 3 + 11 - 0 !
example/index.php |
2 1 + 1 - 0 !
2 files changed, 4 insertions(+), 12 deletions(-) |
example: use installed autoloader
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
|
0003 Adapt to recent version of PHPUnit 9.patch | (download) |
tests/AppTest.php |
489 409 + 80 - 0 !
tests/ContainerTest.php |
13 4 + 9 - 0 !
tests/Handlers/ErrorTest.php |
4 1 + 3 - 0 !
tests/Handlers/PhpErrorTest.php |
2 1 + 1 - 0 !
tests/Http/BodyTest.php |
15 10 + 5 - 0 !
tests/Http/HeadersTest.php |
16 8 + 8 - 0 !
tests/Http/MessageTest.php |
4 1 + 3 - 0 !
tests/Http/RequestBodyTest.php |
17 12 + 5 - 0 !
tests/Http/RequestTest.php |
85 57 + 28 - 0 !
tests/Http/ResponseTest.php |
109 84 + 25 - 0 !
tests/Http/StreamTest.php |
12 3 + 9 - 0 !
tests/Http/UploadedFilesTest.php |
3 1 + 2 - 0 !
tests/Http/UriTest.php |
283 220 + 63 - 0 !
tests/MiddlewareAwareTest.php |
4 1 + 3 - 0 !
tests/RouteTest.php |
31 24 + 7 - 0 !
tests/RouterTest.php |
47 23 + 24 - 0 !
16 files changed, 859 insertions(+), 275 deletions(-) |
adapt to recent version of phpunit (9)
|
0004 Slim Http Handle strict type checking in method_exis.patch | (download) |
Slim/Http/Response.php |
3 2 + 1 - 0 !
Slim/Http/Uri.php |
12 8 + 4 - 0 !
2 files changed, 10 insertions(+), 5 deletions(-) |
slim/http: handle strict type checking in method_exists for php 8.0
These functions accept either strings or objects that can convert to
strings. If the parameter is not a string, check if it is an object
before calling method_exists.
|
0005 Change setMethods to addMethods onlyMethods.patch | (download) |
tests/AppTest.php |
4 2 + 2 - 0 !
tests/ContainerTest.php |
2 1 + 1 - 0 !
tests/DeferredCallableTest.php |
2 1 + 1 - 0 !
tests/Handlers/ErrorTest.php |
4 2 + 2 - 0 !
tests/Handlers/NotAllowedTest.php |
2 1 + 1 - 0 !
tests/Handlers/NotFoundTest.php |
2 1 + 1 - 0 !
tests/Handlers/PhpErrorTest.php |
2 1 + 1 - 0 !
7 files changed, 9 insertions(+), 9 deletions(-) |
change setmethods to addmethods/onlymethods
|
0006 Make test providers static.patch | (download) |
tests/Handlers/ErrorTest.php |
2 1 + 1 - 0 !
tests/Handlers/NotAllowedTest.php |
2 1 + 1 - 0 !
tests/Handlers/NotFoundTest.php |
2 1 + 1 - 0 !
tests/Handlers/PhpErrorTest.php |
2 1 + 1 - 0 !
tests/Http/UploadedFilesTest.php |
2 1 + 1 - 0 !
5 files changed, 5 insertions(+), 5 deletions(-) |
make test providers static
|
0007 Update regex assertions.patch | (download) |
tests/AppTest.php |
6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-) |
update regex assertions
|
0008 Use ProphecyTrait.patch | (download) |
tests/Http/RequestTest.php |
3 3 + 0 - 0 !
1 file changed, 3 insertions(+) |
use prophecytrait
|
0009 Use assertFileDoesNotExist.patch | (download) |
tests/Http/UploadedFilesTest.php |
2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-) |
use assertfiledoesnotexist
|
0010 Exclude Mocks folder from tests.patch | (download) |
phpunit.xml.dist |
1 1 + 0 - 0 !
1 file changed, 1 insertion(+) |
exclude mocks folder from tests
|
0011 Modernize PHPUnit syntax.patch | (download) |
tests/AppTest.php |
4 4 + 0 - 0 !
tests/ContainerTest.php |
2 2 + 0 - 0 !
tests/DeferredCallableTest.php |
2 2 + 0 - 0 !
tests/Handlers/AbstractHandlerTest.php |
5 4 + 1 - 0 !
tests/Handlers/ErrorTest.php |
11 5 + 6 - 0 !
tests/Handlers/NotAllowedTest.php |
10 5 + 5 - 0 !
tests/Handlers/NotFoundTest.php |
10 5 + 5 - 0 !
tests/Handlers/PhpErrorTest.php |
36 19 + 17 - 0 !
tests/Http/UploadedFilesTest.php |
28 11 + 17 - 0 !
tests/Http/UriTest.php |
1 1 + 0 - 0 !
10 files changed, 58 insertions(+), 51 deletions(-) |
modernize phpunit syntax
|