Skip to content

Commit 0a4efd8

Browse files
authored
feat: Add support for PHP 8.3 (#520)
1 parent 353a85b commit 0a4efd8

File tree

5 files changed

+537
-547
lines changed

5 files changed

+537
-547
lines changed

.github/workflows/ci.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
pull_request:
88
branches:
99
- "**"
10-
env:
11-
NODE_VERSION: 16.17.1
1210
jobs:
1311
check-lock-file-version:
1412
name: NPM Lock File Version
@@ -26,6 +24,8 @@ jobs:
2624
strategy:
2725
matrix:
2826
include:
27+
- name: PHP 8.3
28+
PHP_VERSION: 8.3
2929
- name: PHP 8.2
3030
PHP_VERSION: 8.2
3131
- name: PHP 8.1
@@ -37,18 +37,12 @@ jobs:
3737
- name: Use Node.js
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version: ${{ env.NODE_VERSION }}
40+
node-version: 16.17.1
41+
cache: npm
4142
- name: Setup PHP with PECL extension
4243
uses: shivammathur/setup-php@v2
4344
with:
4445
php-version: ${{ matrix.PHP_VERSION }}
45-
- name: Cache Node.js modules
46-
uses: actions/cache@v3
47-
with:
48-
path: ~/.npm
49-
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
50-
restore-keys: |
51-
${{ runner.os }}-node-${{ env.NODE_VERSION }}-
5246
- run: composer install
5347
- run: npm ci
5448
- run: npm start

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![Coverage](http://codecov.io/github/parse-community/parse-php-sdk/coverage.svg?branch=master)](http://codecov.io/github/parse-community/parse-php-sdk?branch=master)
88
[![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases)
99

10-
[![PHP Version](https://img.shields.io/badge/php-8.1,_8.2-green.svg?logo=php&style=flat)](https://php.org/)
10+
[![PHP Version](https://img.shields.io/badge/php-8.1,_8.2,_8.3-green.svg?logo=php&style=flat)](https://php.org/)
1111

1212
[![packagist latest version](https://img.shields.io/packagist/v/parse/php-sdk)](https://packagist.org/packages/parse/php-sdk)
1313

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=8.1 <8.3",
15+
"php": ">=8.1 <8.4",
1616
"ext-curl": "*",
1717
"ext-json": "*"
1818
},

0 commit comments

Comments
 (0)