Skip to content

Commit fa9efe5

Browse files
committed
Issue #47: Remove PHP 8.1 and add PHP 8.4 & 8.5 support
Signed-off-by: alexmerlin <[email protected]>
1 parent 8bd40e4 commit fa9efe5

File tree

8 files changed

+26
-11
lines changed

8 files changed

+26
-11
lines changed

.laminas-ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"ignore_php_platform_requirements": {
3-
"8.4": true
3+
"8.5": true
44
},
55
"backwardCompatibilityCheck": true
66
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
> dot-cli is a wrapper on top of [laminas-cli](https://github.com/laminas/laminas-cli)
55
66
![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-cli)
7-
![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.8.1)
7+
![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.10.0)
88

99
[![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-cli)](https://github.com/dotkernel/dot-cli/issues)
1010
[![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-cli)](https://github.com/dotkernel/dot-cli/network)
@@ -18,7 +18,7 @@ Dotkernel component to build console applications based on [laminas-cli](https:/
1818

1919
## Requirements
2020

21-
- **PHP**: 8.2, 8.3 or 8.4
21+
- **PHP**: 8.2, 8.3, 8.4 or 8.5
2222
- **laminas/laminas-servicemanager**: >= 3.11 || >= 4.0,
2323
- **laminas/laminas-cli**: >= 1.4
2424

@@ -85,7 +85,7 @@ Available commands:
8585
As shown in `config/autoload/cli.global.php`, dot-cli includes a demo command `demo:command` that will help you understand the basics of creating a new command.
8686
For more information, see [laminas-cli documentation](https://docs.laminas.dev/laminas-cli/).
8787

88-
## Setting up as cronjob
88+
## Setting up as a cronjob
8989

9090
```text
9191
* * * * * /opt/plesk/php/7.4/bin/php /var/www/vhosts/example.com/httpdocs/bin/cli.php demo:command -q

SECURITY.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
## Supported Versions
44

55

6-
| Version | Supported | PHP Version |
7-
|---------|--------------------|---------------------------------------------------------------------------------------------------------|
8-
| 3.x | :white_check_mark: | ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.4.2) |
9-
| <= 2.x | :x: | |
6+
| Version | Supported | PHP Version |
7+
|---------|--------------------|----------------------------------------------------------------------------------------------------------|
8+
| 3.x | :white_check_mark: | ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.10.0) |
9+
| <= 2.x | :x: | |
1010

1111

1212
## Reporting Potential Security Issues

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
},
2525
"require": {
26-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
26+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
2727
"laminas/laminas-cli": "^1.4.0",
2828
"laminas/laminas-servicemanager": "^3.11.1 || ^4.0"
2929
},

docs/book/v3/overview.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# Overview
22

3+
> [!IMPORTANT]
34
> dot-cli is a wrapper on top of [laminas-cli](https://github.com/laminas/laminas-cli)
5+
6+
![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-cli)
7+
![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.10.0)
8+
9+
[![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-cli)](https://github.com/dotkernel/dot-cli/issues)
10+
[![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-cli)](https://github.com/dotkernel/dot-cli/network)
11+
[![GitHub stars](https://img.shields.io/github/stars/dotkernel/dot-cli)](https://github.com/dotkernel/dot-cli/stargazers)
12+
[![GitHub license](https://img.shields.io/github/license/dotkernel/dot-cli)](https://github.com/dotkernel/dot-cli/blob/3.0/LICENSE)
13+
14+
[![Build Static](https://github.com/dotkernel/dot-cli/actions/workflows/continuous-integration.yml/badge.svg?branch=3.0)](https://github.com/dotkernel/dot-cli/actions/workflows/continuous-integration.yml)
15+
[![codecov](https://codecov.io/gh/dotkernel/dot-cli/graph/badge.svg?token=0DFCK2GUBT)](https://codecov.io/gh/dotkernel/dot-cli)

docs/book/v3/setting-up-as-cronjob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Setting up as cronjob
1+
# Setting up as a cronjob
22

33
```text
44
* * * * * php /var/www/vhosts/example.com/httpdocs/bin/cli.php demo:command -q

docs/book/v3/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Usage
22

33
Use `src/Command/DemoCommand.php` as an example when creating a new command.
4-
Update the name & description in the `AsCommand` attribute as needed.
4+
Update the name and description in the `AsCommand` attribute as needed.
55
Also update the `$defaultName` property and the description set inside the `configure` method to match the `AsCommand` attribute.
66

77
## Running

psalm.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@
1515
<directory name="vendor" />
1616
</ignoreFiles>
1717
</projectFiles>
18+
<issueHandlers>
19+
<MissingOverrideAttribute errorLevel="suppress" />
20+
</issueHandlers>
1821
</psalm>

0 commit comments

Comments
 (0)