Skip to content

Commit

Permalink
get rid of virions
Browse files Browse the repository at this point in the history
  • Loading branch information
dries-c committed Mar 27, 2024
1 parent 28de0fc commit b235912
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,20 @@ jobs:

steps:
- name: Startup
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download PHP Release
uses: dsaltares/[email protected]
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: Add Composer GitHub access token
run: ./bin/php7/bin/php composer.phar config --global github-oauth.github.com ${{ secrets.ng_token }}
- name: Install Composer dependencies
run: ./bin/php7/bin/php composer.phar install --prefer-dist --no-interaction
- name: Run PHPStan
Expand Down
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]:NetherGamesMC/PocketMine-MP.git" }
],
"autoload": {
"psr-4": {
"libasynCurl\\": "/"
Expand Down
5 changes: 0 additions & 5 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b235912

Please sign in to comment.