diff --git a/class-wp-codebird.php b/class-wp-codebird.php index e77a0a44c9c0b436444c23e62baaafcd4ed96445..39001c1837b2f69edf97f7c6733b51dce3bc181a 100644 --- a/class-wp-codebird.php +++ b/class-wp-codebird.php @@ -6,7 +6,7 @@ * * @version 1.1.2 */ -class WP_Codebird extends Codebird { +class WP_Codebird extends \Codebird\Codebird { /** * The current singleton instance */ diff --git a/composer.json b/composer.json new file mode 100644 index 0000000000000000000000000000000000000000..99b9fbdffed035d0be5d8ba978f73f102ba2583f --- /dev/null +++ b/composer.json @@ -0,0 +1,12 @@ +{ + "name": "automattic/wp-codebird", + "description": "An extension of the Codebird class to use WordPress' HTTP API instead of cURL.", + "version": "1.1.2", + "license": "GPL-2.0+", + "require": { + "mynetx/codebird-php": "~2.4" + }, + "autoload": { + "files": ["class-wp-codebird.php"] + } +} \ No newline at end of file diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000000000000000000000000000000000000..d3a4f68365121efdefa85b602629287c48d61a0a --- /dev/null +++ b/composer.lock @@ -0,0 +1,52 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" + ], + "hash": "315359867471cb3c90c59182a9b9e389", + "packages": [ + { + "name": "mynetx/codebird-php", + "version": "2.4.1", + "source": { + "type": "git", + "url": "https://github.com/jublonet/codebird-php.git", + "reference": "c2cbec5858ac1dffb9063411931384163be1fe49" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/jublonet/codebird-php/zipball/c2cbec5858ac1dffb9063411931384163be1fe49", + "reference": "c2cbec5858ac1dffb9063411931384163be1fe49", + "shasum": "" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "description": "A Twitter library in PHP.", + "time": "2013-06-23 17:30:17" + } + ], + "packages-dev": [ + + ], + "aliases": [ + + ], + "minimum-stability": "stable", + "stability-flags": [ + + ], + "platform": [ + + ], + "platform-dev": [ + + ] +}