Skip to content

Commit 456773f

Browse files
committed
Cleanup code and 3.8.x compatibility
1 parent b28d114 commit 456773f

37 files changed

+125
-309
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
operating-system: [ ubuntu-latest, macos-latest ]
17-
php-versions: [ '7.1', '7.2', '7.3' ]
17+
php-versions: [ '7.2', '7.3', '7.4' ]
1818

1919
steps:
2020
- name: Checkout

LICENSE.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2021 TechDivision GmbH
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
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, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

RoboFile.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
/**
44
* RoboFile.php
55
*
6-
* NOTICE OF LICENSE
7-
*
8-
* This source file is subject to the Open Software License (OSL 3.0)
9-
* that is available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/osl-3.0.php
11-
*
12-
* PHP version 5
6+
* PHP version 7
137
*
148
* @author Tim Wagner <[email protected]>
159
* @copyright 2016 TechDivision GmbH <[email protected]>
16-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
10+
* @license https://opensource.org/licenses/MIT
1711
* @link https://github.com/techdivision/import-configuration
1812
* @link http://www.techdivision.com
1913
*/
@@ -27,7 +21,7 @@
2721
*
2822
* @author Tim Wagner <[email protected]>
2923
* @copyright 2016 TechDivision GmbH <[email protected]>
30-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
24+
* @license https://opensource.org/licenses/MIT
3125
* @link https://github.com/techdivision/import-configuration
3226
* @link http://www.techdivision.com
3327
*

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name" : "techdivision/import-configuration",
33
"description": "The configuration interfaces for generic import functionality implementations",
4-
"license": "OSL-3.0",
4+
"license": "MIT",
55
"require": {
6-
"php": ">=7.1.0"
6+
"php": ">=7.2.0"
77
},
88
"require-dev": {
99
"doctrine/dbal": "2.5.*",

src/AliasConfigurationInterface.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
/**
44
* TechDivision\Import\Configuration\AliasConfigurationInterface
55
*
6-
* NOTICE OF LICENSE
7-
*
8-
* This source file is subject to the Open Software License (OSL 3.0)
9-
* that is available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/osl-3.0.php
11-
*
12-
* PHP version 5
6+
* PHP version 7
137
*
148
* @author Tim Wagner <[email protected]>
159
* @copyright 2019 TechDivision GmbH <[email protected]>
16-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
10+
* @license https://opensource.org/licenses/MIT
1711
* @link https://github.com/techdivision/import-configuration
1812
* @link http://www.techdivision.com
1913
*/
@@ -25,7 +19,7 @@
2519
*
2620
* @author Tim Wagner <[email protected]>
2721
* @copyright 2019 TechDivision GmbH <[email protected]>
28-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
22+
* @license https://opensource.org/licenses/MIT
2923
* @link https://github.com/techdivision/import-configuration
3024
* @link http://www.techdivision.com
3125
*/

src/CacheConfigurationInterface.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
/**
44
* TechDivision\Import\Configuration\CacheConfigurationInterface
55
*
6-
* NOTICE OF LICENSE
7-
*
8-
* This source file is subject to the Open Software License (OSL 3.0)
9-
* that is available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/osl-3.0.php
11-
*
12-
* PHP version 5
6+
* PHP version 7
137
*
148
* @author Tim Wagner <[email protected]>
159
* @copyright 2020 TechDivision GmbH <[email protected]>
16-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
10+
* @license https://opensource.org/licenses/MIT
1711
* @link https://github.com/techdivision/import-configuration
1812
* @link http://www.techdivision.com
1913
*/
@@ -25,7 +19,7 @@
2519
*
2620
* @author Tim Wagner <[email protected]>
2721
* @copyright 2020 TechDivision GmbH <[email protected]>
28-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
22+
* @license https://opensource.org/licenses/MIT
2923
* @link https://github.com/techdivision/import-configuration
3024
* @link http://www.techdivision.com
3125
*/

src/ConfigurationFactoryInterface.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
/**
44
* TechDivision\Import\Configuration\ConfigurationFactoryInterface
55
*
6-
* NOTICE OF LICENSE
7-
*
8-
* This source file is subject to the Open Software License (OSL 3.0)
9-
* that is available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/osl-3.0.php
11-
*
12-
* PHP version 5
6+
* PHP version 7
137
*
148
* @author Tim Wagner <[email protected]>
159
* @copyright 2020 TechDivision GmbH <[email protected]>
16-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
10+
* @license https://opensource.org/licenses/MIT
1711
* @link https://github.com/techdivision/import-configuration
1812
* @link http://www.techdivision.com
1913
*/
@@ -25,7 +19,7 @@
2519
*
2620
* @author Tim Wagner <[email protected]>
2721
* @copyright 2020 TechDivision GmbH <[email protected]>
28-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
22+
* @license https://opensource.org/licenses/MIT
2923
* @link https://github.com/techdivision/import-configuration
3024
* @link http://www.techdivision.com
3125
*/

src/ConfigurationInterface.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
/**
44
* TechDivision\Import\Configuration\ConfigurationInterface
55
*
6-
* NOTICE OF LICENSE
7-
*
8-
* This source file is subject to the Open Software License (OSL 3.0)
9-
* that is available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/osl-3.0.php
11-
*
12-
* PHP version 5
6+
* PHP version 7
137
*
148
* @author Tim Wagner <[email protected]>
159
* @copyright 2020 TechDivision GmbH <[email protected]>
16-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
10+
* @license https://opensource.org/licenses/MIT
1711
* @link https://github.com/techdivision/import-configuration
1812
* @link http://www.techdivision.com
1913
*/
@@ -25,7 +19,7 @@
2519
*
2620
* @author Tim Wagner <[email protected]>
2721
* @copyright 2020 TechDivision GmbH <[email protected]>
28-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
22+
* @license https://opensource.org/licenses/MIT
2923
* @link https://github.com/techdivision/import-configuration
3024
* @link http://www.techdivision.com
3125
*/

src/CsvConfigurationInterface.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
/**
44
* TechDivision\Import\Configuration\CsvConfigurationInterface
55
*
6-
* NOTICE OF LICENSE
7-
*
8-
* This source file is subject to the Open Software License (OSL 3.0)
9-
* that is available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/osl-3.0.php
11-
*
12-
* PHP version 5
6+
* PHP version 7
137
*
148
* @author Tim Wagner <[email protected]>
159
* @copyright 2020 TechDivision GmbH <[email protected]>
16-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
10+
* @license https://opensource.org/licenses/MIT
1711
* @link https://github.com/techdivision/import-configuration
1812
* @link http://www.techdivision.com
1913
*/
@@ -25,7 +19,7 @@
2519
*
2620
* @author Tim Wagner <[email protected]>
2721
* @copyright 2020 TechDivision GmbH <[email protected]>
28-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
22+
* @license https://opensource.org/licenses/MIT
2923
* @link https://github.com/techdivision/import-configuration
3024
* @link http://www.techdivision.com
3125
*/

src/DatabaseConfigurationInterface.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
/**
44
* TechDivision\Import\Configuration\DatabaseConfigurationInterface
55
*
6-
* NOTICE OF LICENSE
7-
*
8-
* This source file is subject to the Open Software License (OSL 3.0)
9-
* that is available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/osl-3.0.php
11-
*
12-
* PHP version 5
6+
* PHP version 7
137
*
148
* @author Tim Wagner <[email protected]>
159
* @copyright 2020 TechDivision GmbH <[email protected]>
16-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
10+
* @license https://opensource.org/licenses/MIT
1711
* @link https://github.com/techdivision/import-configuration
1812
* @link http://www.techdivision.com
1913
*/
@@ -25,7 +19,7 @@
2519
*
2620
* @author Tim Wagner <[email protected]>
2721
* @copyright 2020 TechDivision GmbH <[email protected]>
28-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
22+
* @license https://opensource.org/licenses/MIT
2923
* @link https://github.com/techdivision/import-configuration
3024
* @link http://www.techdivision.com
3125
*/

0 commit comments

Comments
 (0)