Skip to content

Commit

Permalink
PHP 8 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
m50 committed Mar 11, 2024
1 parent bdc08e7 commit 6547446
Show file tree
Hide file tree
Showing 14 changed files with 553 additions and 2,636 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ jobs:
run: composer install
- name: Run static analysis
run: composer stan
- name: Run tests
run: composer test
1 change: 1 addition & 0 deletions .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":{"Tests\\ClientTest::testClientListenToChannel":4,"Tests\\ClientTest::testReadFromClientNotChannel":4,"Tests\\ClientTest::testChannelSubscribeAndThenUnsubscribe":4},"times":{"Tests\\ClientTest::testClientListenToChannel":0.002,"Tests\\ClientTest::testReadFromClientNotChannel":0,"Tests\\ClientTest::testChannelSubscribeAndThenUnsubscribe":0}}
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Pusher Client
# Pusher Client for php8.0

> Note: This branch is for php8.0, and is using outdated libraries and has no tests.
> This is for compatibility only and should not be used normally.
## Installation

Expand Down Expand Up @@ -50,4 +53,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

8 changes: 3 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
"stan": "phpstan analyse src"
},
"require": {
"amphp/amp": "^3.0",
"revolt/event-loop": "^1.0",
"amphp/websocket-client": "^2.0"
"amphp/amp": "^2.6",
"amphp/websocket-client": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"phpstan/phpstan": "^1.10",
"symfony/var-dumper": "^6.4"
"symfony/var-dumper": "^6.0"
}
}
Loading

0 comments on commit 6547446

Please sign in to comment.