Skip to content

Commit

Permalink
Merge pull request #786 from doctrine/4.6.x-merge-up-into-4.7.x_Ta3KNHnD
Browse files Browse the repository at this point in the history
Merge release 4.6.2 into 4.7.x
  • Loading branch information
franmomu authored Oct 26, 2023
2 parents cf1a23d + 6b53426 commit 1d3edae
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: "PHPUnit"
runs-on: "${{ matrix.os }}"
env:
SYMFONY_REQUIRE: ${{matrix.symfony-require}}
SYMFONY_REQUIRE: ${{matrix.symfony-version}}

strategy:
matrix:
Expand All @@ -29,9 +29,9 @@ jobs:
stability:
- "stable"
symfony-version:
- "5.4.x"
- "6.2.x"
- "6.3.x"
- "5.4.*"
- "6.2.*"
- "6.3.*"
driver-version:
- "stable"
dependencies:
Expand All @@ -45,9 +45,13 @@ jobs:
symfony-version: "5.4.*"
exclude:
- php-version: "7.4"
symfony-version: "6.2.x"
symfony-version: "6.2.*"
- php-version: "7.4"
symfony-version: "6.3.x"
symfony-version: "6.3.*"
- php-version: "8.0"
symfony-version: "6.2.*"
- php-version: "8.0"
symfony-version: "6.3.*"

services:
mongodb:
Expand Down Expand Up @@ -80,14 +84,11 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
tools: "pecl"
tools: "pecl, flex"
extensions: "mongodb-${{ matrix.driver-version }}"
coverage: "pcov"
ini-values: "zend.assertions=1"

- name: "Globally install symfony/flex"
run: "composer global require --no-progress --no-scripts --no-plugins symfony/flex && composer global config --no-plugins allow-plugins.symfony/flex true"

- name: "Set minimum-stability to stable in Composer"
run: "composer config minimum-stability ${{ matrix.stability }}"

Expand Down
3 changes: 2 additions & 1 deletion Repository/ServiceRepositoryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
trait ServiceRepositoryTrait
{
/**
* @param string $documentClass The class name of the entity this repository manages
* @param ManagerRegistry $registry The ManagerRegistry to use
* @param string $documentClass The class name of the entity this repository manages
* @psalm-param class-string<T> $documentClass
*/
public function __construct(ManagerRegistry $registry, $documentClass)
Expand Down

0 comments on commit 1d3edae

Please sign in to comment.