Skip to content

Commit 39f7bcb

Browse files
committed
Bug fix + Upgrade phpunit to v9.5 PHP 7.3+ version
1 parent 5ed1b84 commit 39f7bcb

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
"php": ">=5.6.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^5.7"
25+
"phpunit/phpunit": "^9.5"
2626
},
2727
"autoload": {
2828
"psr-4": {
29-
"PH7\\Generator\\\\": "src"
29+
"PH7\\": "src"
3030
}
3131
},
3232
"autoload-dev": {

src/Generator/Password.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace PH7\Generator;
99

10-
class Password
10+
final class Password
1111
{
1212
const DEFAULT_LENGTH = 12;
1313
const SPECIAL_CHARACTERS = ['-', '_', '~', '|', '%', '^', '!', '$', '#', '@', '?'];

tests/Unit/Generator/PasswordTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
namespace PH7\Generator\Test\Unit;
99

1010
use PH7\Generator\Password;
11-
use PHPUnit_Framework_TestCase;
11+
use PHPUnit\Framework\TestCase;
1212

13-
final class PasswordTest extends PHPUnit_Framework_TestCase
13+
final class PasswordTest extends TestCase
1414
{
1515
public function testPasswordWithSpecifiedLength()
1616
{

0 commit comments

Comments
 (0)