Skip to content

Commit 8d7b4d8

Browse files
committed
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
2 parents f53d35b + a15543a commit 8d7b4d8

File tree

257 files changed

+3896
-2280
lines changed

Some content is hidden

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

257 files changed

+3896
-2280
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.2.0"
27+
uses: "doctrine/.github/.github/workflows/coding-standards.yml@6.0.0"

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ jobs:
319319
upload_coverage:
320320
name: "Upload coverage to Codecov"
321321
runs-on: "ubuntu-22.04"
322+
# Only run on PRs from forks
323+
if: "github.event.pull_request.head.repo.full_name != github.repository"
322324
needs:
323325
- "phpunit-smoke-check"
324326
- "phpunit-postgres"

.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.2.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.2.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 & 23 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:
@@ -35,31 +33,11 @@ jobs:
3533
uses: shivammathur/setup-php@v2
3634
with:
3735
coverage: none
38-
php-version: "8.3"
36+
php-version: "8.4"
3937
tools: cs2pr
4038

4139
- name: Install dependencies with Composer
4240
uses: ramsey/composer-install@v2
4341

4442
- name: Run static analysis with phpstan/phpstan
4543
run: "vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr"
46-
47-
static-analysis-psalm:
48-
name: Static Analysis with Psalm
49-
runs-on: ubuntu-22.04
50-
51-
steps:
52-
- name: "Checkout code"
53-
uses: "actions/checkout@v4"
54-
55-
- name: Install PHP
56-
uses: shivammathur/setup-php@v2
57-
with:
58-
coverage: none
59-
php-version: "8.3"
60-
61-
- name: Install dependencies with Composer
62-
uses: ramsey/composer-install@v3
63-
64-
- name: Run static analysis with Vimeo Psalm
65-
run: vendor/bin/psalm --shepherd

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,12 @@
4141
"phpbench/phpbench": "^1.0",
4242
"phpdocumentor/guides-cli": "^1.4",
4343
"phpstan/extension-installer": "^1.4",
44-
"phpstan/phpstan": "1.12.6",
45-
"phpstan/phpstan-deprecation-rules": "^1.2",
44+
"phpstan/phpstan": "2.0.3",
45+
"phpstan/phpstan-deprecation-rules": "^2",
4646
"phpunit/phpunit": "^10.4.0",
4747
"psr/log": "^1 || ^2 || ^3",
4848
"squizlabs/php_codesniffer": "3.7.2",
49-
"symfony/cache": "^5.4 || ^6.2 || ^7.0",
50-
"vimeo/psalm": "5.26.1"
49+
"symfony/cache": "^5.4 || ^6.2 || ^7.0"
5150
},
5251
"suggest": {
5352
"ext-dom": "Provides support for XSD validation for XML mapping files",

0 commit comments

Comments
 (0)