-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4bf56e
commit e210b5b
Showing
18 changed files
with
617 additions
and
2,320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} |
Oops, something went wrong.