Merge pull request #463 from noplanman/boost_deps
Boost deps
Showing
... | ... | @@ -18,12 +18,16 @@ |
} | ||
], | ||
"require": { | ||
"php": ">=5.5.0", | ||
"php": "^5.5|^7.0", | ||
"ext-pdo": "*", | ||
"ext-curl": "*", | ||
"ext-mbstring": "*", | ||
"monolog/monolog": "^1.19", | ||
"guzzlehttp/guzzle": "~6.0" | ||
"monolog/monolog": "^1.22", | ||
"guzzlehttp/guzzle": "^6.2" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4.8|^5.7|^6.1", | ||
"squizlabs/php_codesniffer": "^2.8" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
... | ... | @@ -35,8 +39,18 @@ |
"Longman\\TelegramBot\\Tests\\Unit\\": "tests/unit" | ||
} | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~4.8", | ||
"squizlabs/php_codesniffer": "~2.5" | ||
"scripts": { | ||
"check-code": [ | ||
"./vendor/bin/phpcs --standard=phpcs.xml -snp --encoding=utf-8 src/ --report-width=150" | ||
], | ||
"test": [ | ||
"./vendor/bin/phpunit" | ||
], | ||
"test-cov": [ | ||
"./vendor/bin/phpunit --coverage-clover build/logs/clover.xml" | ||
], | ||
"test-cov-upload": [ | ||
"wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml" | ||
] | ||
} | ||
} |
Please register or sign in to comment