THRIFT-4460: Use PSR-2 as php library coding standard
Client: php
This closes #1472
diff --git a/composer.json b/composer.json
index af0135d..9a38331 100644
--- a/composer.json
+++ b/composer.json
@@ -16,10 +16,11 @@
"issues": "https://issues.apache.org/jira/browse/THRIFT"
},
"require": {
- "php": ">=5.3.3"
+ "php": "^5.5 || ^7.0"
},
"require-dev": {
- "phpunit/phpunit": "~4.8.36"
+ "phpunit/phpunit": "~4.8.36",
+ "squizlabs/php_codesniffer": "3.*"
},
"autoload": {
"psr-4": {"Thrift\\": "lib/php/lib/"}