Skip to content

Commit ff15340

Browse files
committed
up: update require min php version to 8.1
1 parent 6f0325a commit ff15340

File tree

5 files changed

+5
-11
lines changed

5 files changed

+5
-11
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
php: [8.1, 8.2, 8.3]
19+
php: [8.1, 8.2, 8.3, 8.4]
2020
os: [ubuntu-latest, macOS-latest] # windows-latest,
2121
# include: # will not testing on php 7.2
2222
# - os: 'ubuntu-latest'

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Config
22

33
[![License](https://img.shields.io/packagist/l/phppkg/config.svg?style=flat-square)](LICENSE)
4-
[![Php Version](https://img.shields.io/badge/php-%3E=8.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/phppkg/config)
4+
[![Php Version](https://img.shields.io/packagist/php-v/phppkg/config?maxAge=2592000)](https://packagist.org/packages/phppkg/config)
55
[![Latest Stable Version](http://img.shields.io/packagist/v/phppkg/config.svg)](https://packagist.org/packages/phppkg/config)
66
[![Actions Status](https://github.com/phppkg/config/workflows/Unit-Tests/badge.svg)](https://github.com/phppkg/config/actions)
77

@@ -19,8 +19,6 @@
1919

2020
**composer**
2121

22-
- Required PHP 8.0+
23-
2422
```bash
2523
composer require phppkg/config
2624
```

README.zh-CN.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Config
22

33
[![License](https://img.shields.io/packagist/l/phppkg/config.svg?style=flat-square)](LICENSE)
4-
[![Php Version](https://img.shields.io/badge/php-%3E=8.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/phppkg/config)
4+
[![Php Version](https://img.shields.io/packagist/php-v/phppkg/config?maxAge=2592000)](https://packagist.org/packages/phppkg/config)
55
[![Latest Stable Version](http://img.shields.io/packagist/v/phppkg/config.svg)](https://packagist.org/packages/phppkg/config)
66
[![Actions Status](https://github.com/phppkg/easytpl/workflows/Unit-Tests/badge.svg)](https://github.com/phppkg/easytpl/actions)
77

@@ -19,8 +19,6 @@ PHP的配置数据加载,管理,获取,支持多种数据格式.
1919

2020
**composer**
2121

22-
- Required PHP 8.0+
23-
2422
```bash
2523
composer require phppkg/config
2624
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
],
2626
"require": {
27-
"php": ">=8.0.1",
27+
"php": ">=8.1",
2828
"phppkg/ini": "~0.1",
2929
"colinodell/json5": "^2.2 || ^3.0",
3030
"nette/neon": "^3.3",

src/Language.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929

3030
/**
3131
* Class Language
32-
*
33-
* @package Toolkit\Utils
3432
*/
3533
class Language implements ArrayAccess, Countable, IteratorAggregate
3634
{
@@ -689,7 +687,7 @@ public function getIterator(): Traversable
689687
*
690688
* @param mixed $offset An offset to check for.
691689
*
692-
* @return boolean true on success or false on failure.
690+
* @return bool true on success or false on failure.
693691
*
694692
* The return value will be casted to boolean if non-boolean was returned.
695693
* @since 5.0.0

0 commit comments

Comments
 (0)