Skip to content

Commit

Permalink
Bump tools and workflows (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Dec 19, 2022
1 parent b394aaa commit 4d90b67
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ on:
jobs:
coding-standards:
name: "Coding Standards"
uses: "doctrine/.github/.github/workflows/coding-standards.yml@2.1.0"
uses: "doctrine/.github/.github/workflows/coding-standards.yml@3.0.0"
with:
composer-root-version: "2.5"
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
phpunit:
name: "PHPUnit"
uses: "doctrine/.github/.github/workflows/continuous-integration.yml@2.1.0"
uses: "doctrine/.github/.github/workflows/continuous-integration.yml@3.0.0"
with:
composer-root-version: "2.5"
php-versions: '["7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]'
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 @@ -8,7 +8,7 @@ on:
jobs:
release:
name: "Git tag, release & create merge-up PR"
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@2.1.0"
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@3.0.0"
secrets:
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ on:
jobs:
static-analysis:
name: "Static Analysis"
uses: "doctrine/.github/.github/workflows/static-analysis.yml@2.1.0"
uses: "doctrine/.github/.github/workflows/static-analysis.yml@3.0.0"
with:
composer-root-version: "2.5"
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
},
"require-dev": {
"composer/package-versions-deprecated": "^1.11",
"phpstan/phpstan": "~1.4.10 || 1.8.8",
"phpstan/phpstan": "~1.4.10 || 1.9.4",
"doctrine/annotations": "^1.0",
"doctrine/coding-standard": "^9 || ^10",
"doctrine/coding-standard": "^9 || ^11",
"doctrine/common": "^3.0",
"phpunit/phpunit": "^7.5.20 || ^8.5 || ^9.5",
"symfony/cache": "^4.4 || ^5.4 || ^6.0",
"vimeo/psalm": "4.29.0"
"vimeo/psalm": "4.30.0 || 5.3.0"
},
"conflict": {
"doctrine/annotations": "<1.0 || >=2.0",
Expand Down
6 changes: 6 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,11 @@
<file name="tests/Persistence/Mapping/FileDriverTest.php"/>
</errorLevel>
</MoreSpecificReturnType>
<RedundantCast>
<errorLevel type="suppress">
<!-- We're filtering invalid input- -->
<file name="src/Persistence/Mapping/Driver/SymfonyFileLocator.php"/>
</errorLevel>
</RedundantCast>
</issueHandlers>
</psalm>
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ public function setValue($object, $value = null)

$originalInitializer = $object->__getInitializer();
$object->__setInitializer(null);

parent::setValue($object, $value);

$object->__setInitializer($originalInitializer);
}
}

0 comments on commit 4d90b67

Please sign in to comment.