Drop PHP 5.5, add PHP 7.1.
Bump outdated PHPUnit version. Add Travis CI webhook for Support Bot.
Showing
... | @@ -18,13 +18,17 @@ | ... | @@ -18,13 +18,17 @@ |
} | } | ||
], | ], | ||
"require": { | "require": { | ||
"php": ">=5.5.0", | "php": ">=5.6", | ||
"ext-pdo": "*", | "ext-pdo": "*", | ||
"ext-curl": "*", | "ext-curl": "*", | ||
"ext-mbstring": "*", | "ext-mbstring": "*", | ||
"monolog/monolog": "^1.19", | "monolog/monolog": "^1.19", | ||
"guzzlehttp/guzzle": "~6.0" | "guzzlehttp/guzzle": "~6.0" | ||
}, | }, | ||
"require-dev": { | |||
"phpunit/phpunit": "^5.7", | |||
"squizlabs/php_codesniffer": "~2.5" | |||
}, | |||
"autoload": { | "autoload": { | ||
"psr-4": { | "psr-4": { | ||
"Longman\\TelegramBot\\": "src/" | "Longman\\TelegramBot\\": "src/" | ||
... | @@ -35,8 +39,15 @@ | ... | @@ -35,8 +39,15 @@ |
"Longman\\TelegramBot\\Tests\\Unit\\": "tests/unit" | "Longman\\TelegramBot\\Tests\\Unit\\": "tests/unit" | ||
} | } | ||
}, | }, | ||
"require-dev": { | "scripts": { | ||
"phpunit/phpunit": "~4.8", | "check-code": [ | ||
"squizlabs/php_codesniffer": "~2.5" | "./vendor/bin/phpcs --standard=phpcs.xml -snp --encoding=utf-8 src/ --report-width=150" | ||
], | |||
"test-cov": [ | |||
"./vendor/bin/phpunit --coverage-clover build/logs/clover.xml" | |||
], | |||
"test": [ | |||
"./vendor/bin/phpunit" | |||
] | |||
} | } | ||
} | } |
This diff is collapsed.
Please register or sign in to comment