Skip to content

Commit

Permalink
Fix issue 1363 (#1368)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher authored Oct 25, 2021
1 parent 3c5eb5c commit bc2220f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ jobs:
- php: 7.3
- php: 7.4
- php: 7.4
symfony-version: ^4.4
env:
SYMFONY_REQUIRE: 4.4.*
- php: 8.0
- php: 8.0
stability: dev
symfony-version: ^6.0
env:
SYMFONY_REQUIRE: 6.0.*
- php: 8.1

steps:
Expand All @@ -46,9 +48,8 @@ jobs:
if: matrix.stability
run: composer config minimum-stability ${{ matrix.stability }}

- name: Update Symfony version
if: matrix.symfony-version != ''
run: composer require --no-update "symfony/symfony:${{ matrix.symfony-version }}"
- name: Install symfony/flex
run: composer global require symfony/flex

- name: Uninstall container interop
if: matrix.skip-interop
Expand Down
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ checks:
encourage_single_quotes: true
classes_in_camel_caps: true
check_method_contracts:
verify_interface_like_constraints: true
verify_interface_like_constraints: false
verify_documented_constraints: true
verify_parent_constraints: true
avoid_perl_style_comments: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace Behat\Behat\Definition\Translator;

/**
* @method string getLocale()
*/
interface TranslatorInterface extends \Symfony\Contracts\Translation\TranslatorInterface
{
public function getLocale();
}

0 comments on commit bc2220f

Please sign in to comment.