mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix build
This commit is contained in:
parent
0bc6d71173
commit
a82ed91a00
@ -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",
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user