Skip to content

Commit eef33fb

Browse files
authored
Release/1.3.0 (#19)
* chore: Updates project dependencies and GitHub Actions workflows.
1 parent 7e31b54 commit eef33fb

3 files changed

Lines changed: 54 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
env:
10+
PHP_VERSION: '8.3'
11+
COMPOSER_ROOT_VERSION: '1.2.0'
12+
13+
jobs:
14+
auto-review:
15+
name: Auto review
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v6
21+
22+
- name: Configure PHP
23+
uses: shivammathur/setup-php@v2
24+
with:
25+
php-version: ${{ env.PHP_VERSION }}
26+
27+
- name: Install dependencies
28+
run: composer update --no-progress --optimize-autoloader
29+
30+
- name: Run review
31+
run: composer review
32+
33+
tests:
34+
name: Tests
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v6
40+
41+
- name: Use PHP ${{ env.PHP_VERSION }}
42+
uses: shivammathur/setup-php@v2
43+
with:
44+
php-version: ${{ env.PHP_VERSION }}
45+
46+
- name: Install dependencies
47+
run: composer update --no-progress --optimize-autoloader
48+
49+
- name: Run tests
50+
run: composer tests

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@
4646
},
4747
"require-dev": {
4848
"phpmd/phpmd": "^2.15",
49-
"phpstan/phpstan": "^1.12",
50-
"phpunit/phpunit": "^11.5",
49+
"phpunit/phpunit": "^12.1",
50+
"phpstan/phpstan": "^2.1",
5151
"infection/infection": "^0.32",
52+
"tiny-blocks/collection": "^1.10",
5253
"squizlabs/php_codesniffer": "^3.11"
5354
},
5455
"scripts": {

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ parameters:
77
- '#method#'
88
- '#expects#'
99
- '#should return#'
10+
- '#is used zero times#'
1011
- '#type mixed supplied#'
1112
- '#not specify its types#'
1213
- '#no value type specified#'

0 commit comments

Comments
 (0)