Skip to content

Commit 97a7737

Browse files
authored
Merge pull request #873 from 5.1.1 into 5.2.x
Merge release 5.1.1 into 5.2.x
2 parents 23e43a9 + 1994bac commit 97a7737

18 files changed

+843
-114
lines changed

.github/workflows/coding-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ on:
1111
jobs:
1212
coding-standards:
1313
name: "Coding Standards"
14-
uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.2.0"
14+
uses: "doctrine/.github/.github/workflows/coding-standards.yml@7.1.0"

.github/workflows/composer-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ on:
1515
jobs:
1616
composer-lint:
1717
name: "Composer Lint"
18-
uses: "doctrine/.github/.github/workflows/composer-lint.yml@5.2.0"
18+
uses: "doctrine/.github/.github/workflows/composer-lint.yml@7.1.0"

.github/workflows/release-on-milestone-closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
release:
1010
name: "Git tag, release & create merge-up PR"
11-
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.2.0"
11+
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@7.1.0"
1212
secrets:
1313
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
1414
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}

.github/workflows/static-analysis.yml

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,15 @@ on:
44
pull_request:
55
branches:
66
- "*.x"
7+
paths:
8+
- .github/workflows/static-analysis.yml
9+
- composer.*
10+
- config/**
11+
- src/**
12+
- phpstan*
13+
- tests/StaticAnalysis/**
714
push:
815

916
jobs:
10-
static-analysis-psalm:
11-
name: "Static Analysis with Psalm"
12-
runs-on: "ubuntu-20.04"
13-
14-
strategy:
15-
matrix:
16-
php-version:
17-
- "8.2"
18-
19-
steps:
20-
- name: "Checkout code"
21-
uses: "actions/checkout@v4"
22-
23-
- name: "Install PHP"
24-
uses: "shivammathur/setup-php@v2"
25-
with:
26-
coverage: "none"
27-
php-version: "${{ matrix.php-version }}"
28-
29-
- name: "Set minimum-stability to stable in Composer"
30-
run: "composer config minimum-stability stable"
31-
32-
- name: "Install dependencies with Composer"
33-
uses: "ramsey/composer-install@v3"
34-
35-
- name: "Run a static analysis with vimeo/psalm"
36-
run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc) --php-version=${{ matrix.php-version }}"
17+
static-analysis:
18+
uses: "doctrine/.github/.github/workflows/[email protected]"

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"composer-runtime-api": "^2.0",
3030
"doctrine/mongodb-odm": "^2.6",
3131
"doctrine/persistence": "^3.0",
32-
"psr/log": "^2.0 || ^3.0",
32+
"psr/log": "^1.0 || ^2.0 || ^3.0",
3333
"symfony/config": "^6.4 || ^7.0",
3434
"symfony/console": "^6.4 || ^7.0",
3535
"symfony/dependency-injection": "^6.4 || ^7.0",
@@ -39,18 +39,18 @@
3939
"symfony/options-resolver": "^6.4 || ^7.0"
4040
},
4141
"require-dev": {
42+
"composer/semver": "^3.4",
4243
"doctrine/coding-standard": "^11.0",
4344
"doctrine/data-fixtures": "^1.8 || ^2.0",
45+
"phpstan/phpstan": "^2.0",
4446
"phpunit/phpunit": "^9.5.5",
45-
"psalm/plugin-symfony": "^5.0",
4647
"symfony/browser-kit": "^6.4 || ^7.0",
4748
"symfony/form": "^6.4 || ^7.0",
4849
"symfony/phpunit-bridge": "^6.4.1 || ^7.0.1",
4950
"symfony/security-bundle": "^6.4 || ^7.0",
5051
"symfony/stopwatch": "^6.4 || ^7.0",
5152
"symfony/validator": "^6.4 || ^7.0",
52-
"symfony/yaml": "^6.4 || ^7.0",
53-
"vimeo/psalm": "^5.25"
53+
"symfony/yaml": "^6.4 || ^7.0"
5454
},
5555
"conflict": {
5656
"doctrine/data-fixtures": "<1.8 || >=3"

0 commit comments

Comments
 (0)