-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from RobinDvorak/rd-fix-symfony-5-deprecations
fix serialization of TranslatableMetadata and TranslationMetadata
- Loading branch information
Showing
5 changed files
with
81 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build and tests | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- '[1-9].[0-9]' | ||
tags: | ||
- '**' | ||
pull_request: | ||
branches: | ||
- '**' | ||
jobs: | ||
cancel: | ||
name: Cancel previous workflow runs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancelling | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
run-tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php-versions: [ '7.4', '8.0', '8.1' ] | ||
needs: cancel | ||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
- name: Install composer dependencies | ||
run: composer install --no-interaction --optimize-autoloader | ||
- name: Run Unit tests | ||
run: vendor/bin/phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"translatable", | ||
"i18n" | ||
], | ||
"homepage": "http://www.prezent.nl", | ||
"homepage": "https://www.prezent.nl", | ||
"authors": [{ | ||
"name": "Prezent Internet B.V.", | ||
"email": "[email protected]" | ||
|
@@ -20,7 +20,7 @@ | |
"source": "https://github.com/prezent/doctrine-translatable" | ||
}, | ||
"require": { | ||
"php": ">=7.1.0", | ||
"php": ">=7.4.0", | ||
"doctrine/common": "^2.3|^3.0", | ||
"doctrine/orm": ">=2.12.0", | ||
"jms/metadata": "^1.1|^2.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters