Skip to content

Commit

Permalink
drop support to PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed May 23, 2024
1 parent 4a1f68f commit a197510
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .changes/unreleased/Removed-20240523-044213.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Removed
body: support to PHP 8.1
time: 2024-05-23T04:42:13.738600834Z
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- master
- "4.1"
- "4.2"
paths:
- docs/**
pull_request:
Expand All @@ -15,7 +15,7 @@ jobs:
deploy:
uses: llaville/.github/.github/workflows/gh-pages.yml@master
with:
destination-dir: "4.1"
destination-dir: "4.2"
hook-script: "resources/gh-pages-hook.sh"
force-orphan: false
graph-uml: false
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- # https://getcomposer.org/doc/06-config.md#platform
name: Setup Composer Platform
run: |
composer config platform.php 8.1
composer config platform.php 8.2
- # https://github.com/ramsey/composer-install
name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"issues": "https://github.com/llaville/umlwriter/issues"
},
"require": {
"php": "^8.1",
"php": "^8.2",
"bartlett/graph-plantuml-generator": "^1.5",
"bartlett/graph-uml": "^1.5",
"composer-runtime-api": "^2.0",
Expand Down
10 changes: 5 additions & 5 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Requirements

* PHP 8.1 or greater
* PHP 8.2 or greater
* [graphp/graph](https://github.com/graphp/graph) package from master branch (considered as future stable v1.0.0)
* [graphp/graphviz](https://github.com/graphp/graphviz) package from master branch (considered as future stable v1.0.0)
* [bartlett/graph-uml](https://github.com/llaville/graph-uml) Core engine to build UML diagrams in PHP
Expand All @@ -27,7 +27,7 @@ The preferred method of installation is to use the umlWriter PHAR version which
Retrieve official image with [Docker][docker]

```shell
docker pull ghcr.io/llaville/umlwriter:v4
docker pull ghcr.io/llaville/umlwriter:v4.2
or
docker pull ghcr.io/llaville/umlwriter:latest
```
Expand All @@ -51,7 +51,7 @@ You can also install application locally to your project with [Phive][phive] and
```xml
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="llaville/umlwriter" version="^4.1" copy="false" />
<phar name="llaville/umlwriter" version="^4.2" copy="false" />
</phive>
```

Expand All @@ -65,7 +65,7 @@ The recommended way to install this library is [through composer][composer].
If you don't know yet what is composer, have a look [on introduction][composer-intro].

```shell
composer require bartlett/umlwriter ^4
composer require bartlett/umlwriter ^4.2
```

If you cannot install it because of a dependency conflict, or you prefer to install it for your project, we recommend
Expand All @@ -83,7 +83,7 @@ vendor/bin/umlwriter
The UmlWriter can be directly used from [GitHub][github-repo] by cloning the repository into a directory of your choice.

```shell
git clone -b 4.1 https://github.com/llaville/umlwriter.git
git clone -b 4.2 https://github.com/llaville/umlwriter.git
```

## Extra resources
Expand Down

0 comments on commit a197510

Please sign in to comment.