Skip to content

Commit 326adef

Browse files
committed
Change to use PSR-4 namespaces
1 parent 44793ca commit 326adef

17 files changed

Lines changed: 842 additions & 69 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.idea
2+
/vendor

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ php:
55
- 5.5
66
- 5.6
77
- 7.0
8-
install: pear install Net_URL2
98
addons:
109
hosts:
1110
- hr2.local

composer.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require" : {
1919
"php" : ">=5.2.0",
2020
"pear/net_url2" : "^2.2.0",
21-
"pear/pear_exception" : "^1.0.0"
21+
"pear/pear_exception" : "^1.0"
2222
},
2323
"suggest" : {
2424
"ext-fileinfo" : "Adds support for looking up mime-types using finfo.",
@@ -27,8 +27,9 @@
2727
"lib-openssl" : "Allows handling SSL requests when not using cURL."
2828
},
2929
"autoload": {
30-
"psr-0": {
31-
"HTTP_Request2" : ""
30+
"psr-4": {
31+
"FINDOLOGIC\\HTTP_Request2\\" : "src/FINDOLOGIC/HTTP_Request2/",
32+
"FINDOLOGIC\\HTTP_Request2\\Tests\\" : "tests/"
3233
}
3334
},
3435
"include-path": [
@@ -38,5 +39,8 @@
3839
"branch-alias": {
3940
"dev-trunk": "2.2-dev"
4041
}
42+
},
43+
"require-dev": {
44+
"phpunit/phpunit": "v4"
4145
}
4246
}

0 commit comments

Comments
 (0)