Skip to content

Commit

Permalink
udpate: upgrate symfony/cache to 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
hidehalo committed May 26, 2020
1 parent 44ece99 commit 0192065
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"php": "^5.6|^7",
"hidehalo/nanoid-php": "^1.1",
"psr/simple-cache": "^1.0",
"symfony/cache": "^4.0"
"symfony/cache": "^5.0"
},
"require-dev": {
"phpunit/phpunit": "^6",
Expand Down
5 changes: 3 additions & 2 deletions tests/NumericCaptchaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

use PHPUnit\Framework\TestCase;
use Hidehalo\Captcha\NumericCaptcha;
use Symfony\Component\Cache\Simple\ArrayCache;
use Symfony\Component\Cache\Psr16Cache;
use Symfony\Component\Cache\Adapter\ArrayAdapter;

class NumericCaptchaTest extends TestCase
{
Expand Down Expand Up @@ -44,7 +45,7 @@ public function captchaProvider()
{
return [
[
new NumericCaptcha(new ArrayCache())
new NumericCaptcha(new Psr16Cache(new ArrayAdapter()))
]
];
}
Expand Down

0 comments on commit 0192065

Please sign in to comment.