Skip to content

Commit 2a66214

Browse files
authored
Merge pull request doctrine#11754 from doctrine/2.20.x
Merge 2.20.x up into 2.21.x
2 parents 37051d5 + 0ed0be0 commit 2a66214

File tree

272 files changed

+911
-4109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+911
-4109
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ phpstan-baseline.neon export-ignore
1919
phpstan-dbal2.neon export-ignore
2020
phpstan-params.neon export-ignore
2121
phpstan-persistence2.neon export-ignore
22-
psalm.xml export-ignore
23-
psalm-baseline.xml export-ignore

.github/workflows/coding-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ on:
2424

2525
jobs:
2626
coding-standards:
27-
uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.3.0"
27+
uses: "doctrine/.github/.github/workflows/coding-standards.yml@6.0.0"

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ on:
1717
jobs:
1818
documentation:
1919
name: "Documentation"
20-
uses: "doctrine/.github/.github/workflows/documentation.yml@5.3.0"
20+
uses: "doctrine/.github/.github/workflows/documentation.yml@6.0.0"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.3.0"
10+
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@6.0.0"
1111
secrets:
1212
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
1313
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
- composer.*
1010
- src/**
1111
- phpstan*
12-
- psalm*
1312
- tests/StaticAnalysis/**
1413
push:
1514
branches:
@@ -19,7 +18,6 @@ on:
1918
- composer.*
2019
- src/**
2120
- phpstan*
22-
- psalm*
2321
- tests/StaticAnalysis/**
2422

2523
jobs:
@@ -48,7 +46,7 @@ jobs:
4846
uses: "shivammathur/setup-php@v2"
4947
with:
5048
coverage: "none"
51-
php-version: "8.3"
49+
php-version: "8.4"
5250

5351
- name: "Require specific DBAL version"
5452
run: "composer require doctrine/dbal ^${{ matrix.dbal-version }} --no-update"
@@ -73,31 +71,3 @@ jobs:
7371
- name: "Run a static analysis with phpstan/phpstan"
7472
run: "vendor/bin/phpstan analyse -c phpstan-persistence2.neon"
7573
if: "${{ matrix.dbal-version == 'default' && matrix.persistence-version != 'default'}}"
76-
77-
static-analysis-psalm:
78-
name: "Static Analysis with Psalm"
79-
runs-on: "ubuntu-22.04"
80-
81-
strategy:
82-
fail-fast: false
83-
84-
steps:
85-
- name: "Checkout code"
86-
uses: "actions/checkout@v4"
87-
88-
- name: "Install PHP"
89-
uses: "shivammathur/setup-php@v2"
90-
with:
91-
coverage: "none"
92-
php-version: "8.3"
93-
94-
- name: "Require specific persistence version"
95-
run: "composer require doctrine/persistence ^3.1 --no-update"
96-
97-
- name: "Install dependencies with Composer"
98-
uses: "ramsey/composer-install@v3"
99-
with:
100-
dependency-versions: "highest"
101-
102-
- name: "Run a static analysis with vimeo/psalm"
103-
run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc)"

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
"squizlabs/php_codesniffer": "3.7.2",
5252
"symfony/cache": "^4.4 || ^5.4 || ^6.4 || ^7.0",
5353
"symfony/var-exporter": "^4.4 || ^5.4 || ^6.2 || ^7.0",
54-
"symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
55-
"vimeo/psalm": "4.30.0 || 5.26.1"
54+
"symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0"
5655
},
5756
"conflict": {
5857
"doctrine/annotations": "<1.13 || >= 3.0"

phpstan-baseline.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,11 +1055,6 @@ parameters:
10551055
count: 1
10561056
path: src/Mapping/ClassMetadataFactory.php
10571057

1058-
-
1059-
message: "#^Call to an undefined method ReflectionProperty\\:\\:getHooks\\(\\)\\.$#"
1060-
count: 1
1061-
path: src/Mapping/ClassMetadataInfo.php
1062-
10631058
-
10641059
message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:_storeAssociationMapping\\(\\) has parameter \\$assocMapping with no value type specified in iterable type array\\.$#"
10651060
count: 5

phpstan-params.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ parameters:
88
earlyTerminatingMethodCalls:
99
Doctrine\ORM\Query\Parser:
1010
- syntaxError
11-
phpVersion: 80200
11+
phpVersion: 80400
1212

1313
ignoreErrors:
1414
# Remove on 3.0.x

0 commit comments

Comments
 (0)