Skip to content

Commit

Permalink
Merge branch 'qa/8' into develop
Browse files Browse the repository at this point in the history
Forward port #8
  • Loading branch information
michalbundyra committed Mar 15, 2020
2 parents 89f4a65 + 914284c commit 65e7b02
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ matrix:
- php: 7.3
env:
- DEPS=latest
- php: 7.4
env:
- DEPS=lowest
- php: 7.4
env:
- DEPS=latest

before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ All notable changes to this project will be documented in this file, in reverse

### Added

- Nothing.
- [#8](https://github.com/laminas/laminas-ldap/pull/8) adds support for PHP 7.4.

### Changed

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"laminas/laminas-eventmanager": "^2.6.3 || ^3.0.1",
"laminas/laminas-stdlib": "^2.7 || ^3.0",
"php-mock/php-mock-phpunit": "^1.1.2 || ^2.1.1",
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2"
"phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.20"
},
"suggest": {
"laminas/laminas-eventmanager": "Laminas\\EventManager component"
Expand Down
2 changes: 1 addition & 1 deletion test/BindTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class BindTest extends TestCase
protected $altUsername;
protected $bindRequiresDn = false;

public function setUp()
protected function setUp()
{
if (! getenv('TESTS_LAMINAS_LDAP_ONLINE_ENABLED')) {
$this->markTestSkipped("Laminas_Ldap online tests are not enabled");
Expand Down
2 changes: 1 addition & 1 deletion test/CanonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CanonTest extends TestCase
*/
protected $options;

public function setUp()
protected function setUp()
{
if (! getenv('TESTS_LAMINAS_LDAP_ONLINE_ENABLED')) {
$this->markTestSkipped("Laminas_Ldap online tests are not enabled");
Expand Down
2 changes: 1 addition & 1 deletion test/ConnectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ConnectTest extends TestCase
{
protected $options = null;

public function setUp()
protected function setUp()
{
if (! getenv('TESTS_LAMINAS_LDAP_ONLINE_ENABLED')) {
$this->markTestSkipped("Laminas_Ldap online tests are not enabled");
Expand Down
2 changes: 1 addition & 1 deletion test/ErrorHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ErrorHandlerTest extends TestCase
'handleError',
];

public function setUp()
protected function setUp()
{
/** @todo: remove when migrate to PHP 7.1+ and PHPUnit 7+ only */
if (class_exists(\PHPUnit_Util_ErrorHandler::class)) {
Expand Down
2 changes: 1 addition & 1 deletion test/OfflineReconnectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected function activateBindableOfflineMocks()
BuiltinFunctionMocks::$ldap_set_option_mock->enable();
}

public function tearDown()
protected function tearDown()
{
parent::tearDown();
Mock::disableAll();
Expand Down
2 changes: 1 addition & 1 deletion test/OfflineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class OfflineTest extends TestCase
*
* @return void
*/
public function setUp()
protected function setUp()
{
$this->ldap = new Ldap\Ldap();
}
Expand Down
4 changes: 2 additions & 2 deletions test/ReconnectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected static function getStandardOptions()
return $options;
}

public function setUp()
protected function setUp()
{
if (! getenv('TESTS_LAMINAS_LDAP_ONLINE_ENABLED')) {
$this->markTestSkipped("Laminas_Ldap online tests are not enabled");
Expand All @@ -56,7 +56,7 @@ public function setUp()
$this->getLDAP()->setOptions(static::getStandardOptions());
}

public function tearDown()
protected function tearDown()
{
// Make sure we're using a non-expired connection with known settings
// for each test.
Expand Down

0 comments on commit 65e7b02

Please sign in to comment.