Skip to content

Commit bfe8fcf

Browse files
committed
Merge remote-tracking branch 'origin/3.9.x' into 4.2.x
2 parents 4933e84 + 9f28dee commit bfe8fcf

File tree

148 files changed

+138
-845
lines changed

Some content is hidden

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

148 files changed

+138
-845
lines changed

Diff for: .gitattributes

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
/phpcs.xml.dist export-ignore
99
/phpstan.neon.dist export-ignore
1010
/phpunit.xml.dist export-ignore
11-
/psalm.xml.dist export-ignore
12-
/psalm-strict.xml export-ignore
1311
/run-all.sh export-ignore
1412
/SECURITY.md export-ignore
1513
/static-analysis export-ignore

Diff for: .github/workflows/static-analysis.yml

+2-59
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ on:
88
- .github/workflows/static-analysis.yml
99
- composer.*
1010
- phpstan.neon.dist
11-
- psalm.xml.dist
12-
- psalm-strict.xml
1311
- src/**
1412
- static-analysis/**
1513
- tests/**
@@ -20,66 +18,11 @@ on:
2018
- .github/workflows/static-analysis.yml
2119
- composer.*
2220
- phpstan.neon.dist
23-
- psalm.xml.dist
24-
- psalm-strict.xml
2521
- src/**
2622
- static-analysis/**
2723
- tests/**
2824

2925
jobs:
3026
static-analysis-phpstan:
31-
name: "Static Analysis with PHPStan"
32-
runs-on: "ubuntu-22.04"
33-
34-
strategy:
35-
matrix:
36-
php-version:
37-
- "8.4"
38-
39-
steps:
40-
- name: "Checkout code"
41-
uses: "actions/checkout@v4"
42-
43-
- name: "Install PHP"
44-
uses: "shivammathur/setup-php@v2"
45-
with:
46-
coverage: "none"
47-
php-version: "${{ matrix.php-version }}"
48-
tools: "cs2pr"
49-
50-
- name: "Install dependencies with Composer"
51-
uses: "ramsey/composer-install@v3"
52-
with:
53-
composer-options: "--ignore-platform-req=php+"
54-
55-
- name: "Run a static analysis with phpstan/phpstan"
56-
run: "vendor/bin/phpstan --error-format=checkstyle | cs2pr"
57-
58-
static-analysis-psalm:
59-
name: "Static Analysis with Psalm"
60-
runs-on: "ubuntu-22.04"
61-
62-
strategy:
63-
matrix:
64-
php-version:
65-
- "8.3"
66-
67-
steps:
68-
- name: Checkout code
69-
uses: actions/checkout@v4
70-
71-
- name: Install PHP
72-
uses: shivammathur/setup-php@v2
73-
with:
74-
coverage: none
75-
php-version: ${{ matrix.php-version }}
76-
tools: cs2pr
77-
78-
- name: Install dependencies with Composer
79-
uses: ramsey/composer-install@v3
80-
81-
- name: Run static analysis with Vimeo Psalm
82-
run: vendor/bin/psalm --shepherd
83-
84-
- name: Run type inference tests with Vimeo Psalm
85-
run: vendor/bin/psalm --config=psalm-strict.xml --shepherd
27+
name: "Static Analysis"
28+
uses: "doctrine/.github/.github/workflows/[email protected]"

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ vendor/
1010
/phpunit.xml
1111
/.phpcs-cache
1212
/phpstan.neon
13-
/psalm.xml

Diff for: README.md

-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
| [![GitHub Actions][GA 5.0 image]][GA 5.0] | [![GitHub Actions][GA 4.3 image]][GA 4.3] | [![GitHub Actions][GA 4.2 image]][GA 4.2] | [![GitHub Actions][GA 3.10 image]][GA 3.10] | [![GitHub Actions][GA 3.9 image]][GA 3.9] |
66
| [![AppVeyor][AppVeyor 5.0 image]][AppVeyor 5.0] | [![AppVeyor][AppVeyor 4.3 image]][AppVeyor 4.3] | [![AppVeyor][AppVeyor 4.2 image]][AppVeyor 4.2] | [![AppVeyor][AppVeyor 3.10 image]][AppVeyor 3.10] | [![AppVeyor][AppVeyor 3.9 image]][AppVeyor 3.9] |
77
| [![Code Coverage][Coverage 5.0 image]][CodeCov 5.0] | [![Code Coverage][Coverage 4.3 image]][CodeCov 4.3] | [![Code Coverage][Coverage 4.2 image]][CodeCov 4.2] | [![Code Coverage][Coverage 3.10 image]][CodeCov 3.10] | [![Code Coverage][Coverage 3.9 image]][CodeCov 3.9] |
8-
| N/A | N/A | [![Type Coverage][TypeCov image]][TypeCov] | N/A | N/A |
98

109
Powerful ***D***ata***B***ase ***A***bstraction ***L***ayer with many features for database schema introspection and schema management.
1110

@@ -38,8 +37,6 @@ Powerful ***D***ata***B***ase ***A***bstraction ***L***ayer with many features f
3837
[AppVeyor 4.2 image]: https://ci.appveyor.com/api/projects/status/i88kitq8qpbm0vie/branch/4.2.x?svg=true
3938
[GA 4.2]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A4.2.x
4039
[GA 4.2 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=4.2.x
41-
[TypeCov]: https://shepherd.dev/github/doctrine/dbal
42-
[TypeCov image]: https://shepherd.dev/github/doctrine/dbal/coverage.svg
4340

4441
[Coverage 3.10 image]: https://codecov.io/gh/doctrine/dbal/branch/3.10.x/graph/badge.svg
4542
[3.10]: https://github.com/doctrine/dbal/tree/3.10.x

Diff for: composer.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,10 @@
4444
"phpstan/phpstan-phpunit": "2.0.3",
4545
"phpstan/phpstan-strict-rules": "^2",
4646
"phpunit/phpunit": "10.5.39",
47-
"psalm/plugin-phpunit": "0.19.0",
4847
"slevomat/coding-standard": "8.13.1",
4948
"squizlabs/php_codesniffer": "3.10.2",
5049
"symfony/cache": "^6.3.8|^7.0",
51-
"symfony/console": "^5.4|^6.3|^7.0",
52-
"vimeo/psalm": "5.25.0"
50+
"symfony/console": "^5.4|^6.3|^7.0"
5351
},
5452
"suggest": {
5553
"symfony/console": "For helpful console commands such as SQL execution and import of files."

Diff for: psalm-strict.xml

-26
This file was deleted.

0 commit comments

Comments
 (0)