Skip to content

Commit

Permalink
[Build] fixes for forms when removing helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
dries-c committed Jan 10, 2025
1 parent cb8e5ee commit 4c789d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
file: PHP-Linux-x86_64-PM5.tar.gz
repo: NetherGamesMC/php-build-scripts
version: "tags/php-8.3-latest"
version: "tags/php-8.3-ffi-latest"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unpack PHP Release
run: tar -xzvf PHP-Linux-x86_64-PM5.tar.gz
Expand All @@ -33,7 +33,7 @@ jobs:
./pharbuilder -i . -o ./NGPlots.phar
echo Build completed!
- name: Upload
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v4
with:
name: NGPlots
path: NGPlots.phar
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
file: PHP-Linux-x86_64-PM5.tar.gz
repo: NetherGamesMC/php-build-scripts
version: "tags/php-8.3-latest"
version: "tags/php-8.3-ffi-latest"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unpack PHP Release
run: tar -xzvf PHP-Linux-x86_64-PM5.tar.gz
Expand Down
1 change: 1 addition & 0 deletions src/MyPlot/Plot.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public function removeHelper(string $username): bool
return false;
}
unset($this->helpers[$key]);
$this->helpers = array_values($this->helpers);
return true;
}

Expand Down

0 comments on commit 4c789d6

Please sign in to comment.