Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4fd6663

Browse files
Fix tests for PHP 8.1+
1 parent 7410c36 commit 4fd6663

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎.github/workflows/tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
php: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
19+
php: ['8.1', '8.2', '8.3']
2020

2121
services:
2222
mariadb:
@@ -70,11 +70,11 @@ jobs:
7070
run: composer check-code
7171

7272
- name: Run test suite
73-
if: ${{ matrix.php != '7.3'}}
73+
if: ${{ matrix.php != '8.1'}}
7474
run: composer test-cov
7575

7676
- name: Run test suite (with coverage)
77-
if: ${{ matrix.php == '7.3'}}
77+
if: ${{ matrix.php == '8.1'}}
7878
run: |
7979
composer test-cov
8080
composer test-cov-upload

‎.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build:
22
environment:
3-
php: 7.3.0
3+
php: 8.1.0
44
nodes:
55
analysis:
66
tests:

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A Telegram Bot based on the official [Telegram Bot API]
1818
[![Dependencies](https://tidelift.com/badges/github/php-telegram-bot/core?style=flat)][Tidelift]
1919
[![Total Downloads](https://img.shields.io/packagist/dt/longman/telegram-bot.svg)](https://packagist.org/packages/longman/telegram-bot)
2020
[![Downloads Month](https://img.shields.io/packagist/dm/longman/telegram-bot.svg)](https://packagist.org/packages/longman/telegram-bot)
21-
[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D7.3-8892BF.svg)](https://php.net/)
21+
[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D8.1-8892BF.svg)](https://php.net/)
2222
[![License](https://img.shields.io/packagist/l/longman/telegram-bot.svg)](https://github.com/php-telegram-bot/core/LICENSE)
2323

2424
## Table of Contents
@@ -176,7 +176,7 @@ Create *composer.json* file
176176
"name": "yourproject/yourproject",
177177
"type": "project",
178178
"require": {
179-
"php": ">=7.3",
179+
"php": "^8.1",
180180
"longman/telegram-bot": "*"
181181
}
182182
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /