Skip to content

Commit 2448b3a

Browse files
authored
Merge pull request #41 from WebFiori/dev
Added PHP 8.3
2 parents 833fd51 + 7bd1f82 commit 2448b3a

2 files changed

Lines changed: 52 additions & 9 deletions

File tree

.github/workflows/php83.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build PHP 8.3
2+
3+
on:
4+
push:
5+
branches: [ master, dev ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
fail-fast: true
15+
matrix:
16+
os: [ ubuntu-latest ]
17+
php: [8.3]
18+
19+
name: PHP${{matrix.php}} - ${{matrix.os}}
20+
21+
steps:
22+
- name: Clone Repo
23+
uses: actions/checkout@v1
24+
25+
- name: Setup PHP
26+
uses: shivammathur/setup-php@v2
27+
with:
28+
php-version: ${{ matrix.php }}
29+
extensions: mysqli, mbstring, sqlsrv
30+
tools: phpunit:9.5.20, composer
31+
32+
- name: Shutdown Ubuntu MySQL
33+
run: sudo service mysql stop
34+
35+
- name: Install Dependencies
36+
run: composer install --prefer-source --no-interaction --no-dev
37+
38+
- name: Execute Tests
39+
run: phpunit
40+
41+
- name: CodeCov
42+
uses: codecov/codecov-action@v1

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A helper class library for creating JSON or JSONx strings in PHP. It can be used
44

55
<p align="center">
66
<a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php81.yml">
7-
<img src="https://github.com/WebFiori/json/workflows/Build%20PHP%208.1/badge.svg?branch=master">
7+
<img src="https://github.com/WebFiori/json/workflows/php83.yml/badge.svg?branch=master">
88
</a>
99
<a href="https://codecov.io/gh/WebFiori/json">
1010
<img src="https://codecov.io/gh/WebFiori/json/branch/master/graph/badge.svg" />
@@ -31,14 +31,15 @@ According to [json.org](https://www.json.org/json-en.html), JSON is a data excha
3131
## Supported PHP Versions
3232
| Build Status |
3333
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
34-
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php70.yml"><img src="https://github.com/WebFiori/json/workflows/Build%20PHP%207.0/badge.svg?branch=master"></a> |
35-
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php71.yml"><img src="https://github.com/WebFiori/json/workflows/Build%20PHP%207.1/badge.svg?branch=master"></a> |
36-
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php72.yml"><img src="https://github.com/WebFiori/json/workflows/Build%20PHP%207.2/badge.svg?branch=master"></a> |
37-
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php73.yml"><img src="https://github.com/WebFiori/json/workflows/Build%20PHP%207.3/badge.svg?branch=master"></a> |
38-
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php74.yml"><img src="https://github.com/WebFiori/json/workflows/Build%20PHP%207.4/badge.svg?branch=master"></a> |
39-
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php80.yml"><img src="https://github.com/WebFiori/json/workflows/Build%20PHP%208.0/badge.svg?branch=master"></a> |
40-
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php81.yml"><img src="https://github.com/WebFiori/json/workflows/Build%20PHP%208.1/badge.svg?branch=master"></a> |
41-
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php82.yml"><img src="https://github.com/WebFiori/json/workflows/Build%20PHP%208.2/badge.svg?branch=master"></a> |
34+
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php70.yml"><img src="https://github.com/WebFiori/json/workflows/php70.yml/badge.svg?branch=master"></a> |
35+
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php71.yml"><img src="https://github.com/WebFiori/json/workflows/php71.yml/badge.svg?branch=master"></a> |
36+
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php72.yml"><img src="https://github.com/WebFiori/json/workflows/php72.yml/badge.svg?branch=master"></a> |
37+
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php73.yml"><img src="https://github.com/WebFiori/json/workflows/php73.yml/badge.svg?branch=master"></a> |
38+
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php74.yml"><img src="https://github.com/WebFiori/json/workflows/php74.yml/badge.svg?branch=master"></a> |
39+
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php80.yml"><img src="https://github.com/WebFiori/json/workflows/php80.yml/badge.svg?branch=master"></a> |
40+
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php81.yml"><img src="https://github.com/WebFiori/json/workflows/php81.yml/badge.svg?branch=master"></a> |
41+
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php82.yml"><img src="https://github.com/WebFiori/json/workflows/php82.yml/badge.svg?branch=master"></a> |
42+
| <a target="_blank" href="https://github.com/WebFiori/json/actions/workflows/php83.yml"><img src="https://github.com/WebFiori/json/workflows/php83.yml/badge.svg?branch=master"></a> |
4243

4344
## Installation
4445
If you are using composer to manage your dependencies, then it is possible to install the library by including the entry `"webfiori/jsonx":"*"` in the `require` section of your `composer.json` file to install the latest release.

0 commit comments

Comments
 (0)