Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot

services:
- mysql
Expand Down Expand Up @@ -57,13 +57,13 @@ script:

matrix:
include:
- php: 7.1
- php: 7.3
env: DB=mysql
- php: 7.1
- php: 7.3
env: DB=pgsql
- php: 7.1
- php: 7.3
env: DB=mysql;CODECHECK=1
- php: 7.1
- php: 7.3
env: DB=mysql;CODECHECK=2
allow_failures:
- env: DB=mysql;CODECHECK=2
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/PasswordPolicyConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PasswordPolicyConfigTest extends TestCase {
/** @var PasswordPolicyConfig */
private $instance;

public function setUp() {
protected function setUp(): void {
parent::setUp();

$this->config = $this->createMock(IConfig::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/PasswordValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class PasswordValidatorTest extends TestCase {
private $validator;


public function setUp() {
protected function setUp(): void {
parent::setUp();

$this->container = $this->createMock(IAppContainer::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/CommonPasswordsValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class CommonPasswordsValidatorTest extends TestCase {
/** @var IValidator */
private $validator;

public function setUp() {
protected function setUp(): void {
parent::setUp();

$this->confg = $this->createMock(PasswordPolicyConfig::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/LengthValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class LengthValidatorTest extends TestCase {
/** @var IValidator */
private $validator;

public function setUp() {
protected function setUp(): void {
parent::setUp();

$this->confg = $this->createMock(PasswordPolicyConfig::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/NumericCharacterValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class NumericCharacterValidatorTest extends TestCase {
/** @var IValidator */
private $validator;

public function setUp() {
protected function setUp(): void {
parent::setUp();

$this->confg = $this->createMock(PasswordPolicyConfig::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/SpecialCharactersValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class SpecialCharactersValidatorTest extends TestCase {
/** @var IValidator */
private $validator;

public function setUp() {
protected function setUp(): void {
parent::setUp();

$this->confg = $this->createMock(PasswordPolicyConfig::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/UpperCaseLowerCaseValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class UpperCaseLowerCaseValidatorTest extends TestCase {
/** @var IValidator */
private $validator;

public function setUp() {
protected function setUp(): void {
parent::setUp();

$this->confg = $this->createMock(PasswordPolicyConfig::class);
Expand Down