Skip to content

Commit 99c91cb

Browse files
committed
Upd LICENSE (MIT)
1 parent f2188da commit 99c91cb

17 files changed

+34
-41
lines changed

LICENSE.md

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
1-
Copyright (c) 2015, Igor Romanov
2-
All rights reserved.
3-
4-
Redistribution and use in source and binary forms, with or without
5-
modification, are permitted provided that the following conditions are met:
1+
The MIT License (MIT)
62

7-
* Redistributions of source code must retain the above copyright notice, this
8-
list of conditions and the following disclaimer.
9-
10-
* Redistributions in binary form must reproduce the above copyright notice,
11-
this list of conditions and the following disclaimer in the documentation
12-
and/or other materials provided with the distribution.
3+
Copyright (c) 2015, Igor Romanov
134

14-
* Neither the name of filemanager-yii2 nor the names of its
15-
contributors may be used to endorse or promote products derived from
16-
this software without specific prior written permission.
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
1711

18-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
2814

15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"keywords": ["yii2", "extension", "file manager", "manager", "upload", "resize", "files"],
55
"homepage": "https://github.com/rkit/filemanager-yii2",
66
"type": "yii2-extension",
7-
"license": "BSD-3-Clause",
7+
"license": "MIT",
88
"authors": [
99
{
1010
"name": "Igor Romanov",

src/Decoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace rkit\filemanager;

src/FileManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace rkit\filemanager;

src/actions/UploadAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace rkit\filemanager\actions;

src/behaviors/FileBehavior.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace rkit\filemanager\behaviors;

src/helpers/FileRules.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
8-
8+
99
namespace rkit\filemanager\helpers;
1010

1111
use Yii;

src/models/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace rkit\filemanager\models;

tests/BaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace tests;

tests/FileUploadTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace tests;

tests/GalleryUploadTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace tests;

tests/ResizeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace tests;

tests/RulesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace tests;

tests/data/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace tests\data;

tests/data/News.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace tests\data;

tests/data/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace tests\data;

tests/models/FileTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @link https://github.com/rkit/filemanager-yii2
55
* @copyright Copyright (c) 2015 Igor Romanov
6-
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6+
* @license [MIT](http://opensource.org/licenses/MIT)
77
*/
88

99
namespace tests;

0 commit comments

Comments
 (0)