diff --git a/.doctrine-project.json b/.doctrine-project.json index 3dc73bed..05348903 100644 --- a/.doctrine-project.json +++ b/.doctrine-project.json @@ -5,21 +5,33 @@ "docsSlug": "doctrine-coding-standard", "versions": [ { - "name": "9.0", - "branchName": "9.0.x", - "slug": "9.0", + "name": "11.0", + "branchName": "11.0.x", + "slug": "11.0", "upcoming": true }, { - "name": "8.2", - "branchName": "8.2.x", - "slug": "8.2", + "name": "10.0", + "branchName": "10.0.x", + "slug": "10.0", "current": true, "aliases": [ "current", "stable" ] }, + { + "name": "9.0", + "branchName": "9.0.x", + "slug": "9.0", + "maintained": false + }, + { + "name": "8.2", + "branchName": "8.2.x", + "slug": "8.2", + "maintained": false + }, { "name": "8.1", "branchName": "8.1.x", diff --git a/.github/workflows/release-on-milestone-closed.yml b/.github/workflows/release-on-milestone-closed.yml index b7a56f71..a0c4e1d0 100644 --- a/.github/workflows/release-on-milestone-closed.yml +++ b/.github/workflows/release-on-milestone-closed.yml @@ -8,38 +8,9 @@ on: jobs: release: name: "Git tag, release & create merge-up PR" - runs-on: "ubuntu-20.04" - - steps: - - name: "Checkout" - uses: "actions/checkout@v2" - - - name: "Release" - uses: "laminas/automatic-releases@v1" - with: - command-name: "laminas:automatic-releases:release" - env: - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} - "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} - "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} - "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} - - - name: "Create Merge-Up Pull Request" - uses: "laminas/automatic-releases@v1" - with: - command-name: "laminas:automatic-releases:create-merge-up-pull-request" - env: - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} - "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} - "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} - "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} - - - name: "Create new milestones" - uses: "laminas/automatic-releases@v1" - with: - command-name: "laminas:automatic-releases:create-milestones" - env: - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} - "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} - "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} - "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} + uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@2.0.0" + 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 }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..55eaba12 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,3 @@ +# Contributing + +See https://www.doctrine-project.org/projects/doctrine-coding-standard/en/stable/reference/index.html#contributing diff --git a/composer.json b/composer.json index dfcf7c17..59f11989 100644 --- a/composer.json +++ b/composer.json @@ -6,6 +6,7 @@ "doctrine", "coding", "standard", + "dev", "cs", "code", "style", @@ -23,7 +24,7 @@ "require": { "php": "^7.2 || ^8.0", "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", - "slevomat/coding-standard": "^8.6", + "slevomat/coding-standard": "^8.6.2", "squizlabs/php_codesniffer": "^3.7" }, "config": { diff --git a/docs/en/reference/index.rst b/docs/en/reference/index.rst index b09d2824..7a01910f 100644 --- a/docs/en/reference/index.rst +++ b/docs/en/reference/index.rst @@ -117,14 +117,24 @@ and `the list of configuration options