Merge branch '1.x' into 'master'

Merge 1.x into master

See merge request olive/PHP/getch!2
This commit is contained in:
R. Eric Wheeler 2022-05-17 18:15:14 +00:00
commit fead8bbbbc
3 changed files with 14 additions and 3 deletions

View File

@ -18,7 +18,6 @@ before_script:
- php composer.phar install - php composer.phar install
# Run our tests # Run our tests
# If Xdebug was installed you can generate a coverage report and see code coverage metrics.
test:7.4: test:7.4:
only: only:
- 1.x - 1.x
@ -35,3 +34,11 @@ test:8.0:
image: php:8.0 image: php:8.0
script: script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never - vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
test:8.1:
only:
- 1.x
tags:
- default
image: php:8.1
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never

View File

@ -2,6 +2,7 @@
"name": "olivebbs/getch", "name": "olivebbs/getch",
"description": "Implements _getch and _ungetch for windows and linux using ffi", "description": "Implements _getch and _ungetch for windows and linux using ffi",
"type": "library", "type": "library",
"keywords": ["getch", "windows", "conio", "linux", "console", "conio.h", "hotkey", "termios"],
"require": { "require": {
"php": ">=7.4", "php": ">=7.4",
"ext-ffi": "*" "ext-ffi": "*"
@ -29,5 +30,8 @@
"name": "R. Eric Wheeler", "name": "R. Eric Wheeler",
"email": "sikofitt@gmail.com" "email": "sikofitt@gmail.com"
} }
] ],
"conflict": {
"sikofitt/getch": "*"
}
} }

2
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "a9f24f3e6bdfb946f6671416016d7e76", "content-hash": "4d1f166ee2e71f29c8f3567cba3ee2e6",
"packages": [], "packages": [],
"packages-dev": [ "packages-dev": [
{ {