From 4d157f850065b2b69cb27be72dd2af5dc60fe9da Mon Sep 17 00:00:00 2001 From: Maxime Veber Date: Tue, 26 Oct 2021 23:56:57 +0200 Subject: [PATCH] feat: remove custom dev dependency Friends of PHPSpec are doing a great job maintaining phpspec-expect and it seems working great! Let's remove our custom repository :) . --- .github/workflows/tests.yml | 4 ++-- composer.json | 11 ++--------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d9513c6..cc89b59 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ 7.3, 7.4, 8.0 ] + php: [ 7.4, 8.0 ] os: [ ubuntu-latest ] phpunit-versions: ['latest'] include: @@ -18,7 +18,7 @@ jobs: composer-flag: "--ignore-platform-reqs" - os: [ ubuntu-latest ] - php: 7.2 + php: 7.3 composer-flag: "--prefer-lowest" steps: diff --git a/composer.json b/composer.json index 00fbecc..30820ad 100644 --- a/composer.json +++ b/composer.json @@ -13,17 +13,10 @@ }, "require-dev": { "phpspec/phpspec": "^6.3.0", - "bossa/phpspec2-expect": "dev-feature/php-8", + "friends-of-phpspec/phpspec-expect": "^4.0", "phpunit/phpunit": "^8.5" }, - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/Nek-/phpspec2-expect" - } - ], "_comment": [ - "PHPSpec is limited to ^6.x to keep compatibility with PHP7.1", - "The repository for expect package is temporary, see https://github.com/BossaConsulting/phpspec2-expect/pull/66" + "PHPSpec is limited to ^6.x to keep compatibility with PHP7.1" ] }