Skip to content

Commit

Permalink
Merge pull request #8 from neeckeloo/chore/drop-php-71-support
Browse files Browse the repository at this point in the history
Drop PHP 7.1 support
  • Loading branch information
neeckeloo authored Jun 27, 2020
2 parents 44573c6 + 67c9baa commit 4cafc00
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ env:
matrix:
fast_finish: true
include:
- php: 7.0
dist: xenial
env: deps=low
- php: 7.1
dist: bionic
env: deps=low
- php: 7.2
dist: bionic
- php: 7.3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Module to integrate Monolog with Zend Framework projects.

## Requirements

* PHP 7.0+
* PHP 7.1+
* [monolog/monolog ^1.11 || ^2.0](http://www.github.com/Seldaek/monolog)
* [zendframework/zend-servicemanager ^2.7.6 || ^3.0.3](https://github.com/zendframework/zend-servicemanager)

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
}
],
"require": {
"php": "^7.0",
"php": "^7.1",
"monolog/monolog": "^1.11 || ^2.0",
"zendframework/zend-servicemanager": "^2.7.6 || ^3.0.3"
},
"require-dev": {
"graylog2/gelf-php": "~1.1",
"phpunit/phpunit": "^6.5.14 || ^8.5.8",
"phpunit/phpunit": "^7.5.20 || ^8.5.8",
"satooshi/php-coveralls": "^2.2"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/LoggerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LoggerFactory
*/
private $container;

public function setContainer(ContainerInterface $container)
public function setContainer(ContainerInterface $container) : void
{
$this->container = $container;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Formatter/FormatterPluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class FormatterPluginManager extends AbstractPluginManager
* @param mixed $instance
* @throws InvalidServiceException
*/
public function validate($instance)
public function validate($instance) : void
{
if (! $instance instanceof $this->instanceOf) {
throw new InvalidServiceException(sprintf(
Expand All @@ -33,7 +33,7 @@ public function validate($instance)
* @param mixed $instance
* @throws Exception\InvalidArgumentException
*/
public function validatePlugin($instance)
public function validatePlugin($instance) : void
{
$this->validate($instance);
}
Expand Down
4 changes: 2 additions & 2 deletions src/Handler/HandlerPluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class HandlerPluginManager extends AbstractPluginManager
* @param mixed $instance
* @throws InvalidServiceException
*/
public function validate($instance)
public function validate($instance): void
{
if (! $instance instanceof $this->instanceOf) {
throw new InvalidServiceException(sprintf(
Expand All @@ -33,7 +33,7 @@ public function validate($instance)
* @param mixed $instance
* @throws Exception\InvalidArgumentException
*/
public function validatePlugin($instance)
public function validatePlugin($instance): void
{
$this->validate($instance);
}
Expand Down

0 comments on commit 4cafc00

Please sign in to comment.