Skip to content

Commit

Permalink
Require pocketmine/pocketmine-mp
Browse files Browse the repository at this point in the history
  • Loading branch information
nmtho committed Nov 27, 2023
1 parent f1586cd commit 90738a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
uses: "ramsey/composer-install@v2"
with:
composer-options: "--ignore-platform-reqs --optimize-autoloader"
composer-options: "--ignore-platform-reqs --optimize-autoloader --no-dev"

- uses: "ramsey/composer-install@v2"
with:
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"friendsofphp/php-cs-fixer": "^3.40",
"phpstan/phpstan": "^1.10"
"phpstan/phpstan": "^1.10",
"pocketmine/pocketmine-mp": "^5.8"
},
"license": "GPL-3.0-only",
"config": {
Expand Down
10 changes: 6 additions & 4 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
parameters:
level: 9
paths:
- src
parameters:
level: 9
paths:
- src
ignoreErrors:
- '#Call to (an undefined method|undefined function) pocketmine\\\\.*#'

0 comments on commit 90738a0

Please sign in to comment.