Skip to content

Commit 5440e16

Browse files
author
roadiz-ci
committed
Merge branch hotfix/2.7.38
1 parent 12e60f6 commit 5440e16

3 files changed

Lines changed: 48 additions & 1 deletion

File tree

.github/workflows/run-test.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Static analysis and code style
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- 'release/**'
8+
- 'hotfix/**'
9+
tags: ['**']
10+
pull_request:
11+
types:
12+
- opened
13+
- reopened
14+
- synchronize
15+
- ready_for_review
16+
17+
jobs:
18+
static-analysis-tests:
19+
runs-on: ubuntu-latest
20+
strategy:
21+
matrix:
22+
php-version: ['8.3', '8.4', '8.5']
23+
steps:
24+
- uses: shivammathur/setup-php@v2
25+
with:
26+
php-version: ${{ matrix.php-version }}
27+
- uses: actions/checkout@v3
28+
- name: Cache Composer packages
29+
id: composer-cache
30+
uses: actions/cache@v3
31+
with:
32+
path: vendor
33+
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
34+
restore-keys: |
35+
${{ runner.os }}-php-${{ matrix.php-version }}-
36+
- name: Install Dependencies
37+
run: composer install --no-scripts --no-ansi --no-interaction --no-progress
38+
- name: Run PHPStan
39+
run: vendor/bin/phpstan analyse --no-progress -c phpstan.neon

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright © 2026 Ambroise Maupate
3+
Copyright © 2025 Ambroise Maupate
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

phpstan.neon

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
parameters:
2+
level: 7
3+
paths:
4+
- src
5+
reportUnmatchedIgnoredErrors: false
6+
ignoreErrors:
7+
- identifier: missingType.iterableValue
8+
- identifier: missingType.generics

0 commit comments

Comments
 (0)