Skip to content

Merge release 6.2.0 into 7.0.x #768

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

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3cfb369
Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows
dependabot[bot] Sep 3, 2024
7284f6b
Merge pull request #756 from doctrine/dependabot/github_actions/dot-g…
SenseException Sep 3, 2024
97bbe54
drop PHP 8.0
driehle Dec 30, 2024
74f8d17
updated CI workflow
driehle Dec 30, 2024
fa1189d
Merge pull request #757 from driehle/drop-php80
driehle Dec 30, 2024
12e150f
updated upstream workflows
driehle Dec 30, 2024
72cbd36
updated toctree in docs
driehle Dec 30, 2024
61c1a16
Merge pull request #758 from driehle/upstream-workflows
driehle Dec 30, 2024
b3fa0b7
removed Psalm in favour of PHPStan
driehle Dec 30, 2024
0894ea1
Merge pull request #759 from driehle/drop-psalm
driehle Dec 30, 2024
e3a7b2d
upgraded from PHPUnit 9 to 10
driehle Dec 30, 2024
36ab999
Merge pull request #760 from driehle/upgrade-phpunit
driehle Dec 30, 2024
da6a83d
upgraded PHPStan from 1.12 to 2.0
driehle Dec 30, 2024
6217236
Merge pull request #761 from driehle/upgrade-phpstan
driehle Dec 30, 2024
c308728
allow doctrine/event-manager ^2.0
driehle Dec 30, 2024
7ba5e78
Merge pull request #762 from driehle/upgrade-event-manager
driehle Dec 30, 2024
c68ea40
dropped support for doctrine/dbal 2.x
driehle Dec 30, 2024
b5c7ab5
raise minimum orm version
driehle Dec 30, 2024
1032297
Merge pull request #763 from driehle/drop-dbal-v2
driehle Dec 30, 2024
d7b4a6c
upgraded to doctrine/doctrine-module ^6.2.0
driehle Dec 30, 2024
232a92a
Merge pull request #764 from driehle/update-doctrine-module
driehle Dec 30, 2024
7b8a56c
updated to doctrine-coding-standard v12
driehle Dec 30, 2024
422e5ba
Merge pull request #765 from driehle/coding-standards
driehle Dec 30, 2024
128a052
updated and removed unnecessary dev dependencies
driehle Dec 30, 2024
0862b9b
Merge pull request #766 from driehle/dev-cleanup
driehle Dec 30, 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 @@ -5,6 +5,4 @@
/phpcs.xml.dist export-ignore
/phpstan.neon export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml.dist export-ignore
/psalm-baseline.xml export-ignore
/tests/ export-ignore
16 changes: 14 additions & 2 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,25 @@ on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/coding-standards.yml"
- "composer.*"
- "src/**"
- "phpcs.xml.dist"
- "tests/**"
push:
branches:
- "*.x"
paths:
- ".github/workflows/coding-standards.yml"
- "composer.*"
- "src/**"
- "phpcs.xml.dist"
- "tests/**"

jobs:
coding-standards:
name: "Coding Standards"
uses: "doctrine/.github/.github/workflows/coding-standards.yml@1.5.1"
uses: "doctrine/.github/.github/workflows/coding-standards.yml@6.0.0"
with:
php-version: '8.3'
php-version: "8.3"
22 changes: 22 additions & 0 deletions .github/workflows/composer-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Composer Lint"

on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/composer-lint.yml"
- "composer.json"
push:
branches:
- "*.x"
paths:
- ".github/workflows/composer-lint.yml"
- "composer.json"

jobs:
composer-lint:
name: "Composer Lint"
uses: "doctrine/.github/.github/workflows/[email protected]"
with:
php-version: "8.3"
55 changes: 32 additions & 23 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,21 @@ on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/continuous-integration.yml"
- "composer.*"
- "src/**"
- "phpunit.xml.dist"
- "tests/**"
push:
branches:
- "*.x"
paths:
- ".github/workflows/continuous-integration.yml"
- "composer.*"
- "src/**"
- "phpunit.xml.dist"
- "tests/**"

jobs:
phpunit:
Expand All @@ -17,32 +29,22 @@ jobs:
fail-fast: false
matrix:
php-version:
- "8.0"
- "8.1"
- "8.2"
- "8.3"
dbal-version:
- "2.13.0"
- "3.3.0"
dependencies:
- "highest"
optional-dependencies:
- true
- false
include:
- php-version: "8.0"
dbal-version: "2.13.0"
dependencies: "lowest"
optional-dependencies: false
- php-version: "8.0"
- php-version: "8.1"
dbal-version: "3.3.0"
dependencies: "lowest"
optional-dependencies: false
- php-version: "8.0"
dbal-version: "2.13.0"
dependencies: "lowest"
optional-dependencies: true
- php-version: "8.0"
- php-version: "8.1"
dbal-version: "3.3.0"
dependencies: "lowest"
optional-dependencies: true
Expand All @@ -61,26 +63,31 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v4"
with:
fetch-depth: 2

- name: "Install PHP"
- name: "Install PHP with PCOV"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
coverage: "pcov"
ini-values: "error_reporting=E_ALL, zend.assertions=1"
ini-values: "zend.assertions=1"
extensions: "pdo_mysql"

- name: "Set COMPOSER_ROOT_VERSION"
run: |
echo "COMPOSER_ROOT_VERSION=${{ inputs.composer-root-version }}" >> $GITHUB_ENV
if: "${{ inputs.composer-root-version }}"

- name: "Require specific DBAL version"
run: "composer require doctrine/dbal ^${{ matrix.dbal-version }} --no-update"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist --no-suggest"
composer-options: "${{ inputs.composer-options }}"

- name: "Remove optional dependencies"
if: "! matrix.optional-dependencies"
Expand All @@ -103,29 +110,31 @@ jobs:
run: "./ci/run-cli-migrations.sh"

- name: "Upload coverage file"
uses: "actions/upload-artifact@v2"
uses: "actions/upload-artifact@v4"
with:
name: "phpunit-${{ matrix.php-version }}-${{ matrix.dependencies }}-${{ matrix.dbal-version }}.coverage"
name: "phpunit-${{ matrix.php-version }}-${{ matrix.dependencies }}-${{ matrix.optional-dependencies }}-${{ matrix.dbal-version }}.coverage"
path: "coverage.xml"

upload_coverage:
name: "Upload coverage to Codecov"
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-22.04"
needs:
- "phpunit"

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v4"
with:
fetch-depth: 2

- name: "Download coverage files"
uses: "actions/download-artifact@v2"
uses: "actions/download-artifact@v4"
with:
path: "reports"

- name: "Upload to Codecov"
uses: "codecov/codecov-action@v1"
uses: "codecov/codecov-action@v5"
with:
directory: "reports"
env:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
20 changes: 20 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Documentation"

on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/documentation.yml"
- "docs/**"
push:
branches:
- "*.x"
paths:
- ".github/workflows/documentation.yml"
- "docs/**"

jobs:
documentation:
name: "Documentation"
uses: "doctrine/.github/.github/workflows/[email protected]"
28 changes: 28 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Static Analysis"

on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/phpstan.yml"
- "composer.*"
- "src/**"
- "phpstan*"
- "tests/**"
push:
branches:
- "*.x"
paths:
- ".github/workflows/phpstan.yml"
- "composer.*"
- "src/**"
- "phpstan*"
- "tests/**"

jobs:
static-analysis:
name: "Static Analysis"
uses: "doctrine/.github/.github/workflows/[email protected]"
with:
php-version: "8.3"
6 changes: 3 additions & 3 deletions .github/workflows/release-on-milestone-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
jobs:
release:
name: "Git tag, release & create merge-up PR"
uses: "doctrine/.github/.github/workflows/[email protected]"
with:
use-next-minor-as-default-branch: true
uses: "doctrine/.github/.github/workflows/[email protected]"
secrets:
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}
with:
use-next-minor-as-default-branch: true # defaults to false
16 changes: 0 additions & 16 deletions .github/workflows/static-analysis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/.phpcs.cache
/.phpunit.result.cache
/.phpunit.cache/
/ci/20*/
/config/application.config.php
/coverage.xml
Expand Down
Loading