Skip to content

Commit 23100f5

Browse files
committed
phpstan for action
1 parent 849f6af commit 23100f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ jobs:
6464
run: composer install $DEFAULT_COMPOSER_FLAGS
6565
if: matrix.php == '8.1' || matrix.php == '8.0' || matrix.php == '7.4' || matrix.php == '7.3' || matrix.php == '7.2'
6666

67-
## install composer ignore platform reqs for old systems
67+
## install composer but remove phpstan for older systems
6868
- name: Install dependencies
69-
run: composer install $DEFAULT_COMPOSER_FLAGS --ignore-platform-reqs
69+
run: composer remove phpstan/phpstan && composer install $DEFAULT_COMPOSER_FLAGS
7070
if: matrix.php == '7.1' || matrix.php == '7.0' || matrix.php == '5.6'
7171

7272
## run unit tests

src/Curl/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ public function getResponse()
786786

787787
/**
788788
* Get curl error code
789-
* @return string
789+
* @return int
790790
*/
791791
public function getErrorCode()
792792
{

0 commit comments

Comments
 (0)