1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix build

This commit is contained in:
Matthew Brown 2019-12-01 17:18:07 -05:00
parent 0bc6d71173
commit a82ed91a00
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
"prefer-stable": true,
"require-dev": {
"phpunit/phpunit": "^7.5 || ^8.0",
"squizlabs/php_codesniffer": "3.4.0",
"squizlabs/php_codesniffer": "^3.5",
"bamarni/composer-bin-plugin": "^1.2",
"psalm/plugin-phpunit": "^0.6",
"phpmyadmin/sql-parser": "^5.0",

View File

@ -252,7 +252,7 @@ class BuildInfoCollector
$githubRef = (string) $this->env['GITHUB_REF'];
if (\strpos($githubRef, 'refs/heads/') !== false) {
$githubRef = \str_replace('refs/heads/', '', $githubRef);
} elseif (strpos($githubRef, 'refs/tags/') !== false) {
} elseif (\strpos($githubRef, 'refs/tags/') !== false) {
$githubRef = \str_replace('refs/tags/', '', $githubRef);
}