Skip to content

Commit

Permalink
Full upgrade to PM5 >:D
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanCraft623 committed Dec 15, 2023
1 parent e4bf56e commit e210b5b
Show file tree
Hide file tree
Showing 18 changed files with 617 additions and 2,320 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: PHPStan CI

on: push

jobs:
phpstan:
name: PHPStan Analysis
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"

steps:
- name: Startup
uses: actions/checkout@v3

- name: Download PHP Release
uses: dsaltares/fetch-gh-release-asset@1.1.0
with:
file: PHP-Linux-x86_64-PM5.tar.gz
repo: pmmp/PHP-Binaries
version: "tags/php-8.2-latest"

- name: Unpack PHP Release
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
run: ./bin/php7/bin/php composer.phar install --prefer-dist --no-interaction

- name: Run PHPStan
run: ./bin/php7/bin/php vendor/bin/phpstan.phar analyze --no-progress
22 changes: 11 additions & 11 deletions .poggit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ projects:
Minerware:
path: ""
libs:
- src: CortexPE/Commando/Commando
version: ^3.0.0
branch: PM4
- src: LatamPMDevs/Commando/Commando
version: ^3.1.1
branch: pm5
- src: Ifera/ScoreFactory/ScoreFactory
version: ^3.1.0
- src: ifera-mc/ConfigUpdater/ConfigUpdater
version: ^2.0.0
version: ^3.2.0
- src: LatamPMDevs/ConfigUpdater/ConfigUpdater
version: ^2.0.1
branch: master
- src: ifera-mc/UpdateNotifier/UpdateNotifier
- src: LatamPMDevs/UpdateNotifier/UpdateNotifier
version: ^3.0.0
- src: IvanCraft623/fakeblocks/fakeblocks
version: ^0.0.2
version: ^0.0.3
- src: IvanCraft623/languages/languages
version: ^0.0.1
version: ^0.0.3
- src: LatamPMDevs/FormAPI/libFormAPI
version: ^2.1.0
version: ^2.1.1
- src: poggit/libasynql/libasynql
version: 4.1.5
version: ^4.1.6
60 changes: 53 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,63 @@
{
"name": "minerware/minerware",
"description": "Private minerware plugin inspired in CubeCraft's.",
"version": "1.0.0",
"name": "latampmdevs/minerware",
"description": "Multiple classic microgames in a single chunk",
"type": "project",
"license": "LGPL-3.0",
"require": {
"latampmdevs/commando": "dev-pm5",
"latampmdevs/config-updater": "dev-master",
"latampmdevs/update-notifier": "dev-master",
"latampmdevs/formapi": "dev-master",
"ivancraft623/languages": "dev-main",
"ivancraft623/fakeblocks": "dev-main",
"sof3/libasynql": "dev-pm5",
"buchwasa/scorefactory": "dev-master"
},
"require-dev": {
"php": "^8.0",
"pocketmine/pocketmine-mp": "^4.0.0",
"friendsofphp/php-cs-fixer": "3.10.0",
"phpstan/phpstan": "1.10.14"
"pocketmine/pocketmine-mp": "^5.3.0",
"phpstan/phpstan": "1.10.25"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/LatamPMDevs/Commando.git"
},
{
"type": "vcs",
"url": "https://github.com/LatamPMDevs/ConfigUpdater.git"
},
{
"type": "vcs",
"url": "https://github.com/LatamPMDevs/UpdateNotifier.git"
},
{
"type": "vcs",
"url": "https://github.com/LatamPMDevs/FormAPI.git"
},
{
"type": "vcs",
"url": "https://github.com/IvanCraft623/languages.git"
},
{
"type": "vcs",
"url": "https://github.com/IvanCraft623/fakeblocks.git"
},
{
"type": "vcs",
"url": "https://github.com/Ifera/ScoreFactory.git"
}
],
"minimum-stability": "dev",
"config": {
"platform": {
"php": "8.0"
"php": "8.1"
},
"sort-packages": true
},
"autoload": {
"psr-0": {
"IvanCraft623\\RankSystem\\": "src"
}
}
}
Loading

0 comments on commit e210b5b

Please sign in to comment.