Skip to content

Commit dad3bc6

Browse files
committed
Move to MyCLabs
1 parent 3030141 commit dad3bc6

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
php-enum - PHP Enum implementation http://github.com/myc-sense/php-enum
1+
php-enum - PHP Enum implementation http://github.com/myclabs/php-enum
22

3-
Copyright (C) 2013 My C-Sense
3+
Copyright (C) 2013 My C-Labs
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
66
associated documentation files (the "Software"), to deal in the Software without restriction,

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This Enum class is not intended to replace class constants, but only to be used
1616
## Declaration
1717

1818
```php
19-
use Mycsense\Enum\Enum;
19+
use MyCLabs\Enum\Enum;
2020

2121
/**
2222
* Action enum

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "myc-sense/php-enum",
2+
"name": "myclabs/php-enum",
33
"type": "library",
44
"description": "PHP Enum implementation",
55
"keywords": ["enum"],
6-
"homepage": "http://github.com/myc-sense/php-enum",
6+
"homepage": "http://github.com/myclabs/php-enum",
77
"license": "MIT",
88
"autoload": {
99
"psr-0": {
10-
"Mycsense": "src/"
10+
"MyCLabs": "src/"
1111
}
1212
},
1313
"require": {

phpunit.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<testsuites>
1717
<testsuite name="Enum Test Suite">
18-
<directory>./tests/UnitTest/Mycsense/Enum</directory>
18+
<directory>./tests/UnitTest/MyCLabs/Enum</directory>
1919
</testsuite>
2020
</testsuites>
2121

src/Mycsense/Enum/Enum.php renamed to src/MyCLabs/Enum/Enum.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
/**
3-
* @link http://github.com/myc-sense/php-enum
3+
* @link http://github.com/myclabs/php-enum
44
* @author Matthieu Napoli <[email protected]>
55
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
66
*/
77

8-
namespace Mycsense\Enum;
8+
namespace MyCLabs\Enum;
99

1010
/**
1111
* Base Enum class

tests/UnitTest/Mycsense/Enum/EnumTest.php renamed to tests/UnitTest/MyCLabs/Enum/EnumTest.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22
/**
3-
* @link http://github.com/myc-sense/php-enum
3+
* @link http://github.com/myclabs/php-enum
44
* @author Matthieu Napoli <[email protected]>
55
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
66
*/
77

8-
namespace UnitTest\Mycsense\Enum\Enum;
8+
namespace UnitTest\MyCLabs\Enum\Enum;
99

10-
use Mycsense\Enum\Enum;
10+
use MyCLabs\Enum\Enum;
1111

1212
/**
1313
* Enum test
@@ -77,8 +77,8 @@ public function testToArray()
7777
$values = EnumFixture::toArray();
7878
$this->assertInternalType("array", $values);
7979
$expectedValues = array(
80-
"FOO" => EnumFixture::FOO,
81-
"BAR" => EnumFixture::BAR,
80+
"FOO" => EnumFixture::FOO,
81+
"BAR" => EnumFixture::BAR,
8282
"NUMBER" => EnumFixture::NUMBER,
8383
);
8484
$this->assertEquals($expectedValues, $values);

0 commit comments

Comments
 (0)