diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 064cba96..1e78392d 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -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" diff --git a/.github/workflows/composer-lint.yml b/.github/workflows/composer-lint.yml new file mode 100644 index 00000000..39e14e0c --- /dev/null +++ b/.github/workflows/composer-lint.yml @@ -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/composer-lint.yml@6.0.0" + with: + php-version: "8.3" diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml new file mode 100644 index 00000000..84bf616c --- /dev/null +++ b/.github/workflows/documentation.yml @@ -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/documentation.yml@6.0.0" diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml new file mode 100644 index 00000000..f1e6edc2 --- /dev/null +++ b/.github/workflows/phpstan.yml @@ -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/phpstan.yml@6.0.0" + with: + php-version: "8.3" diff --git a/.github/workflows/release-on-milestone-closed.yml b/.github/workflows/release-on-milestone-closed.yml index 0f4c96ee..6f621466 100644 --- a/.github/workflows/release-on-milestone-closed.yml +++ b/.github/workflows/release-on-milestone-closed.yml @@ -8,11 +8,11 @@ on: jobs: release: name: "Git tag, release & create merge-up PR" - uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@1.5.1" - with: - use-next-minor-as-default-branch: true + 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 }} 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 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml deleted file mode 100644 index 3a51c02e..00000000 --- a/.github/workflows/static-analysis.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: "Static Analysis" - -on: - pull_request: - branches: - - "*.x" - push: - branches: - - "*.x" - -jobs: - static-analysis: - name: "Static Analysis" - uses: "doctrine/.github/.github/workflows/static-analysis.yml@1.5.1" - with: - php-version: '8.3' diff --git a/docs/en/index.rst b/docs/en/index.rst index 3f937dc0..2c7663af 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -23,13 +23,17 @@ Run the following to install this library using `Composer `: + general introduction. +- :doc:`Developer Tools `: + setting up Laminas Developer Tools. +- :doc:`Configuration `: + learn how to configure DoctrineORMModule. +- :doc:`Caching `: + learn how to configure caches. +- :doc:`Migrations `: + learn how to use database migrations. +- :doc:`Laminas Forms `: + learn about custom Laminas form elements. +- :doc:`Laminas Forms `: + learn about authentication and custom DBAL types. diff --git a/docs/en/sidebar.rst b/docs/en/sidebar.rst index a5ba7b1b..48f9a500 100644 --- a/docs/en/sidebar.rst +++ b/docs/en/sidebar.rst @@ -1,11 +1,14 @@ +:orphan: + .. toctree:: - :depth: 3 + :caption: Doctrine ORM Module + :depth: 3 - index - user-guide - developer-tools - configuration - cache - migrations - forms - miscellaneous + index + user-guide + developer-tools + configuration + cache + migrations + forms + miscellaneous