Skip to content

Commit

Permalink
Add PHP 8.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
hxtree committed Jan 2, 2022
1 parent b8f0c85 commit 7d8ca1c
Show file tree
Hide file tree
Showing 6 changed files with 313 additions and 305 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
- '7.3'
- '7.4'
- '8.0'
- '8.1'

steps:
- name: "Checkout code"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Packagist heartbeat

on:
schedule:
- cron: '1/16 3-9 * * *'
- cron: '1/16 4-10 * * *'
workflow_dispatch:

jobs:
package-test:
package-test2:
name: "Composer package install test"
runs-on: "ubuntu-latest"
strategy:
matrix:
php-version:
- '8.0'
- '8.1'
steps:
- name: Install dependencies
run: composer require ouxsoft/phpmarkup
run: echo "{}" >> composer.json && composer require ouxsoft/phpmarkup
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ All releases must adhere to [SemVer 2](https://semver.org/) naming convention an
## PHPMarkup [Unreleased]
Released: TBA. Notable changes:

## PHPMarkup 4.3.0
Released: 2022-01-01. Notable changes:
* Changed: Add PHP 8.1 support.

## PHPMarkup 4.2.6
Released: 2021-10-08. Notable changes:
* Changed: Marker attribute removal to end routine.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Docs Status](https://readthedocs.org/projects/phpmarkup/badge/?version=latest&style=flat)](https://readthedocs.org/projects/phpmarkup)

[![Latest Stable Version](https://img.shields.io/packagist/v/Ouxsoft/phpmarkup.svg)](https://packagist.org/packages/Ouxsoft/phpmarkup)
[![PHP Versions Supported](https://img.shields.io/badge/php-7.3%20to%208.0-777bb3.svg?logo=php&logoColor=white&labelColor=555555)](https://api.travis-ci.com/Ouxsoft/phpmarkup.svg?branch=master&status=passed)
[![PHP Versions Supported](https://img.shields.io/badge/php-7.3%20to%208.1-777bb3.svg?logo=php&logoColor=white&labelColor=555555)](https://api.travis-ci.com/Ouxsoft/phpmarkup.svg?branch=master&status=passed)
[![License](https://img.shields.io/badge/license-MIT-428f7e.svg?logo=open%20source%20initiative&logoColor=white&labelColor=555555)](https://github.com/Ouxsoft/phpmarkup/blob/master/LICENSE)
[![Total Downloads](https://img.shields.io/packagist/dt/Ouxsoft/phpmarkup.svg)](https://packagist.org/packages/Ouxsoft/phpmarkup)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"issues": "https://github.com/Ouxsoft/phpmarkup/issues"
},
"require": {
"php": "^7.3 || ~8.0.0",
"php": "^7.3 || ^8.0",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
Expand Down
Loading

0 comments on commit 7d8ca1c

Please sign in to comment.