Skip to content

Commit 79929be

Browse files
committed
Rebranding
1 parent f029822 commit 79929be

9 files changed

+15
-15
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#CurlWrapper for PHP
2-
[![Total Downloads](https://img.shields.io/packagist/dt/f3ath/curlwrapper.svg)](https://packagist.org/packages/f3ath/curlwrapper)
3-
[![Latest Stable Version](https://img.shields.io/packagist/v/f3ath/curlwrapper.svg)](https://packagist.org/packages/f3ath/curlwrapper)
4-
[![Travis Build](https://travis-ci.org/f3ath/curlwrapper.svg?branch=master)](https://travis-ci.org/f3ath/curlwrapper)
2+
[![Total Downloads](https://img.shields.io/packagist/dt/phpcurl/curlwrapper.svg)](https://packagist.org/packages/phpcurl/curlwrapper)
3+
[![Latest Stable Version](https://img.shields.io/packagist/v/phpcurl/curlwrapper.svg)](https://packagist.org/packages/phpcurl/curlwrapper)
4+
[![Travis Build](https://travis-ci.org/phpcurl/curlwrapper.svg?branch=master)](https://travis-ci.org/phpcurl/curlwrapper)
55
[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/7f40aa21-520b-490d-b8e9-6748f9495d8d.svg)](https://insight.sensiolabs.com/projects/7f40aa21-520b-490d-b8e9-6748f9495d8d)
66

77

@@ -27,7 +27,7 @@ Testable code. Curl object is injected, so can be easily mocked in PHPUnit.
2727
```php
2828
class MyApiClient {
2929
private $curl;
30-
function __construct(\F3\CurlWrapper\Curl $curl)
30+
function __construct(\PHPCurl\CurlWrapper\Curl $curl)
3131
{
3232
$this->curl = $curl;
3333
}
@@ -43,7 +43,7 @@ class MyApiClient {
4343

4444
##Install
4545
Via [composer](https://getcomposer.org):
46-
`$ composer require "f3ath/curlwrapper"`
46+
`$ composer require "phpcurl/curlwrapper"`
4747

4848

4949
##Basic usage examples. Functional vs OOP style

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "library",
44
"description": "The simplest OOP wrapper for curl, curl_multi, curl_share functions. Use CURL as a dependency, not hard-coded!",
55
"keywords": [
6-
"phpcurl"
6+
"phpcurl",
77
"curl",
88
"curl_multi",
99
"curl_share",

src/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace F3\CurlWrapper;
2+
namespace PHPCurl\CurlWrapper;
33

44
use InvalidArgumentException;
55

src/CurlException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace F3\CurlWrapper;
2+
namespace PHPCurl\CurlWrapper;
33

44
/**
55
* Class CurlException

src/CurlMulti.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace F3\CurlWrapper;
2+
namespace PHPCurl\CurlWrapper;
33

44
/**
55
* OOP wrapper for curl_multi_* functions

src/CurlShare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace F3\CurlWrapper;
2+
namespace PHPCurl\CurlWrapper;
33

44
/**
55
* OOP wrapper for curl_share_* fuctions

test/CurlMultiTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace F3\CurlWrapper;
2+
namespace PHPCurl\CurlWrapper;
33

44
function curl_multi_init()
55
{
@@ -59,7 +59,7 @@ class CurlMultiTest extends \PHPUnit_Framework_TestCase
5959

6060
public function testAll()
6161
{
62-
$c = $this->getMock('F3\\CurlWrapper\\Curl', array('getHandle'));
62+
$c = $this->getMock('PHPCurl\\CurlWrapper\\Curl', array('getHandle'));
6363
$c->expects($this->any())
6464
->method('getHandle')
6565
->will($this->returnValue('bar'));

test/CurlShareTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace F3\CurlWrapper;
2+
namespace PHPCurl\CurlWrapper;
33

44
function curl_share_close($h)
55
{

test/CurlTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace F3\CurlWrapper;
2+
namespace PHPCurl\CurlWrapper;
33

44
use InvalidArgumentException;
55

@@ -157,7 +157,7 @@ public function testExecError()
157157
}
158158

159159
/**
160-
* @expectedException \F3\CurlWrapper\CurlException
160+
* @expectedException \PHPCurl\CurlWrapper\CurlException
161161
* @expectedExceptionMessage Error "omfg" after 2 attempt(s)
162162
* @expectedExceptionCode 666
163163
*/

0 commit comments

Comments
 (0)