Skip to content

Commit 66efe2c

Browse files
committed
psr-0, add Adoy to namespace
1 parent 2c63e0d commit 66efe2c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ How can I use it ?
4545

4646
require 'vendor/autoload.php';
4747

48-
use FastCGI\Client;
48+
use Adoy\FastCGI\Client;
4949

5050
$client = new Client('localhost', '9000');
5151
$content = 'key=value';

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
}
1111
],
1212
"autoload": {
13-
"files": ["fastcgi.php"]
13+
"psr-0": { "Adoy\\FastCGI\\": "src" }
1414
}
1515
}

fcgiget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
require 'vendor/autoload.php';
1919

20-
use FastCGI\Client;
20+
use Adoy\FastCGI\Client;
2121

2222
/**
2323
* Simple command line script to test communication with a FastCGI server

fastcgi.php renamed to src/Adoy/FastCGI/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the GNU Lesser General Public License for more details.
1515
*/
1616

17-
namespace FastCGI;
17+
namespace Adoy\FastCGI;
1818

1919
/**
2020
* Handles communication with a FastCGI application

0 commit comments

Comments
 (0)