Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 3.4.x up into 4.0.x #11762

Merged
merged 32 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a4a15ad
Merge pull request #11687 from doctrine/2.20.x
greg0ire Oct 16, 2024
91201c0
Merge pull request #11722 from doctrine/2.20.x
greg0ire Nov 23, 2024
619302d
Raise PHPStan level to 7
greg0ire Nov 23, 2024
fbcac42
Merge pull request #11732 from greg0ire/phpstan-lvl-7
greg0ire Nov 24, 2024
8784f2b
Bump doctrine/.github from 5.2.0 to 5.3.0
dependabot[bot] Nov 25, 2024
7c0eebe
Merge pull request #11733 from doctrine/dependabot/github_actions/2.2…
greg0ire Nov 25, 2024
38c6569
Avoid coverage upload for merge up pull requests
greg0ire Nov 27, 2024
4563f2f
Merge pull request #11737 from doctrine/2.20.x
greg0ire Nov 27, 2024
cbda7e2
Merge remote-tracking branch 'origin/2.20.x' into 3.3.x
greg0ire Nov 27, 2024
4bda514
Merge pull request #11736 from greg0ire/avoid-coverage-upload
greg0ire Nov 28, 2024
69a4199
Merge pull request #11738 from greg0ire/3.3.x
greg0ire Nov 28, 2024
37051d5
Merge pull request #11739 from doctrine/2.20.x
greg0ire Nov 28, 2024
0a635c1
Merge pull request #11740 from doctrine/2.20.x
greg0ire Nov 28, 2024
0d770c8
Bump doctrine/.github from 5.3.0 to 6.0.0
dependabot[bot] Dec 2, 2024
eadf96c
Merge pull request #11743 from doctrine/dependabot/github_actions/2.2…
greg0ire Dec 2, 2024
6c70d11
Merge remote-tracking branch 'origin/3.3.x' into 3.4.x
greg0ire Dec 3, 2024
5d73458
Merge pull request #11745 from greg0ire/3.4.x
greg0ire Dec 3, 2024
22ce0af
Merge remote-tracking branch 'origin/2.21.x' into 3.4.x
greg0ire Dec 3, 2024
6007154
Merge pull request #11746 from greg0ire/3.4.x
greg0ire Dec 4, 2024
fd041fb
Drop Psalm
beberlei Nov 4, 2024
8fb1043
Merge pull request #11704 from beberlei/DropPsalm-2.20
greg0ire Dec 7, 2024
0ed0be0
Run static analysis checks on PHP 8.4 (#11753)
greg0ire Dec 7, 2024
360b80a
Merge remote-tracking branch 'origin/2.20.x' into 3.3.x
greg0ire Dec 7, 2024
8ef9253
Upgrade to PHPStan 2 (#11756)
greg0ire Dec 7, 2024
6fd26a3
Order result (#11757)
greg0ire Dec 7, 2024
417444d
Merge remote-tracking branch 'origin/2.20.x' into 3.3.x
greg0ire Dec 7, 2024
f7f3104
Merge pull request #11755 from greg0ire/3.3.x
greg0ire Dec 8, 2024
51a984b
Merge pull request #11758 from doctrine/3.3.x
greg0ire Dec 8, 2024
4e01567
Run tests with PHP 8.4
greg0ire Dec 8, 2024
46c94e3
Merge pull request #11760 from greg0ire/fix-merge-up
greg0ire Dec 8, 2024
a15543a
Merge pull request #11761 from doctrine/3.3.x
greg0ire Dec 8, 2024
8d7b4d8
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
greg0ire Dec 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ phpstan-baseline.neon export-ignore
phpstan-dbal2.neon export-ignore
phpstan-params.neon export-ignore
phpstan-persistence2.neon export-ignore
psalm.xml export-ignore
psalm-baseline.xml export-ignore
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ on:

jobs:
coding-standards:
uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.2.0"
uses: "doctrine/.github/.github/workflows/coding-standards.yml@6.0.0"
2 changes: 2 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ jobs:
upload_coverage:
name: "Upload coverage to Codecov"
runs-on: "ubuntu-22.04"
# Only run on PRs from forks
if: "github.event.pull_request.head.repo.full_name != github.repository"
needs:
- "phpunit-smoke-check"
- "phpunit-postgres"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ on:
jobs:
documentation:
name: "Documentation"
uses: "doctrine/.github/.github/workflows/documentation.yml@5.2.0"
uses: "doctrine/.github/.github/workflows/documentation.yml@6.0.0"
2 changes: 1 addition & 1 deletion .github/workflows/release-on-milestone-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release:
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.2.0"
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@6.0.0"
secrets:
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
Expand Down
24 changes: 1 addition & 23 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
- composer.*
- src/**
- phpstan*
- psalm*
- tests/StaticAnalysis/**
push:
branches:
Expand All @@ -19,7 +18,6 @@ on:
- composer.*
- src/**
- phpstan*
- psalm*
- tests/StaticAnalysis/**

jobs:
Expand All @@ -35,31 +33,11 @@ jobs:
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: "8.3"
php-version: "8.4"
tools: cs2pr

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

- name: Run static analysis with phpstan/phpstan
run: "vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr"

static-analysis-psalm:
name: Static Analysis with Psalm
runs-on: ubuntu-22.04

steps:
- name: "Checkout code"
uses: "actions/checkout@v4"

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: "8.3"

- name: Install dependencies with Composer
uses: ramsey/composer-install@v3

- name: Run static analysis with Vimeo Psalm
run: vendor/bin/psalm --shepherd
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@
"phpbench/phpbench": "^1.0",
"phpdocumentor/guides-cli": "^1.4",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "1.12.6",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpstan/phpstan": "2.0.3",
"phpstan/phpstan-deprecation-rules": "^2",
"phpunit/phpunit": "^10.4.0",
"psr/log": "^1 || ^2 || ^3",
"squizlabs/php_codesniffer": "3.7.2",
"symfony/cache": "^5.4 || ^6.2 || ^7.0",
"vimeo/psalm": "5.26.1"
"symfony/cache": "^5.4 || ^6.2 || ^7.0"
},
"suggest": {
"ext-dom": "Provides support for XSD validation for XML mapping files",
Expand Down
Loading