From cc233afc1d65c8365aae6afc6c60efdb9794d05e Mon Sep 17 00:00:00 2001 From: Dries C Date: Wed, 27 Mar 2024 23:39:48 +0100 Subject: [PATCH] get rid of virions --- .github/workflows/phpstan.yml | 13 +++---------- composer.json | 6 +++++- phpstan.neon.dist | 5 ----- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 4e27e3d..15e2daf 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -14,19 +14,12 @@ jobs: - name: Download PHP Release uses: dsaltares/fetch-gh-release-asset@1.1.1 with: - file: Linux.zip + file: PHP-Linux-x86_64-PM5.tar.gz repo: NetherGamesMC/php-build-scripts - version: "tags/8.2-pm5" + version: "tags/php-8.3-latest" token: ${{ secrets.GITHUB_TOKEN }} - name: Unpack PHP Release - run: unzip Linux.zip && tar -xzvf PHP_Linux-x86_64.tar.gz - - name: Checkout PharBuilder - uses: actions/checkout@v3 - with: - repository: NetherGamesMC/PharBuilder - token: ${{ secrets.ng_token }} - path: PharBuilder - ref: pm5 + run: tar -xzvf PHP-Linux-x86_64-PM5.tar.gz - name: Download Composer run: curl -o composer.phar "https://getcomposer.org/composer-stable.phar" - name: Install Composer dependencies diff --git a/composer.json b/composer.json index 49f481e..3adbedb 100644 --- a/composer.json +++ b/composer.json @@ -9,8 +9,12 @@ "ext-igbinary": "*" }, "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/PocketMine-MP.git" } + ], "autoload": { "psr-4": { "libasynCurl\\": "/" 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