From 218fd4a018d13add48cb0c06cad84b6fc112557c Mon Sep 17 00:00:00 2001 From: sergiu Date: Wed, 23 Oct 2024 17:49:31 +0300 Subject: [PATCH 1/4] linting and bump PHP 8.4 --- .laminas-ci.json | 6 ++++++ README.md | 10 +++++----- SECURITY.md | 4 ++-- composer.json | 10 +++++----- 4 files changed, 18 insertions(+), 12 deletions(-) create mode 100644 .laminas-ci.json diff --git a/.laminas-ci.json b/.laminas-ci.json new file mode 100644 index 0000000..790cfe4 --- /dev/null +++ b/.laminas-ci.json @@ -0,0 +1,6 @@ +{ + "ignore_php_platform_requirements": { + "8.4": true + }, + "backwardCompatibilityCheck": true +} diff --git a/README.md b/README.md index 9c94556..33f6ba3 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ ## dot-helpers badges -![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-helpers) -![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-helpers/3.4.3) +![OSS Lifecycle](https://img.shields.io/osslifecycle.svg?file_url=https%3A%2F%2Fraw.githubusercontent.com%2Fdotkernel%2Fdot-helpers%2FHEAD%2FOSSMETADATA) +![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-helpers/3.6.0) [![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-helpers)](https://github.com/dotkernel/dot-helpers/issues) [![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-helpers)](https://github.com/dotkernel/dot-helpers/network) @@ -17,8 +17,6 @@ [![Build Static](https://github.com/dotkernel/dot-helpers/actions/workflows/continuous-integration.yml/badge.svg?branch=3.0)](https://github.com/dotkernel/dot-helpers/actions/workflows/continuous-integration.yml) [![codecov](https://codecov.io/gh/dotkernel/dot-helpers/graph/badge.svg?token=LIN5FVL5QP)](https://codecov.io/gh/dotkernel/dot-helpers) -[![SymfonyInsight](https://insight.symfony.com/projects/e79c1b2a-c61f-4ce6-9b6f-9c6528e049c6/big.svg)](https://insight.symfony.com/projects/e79c1b2a-c61f-4ce6-9b6f-9c6528e049c6) - ## Requirements - PHP >= 8.1 @@ -27,7 +25,9 @@ Install dot-helpers in your application by running the following command: - composer require dotkernel/dot-helpers +```shell +composer require dotkernel/dot-helpers +``` Next, register the package's `ConfigProvider` to your application config. diff --git a/SECURITY.md b/SECURITY.md index 3410772..5e3e0fe 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -5,8 +5,8 @@ | Version | Supported | PHP Version | |---------|--------------------|-------------------------------------------------------------------------------------------------------------| -| 3.x | :white_check_mark: | ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-helpers/3.4.3) | -| <= 2.x | :x: | | +| 3.x | :white_check_mark: | ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-helpers/3.6.0) | +| <= 2.x | :x: | | ## Reporting Potential Security Issues diff --git a/composer.json b/composer.json index 8616989..69fc5f8 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "dotkernel/dot-helpers", "type": "library", - "description": "DotKernel helper component providing various helper structures and classes", + "description": "Dotkernel helper component providing various helper structures and classes", "license": "MIT", "homepage": "https://github.com/dotkernel/dot-helpers", "keywords": [ @@ -11,7 +11,7 @@ ], "authors": [ { - "name": "DotKernel Team", + "name": "Dotkernel Team", "email": "team@dotkernel.com" } ], @@ -22,7 +22,7 @@ } }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", "psr/http-message": "^1.0 || ^2.0", "laminas/laminas-servicemanager": "^3.22.1", "mezzio/mezzio-helpers": "^5.16.0", @@ -30,8 +30,8 @@ }, "require-dev": { "phpunit/phpunit": "^10.5.9", - "laminas/laminas-coding-standard": "^2.5", - "vimeo/psalm": "^5.20" + "laminas/laminas-coding-standard": "^3.0", + "vimeo/psalm": "^5.26.1" }, "autoload": { "psr-4": { From cffc11a71a868e1e8958b60e17a31be28068e3cb Mon Sep 17 00:00:00 2001 From: sergiu Date: Wed, 23 Oct 2024 18:22:48 +0300 Subject: [PATCH 2/4] linting --- docs/book/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/index.md b/docs/book/index.md index ae42a26..fe84005 100644 --- a/docs/book/index.md +++ b/docs/book/index.md @@ -1 +1 @@ -../../README.md +../../README.md \ No newline at end of file From 119176bfe9e227fb439a90cd72eb64ffca0ad9df Mon Sep 17 00:00:00 2001 From: sergiu Date: Wed, 23 Oct 2024 18:42:55 +0300 Subject: [PATCH 3/4] fixed index.md file --- docs/book/index.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 120000 docs/book/index.md diff --git a/docs/book/index.md b/docs/book/index.md deleted file mode 100644 index fe84005..0000000 --- a/docs/book/index.md +++ /dev/null @@ -1 +0,0 @@ -../../README.md \ No newline at end of file diff --git a/docs/book/index.md b/docs/book/index.md new file mode 120000 index 0000000..fe84005 --- /dev/null +++ b/docs/book/index.md @@ -0,0 +1 @@ +../../README.md \ No newline at end of file From 920a1a9882e7f41b549a5f18d90d2b9da33dc136 Mon Sep 17 00:00:00 2001 From: sergiu Date: Fri, 25 Oct 2024 16:26:18 +0300 Subject: [PATCH 4/4] removed not working badge --- README.md | 4 +--- docs/book/v3/overview.md | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 33f6ba3..9e8bf0b 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,10 @@ # dot-helpers > dot-helpers is a wrapper on top of [mezzio/mezzio-helpers](https://packagist.org/packages/mezzio/mezzio-helpers) -> -> ![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2Fmezzio%2Fmezzio-helpers%2Fproperties%2Fvalues&query=%24%5B%3F(%40.property_name%3D%3D%22maintenance-mode%22)%5D.value&label=Maintenance%20Mode) ## dot-helpers badges -![OSS Lifecycle](https://img.shields.io/osslifecycle.svg?file_url=https%3A%2F%2Fraw.githubusercontent.com%2Fdotkernel%2Fdot-helpers%2FHEAD%2FOSSMETADATA) +![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-helpers) ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-helpers/3.6.0) [![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-helpers)](https://github.com/dotkernel/dot-helpers/issues) diff --git a/docs/book/v3/overview.md b/docs/book/v3/overview.md index 570f6f0..02f672b 100644 --- a/docs/book/v3/overview.md +++ b/docs/book/v3/overview.md @@ -1,5 +1,3 @@ # Overview > dot-helpers is a wrapper on top of [mezzio/mezzio-helpers](https://packagist.org/packages/mezzio/mezzio-helpers) -> -> ![OSS Lifecycle](https://img.shields.io/osslifecycle/mezzio/mezzio-helpers)