Skip to content

Commit 9f035a5

Browse files
authored
Merge pull request #46 from candasm/4.0
Update composer.json to support php7.
2 parents d0bfd91 + 28ee191 commit 9f035a5

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Laravel Elasticsearch Service Provider (4.0.1)
1+
Laravel Elasticsearch Service Provider (4.0.2)
22
================================================
33
[![Latest Stable Version](https://poser.pugx.org/shift31/laravel-elasticsearch/v/stable)](https://packagist.org/packages/shift31/laravel-elasticsearch)
44
[![Total Downloads](https://poser.pugx.org/shift31/laravel-elasticsearch/downloads)](https://packagist.org/packages/shift31/laravel-elasticsearch)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99
],
1010
"require": {
11-
"php": ">=5.4.0 <=7.0",
11+
"php": ">=5.4.0",
1212
"laravel/framework": "~4.2.0",
1313
"elasticsearch/elasticsearch": "~0.4"
1414
},

src/Shift31/LaravelElasticsearch/ElasticsearchServiceProvider.php

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

88
class ElasticsearchServiceProvider extends ServiceProvider
99
{
10-
const VERSION = '4.0.1';
10+
const VERSION = '4.0.2';
1111

1212
/**
1313
* @inheritdoc

src/config/elasticsearch.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
return [
44
'hosts' => ['localhost:9200'],
5+
'logging' => false,
56
'logPath' => storage_path('logs/elastic-search.log'),
6-
'logLevel' => 400,
7+
'logLevel' => Psr\Log\LogLevel::WARNING,
78
];

0 commit comments

Comments
 (0)