Skip to content

Commit

Permalink
Merge pull request #187 from mteu/feature/support-php81
Browse files Browse the repository at this point in the history
  • Loading branch information
mteu authored Aug 19, 2024
2 parents 31d85e2 + cf2361d commit 2d70a90
Show file tree
Hide file tree
Showing 7 changed files with 717 additions and 863 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cgl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

# Validation
- name: Validate composer.json
run: composer validate
run: composer validate --no-check-lock

# Install dependencies
- name: Install Composer dependencies
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
- main
pull_request:
branches:
- 'feature/**'
- 'task/**'
- '**'

jobs:
tests:
Expand All @@ -15,9 +14,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ["8.2", "8.3"]
composer-version: ["2.1", "2.2", "2.3", "2.4", "2.5"]
dependencies: ["highest", "lowest"]
php-version: ["8.1", "8.2", "8.3"]
composer-version: ["2.2", "2.3", "2.4", "2.5", "2.6", "2.7"]
dependencies: ["locked", "highest", "lowest"]
steps:
- uses: actions/checkout@v4
with:
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<div align="center">

[![PHP Version Require](http://poser.pugx.org/mteu/docblock-rules/require/php)](https://packagist.org/packages/mteu/docblock-rules)
[![CGL](https://github.com/mteu/docblock-rules/actions/workflows/cgl.yaml/badge.svg)](https://github.com/mteu/docblock-rules/actions/workflows/cgl.yaml)
[![Tests](https://github.com/mteu/docblock-rules/actions/workflows/tests.yaml/badge.svg)](https://github.com/mteu/docblock-rules/actions/workflows/tests.yaml)
[![Latest Stable Version](http://poser.pugx.org/mteu/docblock-rules/v)](https://packagist.org/packages/mteu/docblock-rules)
[![License](http://poser.pugx.org/mteu/docblock-rules/license)](https://packagist.org/packages/mteu/docblock-rules)

# DocBlock Rules
</div>
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
}
],
"require": {
"php": "~8.2 || ~8.3",
"php": "~8.1 || ~8.2 || ~8.3",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.10"
},
"require-dev": {
"armin/editorconfig-cli": "^2.0",
"armin/editorconfig-cli": "^1.8 || ^2.0",
"ergebnis/composer-normalize": "^2.41",
"phpunit/phpunit": "^11.0"
"phpunit/phpunit": "^10.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 2d70a90

Please sign in to comment.