Skip to content

Commit ef5df77

Browse files
author
Steffen Brand
committed
updated readme, renamed test class
1 parent 4fd4c2d commit ef5df77

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Work in progress!
2-
Not meant to be used yet.
31
# non-static-php-jwt
42
non-static-php-jwt is a wrapper for [firebase/php-jwt](https://github.com/firebase/php-jwt) to make it easily mockable
53
with [phpspec/prophecy](https://github.com/phpspec/prophecy) (or any other mocking library) within your phpunit tests.
@@ -10,11 +8,11 @@ composer require steffenbrand/non-static-php-jwt
108
```
119

1210
## Versioning
13-
The releases will match the release versions of [firebase/php-jwt](https://github.com/firebase/php-jwt) starting with ^5.0.
14-
The supported PHP versions will be ^7.1, since return types and type hinting are used.
11+
The releases will match the release versions of [firebase/php-jwt](https://github.com/firebase/php-jwt) starting with ^5.0.
12+
The supported PHP versions will be ^7.1, since return types and type hinting are used in this library.
1513

1614
## Usage
17-
Since it's just a wrapper for [firebase/php-jwt](https://github.com/firebase/php-jwt), the usage is almost the same, except the fact that you have to create an instance of `\SteffenBrand\NonStaticPhpJwt\Jwt` first.
15+
It's just a wrapper for [firebase/php-jwt](https://github.com/firebase/php-jwt), so the usage is almost the same, except the fact that you have to create an instance of `\SteffenBrand\NonStaticPhpJwt\Jwt` first.
1816

1917
### Encoding and decoding
2018
```php

test/JwtTest.php renamed to test/JwtProphecyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Prophecy\Prophecy\ObjectProphecy;
1010
use SteffenBrand\NonStaticPhpJwt\Jwt;
1111

12-
class JwtTest extends TestCase
12+
class JwtProphecyTest extends TestCase
1313
{
1414
/**
1515
* @var Jwt

0 commit comments

Comments
 (0)