Skip to content

Commit

Permalink
PMMP 4.0.0 (#108)
Browse files Browse the repository at this point in the history
Co-authored-by: DaPigGuy <[email protected]>
Co-authored-by: xSuper <[email protected]>
  • Loading branch information
3 people authored Feb 13, 2022
1 parent 791e769 commit 6cb25d4
Show file tree
Hide file tree
Showing 123 changed files with 645 additions and 725 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: PHPStan

on:
push:
branches:
- master
pull_request:
branches:
- master
on: [push, pull_request]

jobs:
phpstan:
Expand All @@ -19,17 +13,17 @@ jobs:
run: mkdir vendor
- name: Download Plugin Dependencies
run: |
wget -O vendor/PiggyCustomEnchants.phar https://poggit.pmmp.io/r/94058/PiggyCustomEnchants.phar
wget -O vendor/PiggyCustomEnchants.phar https://poggit.pmmp.io/r/94443/PiggyCustomEnchants_dev-468.phar
wget -O vendor/HRKChat.phar https://poggit.pmmp.io/r/80529/HRKChat_dev-31.phar
wget -O vendor/Hierarchy.phar https://poggit.pmmp.io/r/81611/Hierarchy_dev-81.phar
wget -O vendor/ScoreHud.phar https://poggit.pmmp.io/r/134708/ScoreHud_dev-70.phar
wget -O vendor/ScoreHud.phar https://poggit.pmmp.io/r/161570/ScoreHud_dev-71.phar
- name: Download Virion Dependencies
run: |
wget -O vendor/libasynql.phar https://poggit.pmmp.io/r/108791/libasynql.phar
wget -O vendor/FormAPI.phar https://poggit.pmmp.io/r/54589/FormApi_dev-9.phar
wget -O vendor/libPiggyEconomy.phar https://poggit.pmmp.io/r/78540/libPiggyEconomy_dev-7.phar
wget -O vendor/Commando.phar https://poggit.pmmp.io/r/120160/Commando_dev-24.phar
wget -O vendor/libasynql.phar https://poggit.pmmp.io/r/159125/libasynql_dev-174.phar
wget -O vendor/FormAPI.phar https://poggit.pmmp.io/r/77082/FormAPI_dev-1.phar
wget -O vendor/libPiggyEconomy.phar https://poggit.pmmp.io/r/94380/libPiggyEconomy_dev-10.phar
wget -O vendor/Commando.phar https://poggit.pmmp.io/r/94451/Commando_dev-3.phar
- name: Run PHPStan
uses: paroxity/pmmp-phpstan-action@3.22.1
uses: paroxity/pmmp-phpstan-action@4.2.0
with:
phpstan-config: phpstan.neon.dist
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ $RECYCLE.BIN/
*.lnk

# JetBrains IDE
\.idea/
transfer.bat
.idea
.dependencies
6 changes: 3 additions & 3 deletions .poggit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ projects:
path: ""
icon: "resources/PiggyFactions-icon.png"
libs:
- src: Paroxity/Commando/Commando
- src: DaPigGuy/Commando-4.0.0/Commando
version: ^2.1.0
- src: poggit/libasynql/libasynql
version: ^3.3.1
- src: jojoe77777/FormAPI/libFormAPI
version: ^3.4.0
- src: DaPigGuy/FormAPI-4.0.0/libFormAPI
version: ^1.3
- src: DaPigGuy/libPiggyEconomy/libPiggyEconomy
version: ^2.0.0
Expand Down
6 changes: 3 additions & 3 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ parameters:
level: 7
bootstrapFiles:
- phar:///pocketmine/PocketMine-MP.phar/vendor/autoload.php
- phpstan/bootstrap.php
scanDirectories:
- phar:///source/vendor/PiggyCustomEnchants.phar/src/
- phar:///source/vendor/Hierarchy.phar/src/
Expand All @@ -14,6 +13,7 @@ parameters:
- phar:///source/vendor/FormAPI.phar/src/
- phar:///source/vendor/libasynql.phar/src/
- phar:///source/vendor/libPiggyEconomy.phar/src/
excludes_analyse:
- source/vendor
excludePaths:
analyse:
- source/vendor
checkMissingIterableValueType: false
4 changes: 0 additions & 4 deletions phpstan/bootstrap.php

This file was deleted.

Loading

0 comments on commit 6cb25d4

Please sign in to comment.