1 Star 0 Fork 0

星星组织/symfony

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
phpunit 657 Bytes
一键复制 编辑 原始数据 按行查看 历史
Nicolas Grekas 提交于 2019-08-09 05:20 +08:00 . Use PHPUnit 8.3 on Travis when possible
#!/usr/bin/env php
<?php
// Cache-Id: 2019-08-09 13:00 UTC
if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
exit(1);
}
if (!getenv('SYMFONY_PHPUNIT_VERSION')) {
if (\PHP_VERSION_ID >= 70200) {
putenv('SYMFONY_PHPUNIT_VERSION=8.3');
} elseif (\PHP_VERSION_ID >= 70000) {
putenv('SYMFONY_PHPUNIT_VERSION=6.5');
}
}
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/starryorg/symfony.git
git@gitee.com:starryorg/symfony.git
starryorg
symfony
symfony
master

搜索帮助