From fc57fabe66b1ce50c9f9e6b3ef17b2952b0219d0 Mon Sep 17 00:00:00 2001 From: Dries C Date: Wed, 27 Mar 2024 23:47:34 +0100 Subject: [PATCH] get rid of virions --- .github/workflows/phpstan.yml | 7 ------- composer.json | 6 ++++-- phpstan.neon.dist | 5 ----- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 32ab200..8a9747d 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -20,13 +20,6 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: Unpack PHP Release run: tar -xzvf PHP-Linux-x86_64-PM5.tar.gz - - name: Checkout PharBuilder - uses: actions/checkout@v3 - with: - repository: NetherGamesMC/PharBuilder - token: ${{ secrets.ng_token }} - path: PharBuilder - ref: pm5 - name: Install libFFI run: sudo apt install libffi7 - name: Download Composer diff --git a/composer.json b/composer.json index a45b5bf..3fe5931 100644 --- a/composer.json +++ b/composer.json @@ -11,10 +11,12 @@ "nethergamesmc/quiche": "dev-master" }, "require-dev": { - "phpstan/phpstan": "1.10.21" + "phpstan/phpstan": "1.10.21", + "nethergamesmc/pocketmine-mp": "dev-stable" }, "repositories": [ - { "type": "vcs", "url": "git@github.com:NetherGamesMC/PHP-Quiche.git" } + { "type": "vcs", "url": "git@github.com:NetherGamesMC/PHP-Quiche.git" }, + { "type": "vcs", "url": "git@github.com:NetherGamesMC/PocketMine-MP.git" } ], "autoload": { "psr-4": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 6946363..b645f50 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -3,12 +3,7 @@ parameters: checkMissingIterableValueType: false paths: - . - bootstrapFiles: - - phar://PharBuilder/PocketMine-MP.phar/vendor/autoload.php - scanDirectories: - - phar://PharBuilder/PocketMine-MP.phar excludePaths: analyse: - bin - - PharBuilder - vendor \ No newline at end of file