Skip to content

Commit 49cc7b8

Browse files
committed
Change package names and links
1 parent 117abc2 commit 49cc7b8

File tree

6 files changed

+9
-19
lines changed

6 files changed

+9
-19
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
php-enum - PHP Enum implementation http://github.com/myclabs/php-enum
1+
php-enum - PHP Enum implementation http://github.com/adrium/php-enum
22

33
Copyright (C) 2015 My C-Labs
44

README.md

-10
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# PHP Enum implementation inspired from SplEnum
22

3-
[![Build Status](https://travis-ci.org/myclabs/php-enum.png?branch=master)](https://travis-ci.org/myclabs/php-enum)
4-
[![Latest Stable Version](https://poser.pugx.org/myclabs/php-enum/version.png)](https://packagist.org/packages/myclabs/php-enum)
5-
[![Total Downloads](https://poser.pugx.org/myclabs/php-enum/downloads.png)](https://packagist.org/packages/myclabs/php-enum)
6-
73
## Why?
84

95
First, and mainly, `SplEnum` is not integrated to PHP, you have to install it separately.
@@ -17,12 +13,6 @@ Using an enum instead of class constants provides the following advantages:
1713

1814
This Enum class is not intended to replace class constants, but only to be used when it makes sense.
1915

20-
## Installation
21-
22-
```
23-
composer require myclabs/php-enum
24-
```
25-
2616
## Declaration
2717

2818
```php

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "myclabs/php-enum",
2+
"name": "adrium/php-enum",
33
"type": "library",
44
"description": "PHP Enum implementation",
55
"keywords": ["enum"],
6-
"homepage": "http://github.com/myclabs/php-enum",
6+
"homepage": "http://github.com/adrium/php-enum",
77
"license": "MIT",
88
"authors": [
99
{
1010
"name": "PHP Enum contributors",
11-
"homepage": "https://github.com/myclabs/php-enum/graphs/contributors"
11+
"homepage": "https://github.com/adrium/php-enum/graphs/contributors"
1212
}
1313
],
1414
"autoload": {

src/Enum.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* @link http://github.com/myclabs/php-enum
3+
* @link http://github.com/adrium/php-enum
44
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
55
*/
66

@@ -83,7 +83,7 @@ public function __toString()
8383
/**
8484
* Compares one Enum with another.
8585
*
86-
* This method is final, for more information read https://github.com/myclabs/php-enum/issues/4
86+
* This method is final, for more information read https://github.com/adrium/php-enum/issues/4
8787
*
8888
* @return bool True if Enums are equal, false if not equal
8989
*/

tests/EnumFixture.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* @link http://github.com/myclabs/php-enum
3+
* @link http://github.com/adrium/php-enum
44
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
55
*/
66

tests/EnumTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* @link http://github.com/myclabs/php-enum
3+
* @link http://github.com/adrium/php-enum
44
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
55
*/
66

@@ -191,7 +191,7 @@ public function testIsValidKey()
191191

192192
/**
193193
* search()
194-
* @see https://github.com/myclabs/php-enum/issues/13
194+
* @see https://github.com/adrium/php-enum/issues/13
195195
* @dataProvider searchProvider
196196
*/
197197
public function testSearch($value, $expected)

0 commit comments

Comments
 (0)