Skip to content

Commit 333c74a

Browse files
author
Andy Vaughn
committed
fix composer version compability and namespaces for travis CI
1 parent 4b04ea2 commit 333c74a

24 files changed

Lines changed: 56 additions & 56 deletions

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"issues": "https://github.com/modethirteen/XArray.php/issues"
1616
},
1717
"require": {
18-
"php": "~7.4.12"
18+
"php": ">=7.2.0"
1919
},
2020
"require-dev": {
21-
"phpstan/phpstan": "~0.12.57",
22-
"phpunit/phpunit": "~9.4.3"
21+
"phpstan/phpstan": "0.11.1",
22+
"phpunit/phpunit": "7.4.3"
2323
},
2424
"autoload": {
2525
"psr-4": {
@@ -28,7 +28,7 @@
2828
},
2929
"autoload-dev": {
3030
"psr-4": {
31-
"modethirteen\\XArray\\Tests\\": ["tests/"]
31+
"modethirteen\\XArray\\tests\\": ["tests/"]
3232
}
3333
}
3434
}

src/MutableXArray.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
namespace MindTouch\XArray;
17+
namespace modethirteen\XArray;
1818

1919
/**
2020
* Class MutableXArray - get/set accessors for arrays
2121
*
22-
* @package MindTouch\XArray
22+
* @package modethirteen\XArray
2323
*/
2424
class MutableXArray extends XArray{
2525

src/XArray.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
namespace MindTouch\XArray;
17+
namespace modethirteen\XArray;
1818

1919
/**
2020
* Class XArray - get/set accessors for arrays
2121
*
22-
* @package MindTouch\XArray
22+
* @package modethirteen\XArray
2323
*/
2424
class XArray {
2525

tests/MutableXArray/__ctor_Test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
namespace MindTouch\XArray\tests\MutableXArray;
17+
namespace modethirteen\XArray\tests\MutableXArray;
1818

19-
use MindTouch\XArray\MutableXArray;
19+
use modethirteen\XArray\MutableXArray;
2020
use PHPUnit\Framework\TestCase;
2121

2222
class __ctor_Test extends TestCase {

tests/MutableXArray/getAll_Test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
namespace MindTouch\XArray\tests\MutableXArray;
17+
namespace modethirteen\XArray\tests\MutableXArray;
1818

19-
use MindTouch\XArray\MutableXArray;
19+
use modethirteen\XArray\MutableXArray;
2020

21-
class getAll_Test extends \MindTouch\XArray\tests\XArrayBase\getAll_Test {
21+
class getAll_Test extends \modethirteen\XArray\tests\XArrayBase\getAll_Test {
2222

2323
/**
2424
* @var string

tests/MutableXArray/getString_Test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
namespace MindTouch\XArray\tests\MutableXArray;
17+
namespace modethirteen\XArray\tests\MutableXArray;
1818

19-
use MindTouch\XArray\MutableXArray;
19+
use modethirteen\XArray\MutableXArray;
2020

21-
class getString_Test extends \MindTouch\XArray\tests\XArrayBase\getString_Test {
21+
class getString_Test extends \modethirteen\XArray\tests\XArrayBase\getString_Test {
2222

2323
/**
2424
* @var string

tests/MutableXArray/getVal_Test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
namespace MindTouch\XArray\tests\MutableXArray;
17+
namespace modethirteen\XArray\tests\MutableXArray;
1818

19-
use MindTouch\XArray\MutableXArray;
19+
use modethirteen\XArray\MutableXArray;
2020

21-
class getVal_Test extends \MindTouch\XArray\tests\XArrayBase\getVal_Test {
21+
class getVal_Test extends \modethirteen\XArray\tests\XArrayBase\getVal_Test {
2222

2323
/**
2424
* @var string

tests/MutableXArray/setVal_Test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
namespace MindTouch\XArray\tests\MutableXArray;
17+
namespace modethirteen\XArray\tests\MutableXArray;
1818

19-
use MindTouch\XArray\MutableXArray;
19+
use modethirteen\XArray\MutableXArray;
2020

21-
class setVal_Test extends \MindTouch\XArray\tests\XArrayBase\setVal_Test {
21+
class setVal_Test extends \modethirteen\XArray\tests\XArrayBase\setVal_Test {
2222

2323
/**
2424
* @var string

tests/MutableXArray/toArray_Test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
namespace MindTouch\XArray\tests\MutableXArray;
17+
namespace modethirteen\XArray\tests\MutableXArray;
1818

19-
use MindTouch\XArray\MutableXArray;
19+
use modethirteen\XArray\MutableXArray;
2020

21-
class toArray_Test extends \MindTouch\XArray\tests\XArrayBase\toArray_Test {
21+
class toArray_Test extends \modethirteen\XArray\tests\XArrayBase\toArray_Test {
2222

2323
/**
2424
* @var string

tests/MutableXArray/toXml_Test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
namespace MindTouch\XArray\tests\MutableXArray;
17+
namespace modethirteen\XArray\tests\MutableXArray;
1818

19-
use MindTouch\XArray\MutableXArray;
19+
use modethirteen\XArray\MutableXArray;
2020

21-
class toXml_Test extends \MindTouch\XArray\tests\XArrayBase\toXml_Test {
21+
class toXml_Test extends \modethirteen\XArray\tests\XArrayBase\toXml_Test {
2222

2323
/**
2424
* @var string

0 commit comments

Comments
 (0)