From 684f377d5b2f6fc84978e34e2ee49cb250c2876a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Wed, 22 Jun 2022 08:34:39 +0200 Subject: [PATCH] Update to stable reactphp/socket v1.12.0 --- .github/workflows/ci.yml | 3 --- composer.json | 15 +++++---------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 081fe14..ae61063 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,8 +27,6 @@ jobs: with: php-version: ${{ matrix.php }} coverage: xdebug - env: - COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: composer install - run: vendor/bin/phpunit --coverage-text if: ${{ matrix.php >= 7.3 }} @@ -39,7 +37,6 @@ jobs: name: PHPUnit (HHVM) runs-on: ubuntu-18.04 continue-on-error: true - if: false # temporarily skipped until https://github.com/azjezz/setup-hhvm/issues/3 is addressed steps: - uses: actions/checkout@v2 - uses: azjezz/setup-hhvm@v1 diff --git a/composer.json b/composer.json index fc23ef2..4941b1a 100644 --- a/composer.json +++ b/composer.json @@ -12,25 +12,20 @@ ], "require": { "php": ">=5.3", - "react/promise": "^3@dev || ^2.1 || ^1.2.1", - "react/socket": "dev-promise-3 as 1.12.0", + "react/promise": "^3 || ^2.1 || ^1.2.1", + "react/socket": "^1.12", "ringcentral/psr7": "^1.2" }, "require-dev": { "clue/block-react": "^1.5", "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8", - "react/event-loop": "^1.2" + "react/event-loop": "^1.2", + "react/http": "^1.5" }, "autoload": { "psr-4": { "Clue\\React\\HttpProxy\\": "src/" } }, "autoload-dev": { "psr-4": { "Clue\\Tests\\React\\HttpProxy\\": "tests/" } - }, - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/WyriHaximus-labs/socket" - } - ] + } }