Skip to content

Commit fdc172f

Browse files
committed
Issue #18 Push min requirement to Yii 2.0.13
1 parent 79bb68c commit fdc172f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Yii2 Excel Export
66
[![Latest Unstable Version](https://poser.pugx.org/codemix/yii2-excelexport/v/unstable)](https://packagist.org/packages/codemix/yii2-excelexport)
77
[![License](https://poser.pugx.org/codemix/yii2-excelexport/license)](https://packagist.org/packages/codemix/yii2-excelexport)
88

9+
> **Note:** The minimum requirement since 2.6.0 is Yii 2.0.13. The latest
10+
> version for older Yii releases is 2.5.0.
911
1012
## Features
1113

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"yiisoft/yii2": "*",
14+
"yiisoft/yii2": "~2.0.13",
1515
"mikehaertl/php-tmpfile": "^1.0.0",
1616
"phpoffice/phpexcel": "1.*"
1717
},

src/ExcelFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
namespace codemix\excelexport;
33

44
use Yii;
5-
use yii\base\Object;
5+
use yii\base\BaseObject;
66
use yii\helpers\ArrayHelper;
77
use mikehaertl\tmp\File;
88

99
/**
1010
* This class represents an excel file.
1111
*/
12-
class ExcelFile extends Object
12+
class ExcelFile extends BaseObject
1313
{
1414
/**
1515
* @var string the writer class to use. Default is

0 commit comments

Comments
 (0)