Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit addf5cd

Browse files
committed
Merge pull request #1 from eseyden/master
Support PHP 5.4
2 parents 9608462 + 09ce965 commit addf5cd

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: php
22

33
php:
4+
- 5.4
45
- 5.5
56
- 5.6
67

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"type": "project",
77
"require": {
8-
"php": ">=5.5.9",
8+
"php": ">=5.4.16",
99
"adldap2/adldap2": "5.0.*",
1010
"laravel/framework": "5.*"
1111
},

src/Config/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
|
2727
*/
2828

29-
'connection' => Adldap\Connections\Ldap::class,
29+
'connection' => 'Adldap\Connections\Ldap',
3030

3131
/*
3232
|--------------------------------------------------------------------------
@@ -157,4 +157,4 @@
157157

158158
],
159159

160-
];
160+
];

tests/AdldapTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ class AdldapTest extends FunctionalTestCase
1010
{
1111
public function testConfigurationNotFoundException()
1212
{
13-
$this->setExpectedException(ConfigurationMissingException::class);
13+
$this->setExpectedException('Adldap\Laravel\Exceptions\ConfigurationMissingException');
1414

1515
App::make('adldap');
1616
}
1717

1818
public function testRegistration()
1919
{
20-
$this->assertTrue(app()->register(AdldapServiceProvider::class));
20+
$this->assertTrue(app()->register('Adldap\Laravel\AdldapServiceProvider'));
2121
}
2222
}

tests/FunctionalTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function getEnvironmentSetup($app)
2828
protected function getPackageProviders()
2929
{
3030
return [
31-
AdldapServiceProvider::class,
31+
'Adldap\Laravel\AdldapServiceProvider',
3232
];
3333
}
3434

@@ -40,7 +40,7 @@ protected function getPackageProviders()
4040
protected function getPackageAliases()
4141
{
4242
return [
43-
Adldap::class,
43+
'Adldap\Laravel\Facades\Adldap',
4444
];
4545
}
4646
}

0 commit comments

Comments
 (0)