Skip to content

Commit 95ad44c

Browse files
authored
Merge pull request #43 from ADmad/ci
Update CI config
2 parents 04e2dd2 + 38b7282 commit 95ad44c

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
php-version: ['7.4', '8.0', '8.1']
17+
php-version: ['7.4', '8.0', '8.1', '8.2']
1818
db-type: [mysql, pgsql]
1919
prefer-lowest: ['']
2020
include:
@@ -84,7 +84,9 @@ jobs:
8484
php-version: '7.4'
8585
extensions: mbstring, intl
8686
coverage: none
87-
tools: psalm:4.4, phpstan:1.0
87+
tools: vimeo/psalm:4.4, phpstan:1.0
88+
env:
89+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8890

8991
- name: Composer Install
9092
run: composer require cakephp/cakephp-codesniffer:^4.2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sequence plugin to maintain ordered list of records
22

3-
[![Build Status](https://img.shields.io/github/workflow/status/ADmad/cakephp-sequence/CI/master?style=flat-square)](https://github.com/ADmad/cakephp-sequence/actions/workflows/ci.yml)
3+
[![Build Status](https://img.shields.io/github/actions/workflow/status/ADmad/cakephp-sequence/ci.yml?branch=master&style=flat-square)](https://github.com/ADmad/cakephp-sequence/actions/workflows/ci.yml)
44
[![Coverage](https://img.shields.io/codecov/c/github/ADmad/cakephp-sequence.svg?style=flat-square)](https://codecov.io/github/ADmad/cakephp-sequence)
55
[![Total Downloads](https://img.shields.io/packagist/dt/admad/cakephp-sequence.svg?style=flat-square)](https://packagist.org/packages/admad/cakephp-sequence)
66
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE.txt)

composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"require-dev": {
1111
"cakephp/cakephp": "^4.0",
12-
"phpunit/phpunit": "~8.5.0"
12+
"phpunit/phpunit": "~8.5.0 || ^9.5"
1313
},
1414
"autoload": {
1515
"psr-4": {
@@ -22,5 +22,11 @@
2222
"Cake\\Test\\": "./vendor/cakephp/cakephp/tests",
2323
"TestApp\\": "tests/test_app/src"
2424
}
25+
},
26+
"config": {
27+
"sort-packages": true,
28+
"allow-plugins": {
29+
"dealerdirect/phpcodesniffer-composer-installer": true
30+
}
2531
}
2632
}

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ parameters:
22
level: 8
33
checkMissingIterableValueType: false
44
treatPhpDocTypesAsCertain: false
5+
checkGenericClassInNonGenericObjectType: false
56
paths:
67
- src/

0 commit comments

Comments
 (0)