Skip to content

Commit

Permalink
Fix required parameters following optional ones for PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylian committed Jun 11, 2022
1 parent f1d1305 commit 8564139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zp_github.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
$plugin_is_filter = 9 | THEME_PLUGIN | ADMIN_PLUGIN;
$plugin_description = gettext('A plugin to read some public info from a user/organization and its repos on GitHub via GitHub REST API v3. Includes the Parsedown libary to convert Markdown formatted text to HTML.');
$plugin_author = 'Malte Müller (acrylian)';
$plugin_version = '2.0';
$plugin_version = '2.0.1';
$option_interface = 'zpgithubOptions';

zp_register_filter('content_macro', 'zpGitHub::zpgithub_macro');
Expand Down Expand Up @@ -345,7 +345,7 @@ function getRepoExtraData($repo, $type) {
* @param bool $showreleasedesc True or false to show the description of each release if releases are listed
* return string
*/
function getReposListHTML($repos, $exclude = '', $showname, $showdesc, $showmeta, $showreleases, $showbranches, $showreleasedesc) {
function getReposListHTML($repos, $exclude = '', $showname = '', $showdesc = '', $showmeta = '', $showreleases = '', $showbranches = '', $showreleasedesc = '') {
if (!is_array($repos)) {
return false;
}
Expand Down

0 comments on commit 8564139

Please sign in to comment.