Skip to content

Commit

Permalink
feat: Add support for PHP 8.3 (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
dplewis authored Jun 27, 2024
1 parent 353a85b commit 0a4efd8
Show file tree
Hide file tree
Showing 5 changed files with 537 additions and 547 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
pull_request:
branches:
- "**"
env:
NODE_VERSION: 16.17.1
jobs:
check-lock-file-version:
name: NPM Lock File Version
Expand All @@ -26,6 +24,8 @@ jobs:
strategy:
matrix:
include:
- name: PHP 8.3
PHP_VERSION: 8.3
- name: PHP 8.2
PHP_VERSION: 8.2
- name: PHP 8.1
Expand All @@ -37,18 +37,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
node-version: 16.17.1
cache: npm
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.PHP_VERSION }}
- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ env.NODE_VERSION }}-
- run: composer install
- run: npm ci
- run: npm start
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![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)
[![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases)

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

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

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": ">=8.1 <8.3",
"php": ">=8.1 <8.4",
"ext-curl": "*",
"ext-json": "*"
},
Expand Down
Loading

0 comments on commit 0a4efd8

Please sign in to comment.