Skip to content

Commit 73af124

Browse files
committed
Upgrade to PHP 8.x
- Added return types. - Added `isNumericKeys`, `isNulledValues` and `isDimensional` methods. - Inhance `get`, `has`, `set` and `delete` methods. - Changed helpers names.
1 parent a557390 commit 73af124

7 files changed

Lines changed: 236 additions & 142 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
operating-system: [ubuntu-latest]
11-
php-versions: ['7.2', '7.3', '7.4', '8.0']
11+
php-versions: ['8.0', '8.1', '8.2']
1212
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
1313

1414
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center"><a href="https://pharaonic.io" target="_blank"><img src="https://raw.githubusercontent.com/Pharaonic/logos/main/php/dot-array.jpg"></a></p>
22

33
<p align="center">
4-
<a href="https://php.net" target="_blank"><img src="https://img.shields.io/static/v1?label=PHP&message=%3E=7.2&color=blue&style=flat-square" alt="PHP Version : >= 7.2"></a>
4+
<a href="https://php.net" target="_blank"><img src="https://img.shields.io/static/v1?label=PHP&message=%3E= 8.0&color=blue&style=flat-square" alt="PHP Version : >= 8.0"></a>
55
<img src="https://img.shields.io/static/v1?label=License&message=MIT&color=brightgreen&style=flat-square" alt="License">
66
<img src="https://github.com/Pharaonic/php-dot-array/actions/workflows/build.yml/badge.svg" alt="Tests">
77
<br>

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"authors": [
1616
{
1717
"name": "Raggi",
18-
"email": "support@pharaonic.io"
18+
"email": "raggigroup@gmail.com"
1919
}
2020
],
2121
"require": {
22-
"php": ">=7.0"
22+
"php": ">=8.0"
2323
},
2424
"require-dev": {
2525
"phpunit/phpunit": ">=5.0"

0 commit comments

Comments
 (0)