dokuwiki / dokuwiki/dokuwiki-plugin-dev
PHP Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated
- Dominant language
- PHP
- Stars
- 8
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
```
..../dokuwiki/lib/plugins/indexmenu$ ../../../bin/plugin.php dev addTest
PHP Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /home/gerrit/Sites/dokuwiki/dokuwiki/lib/plugins/dev/Skeletor.php on line 165
✓ .github/workflows/dokuwiki.yml created
✓ _test/GeneralTest.php created
```
https://github.com/dokuwiki/dokuwiki-plugin-dev/blob/7c3b7a0e25254af08f144f6b20513771098b9f15/cli.php#L90-L92
https://github.com/dokuwiki/dokuwiki-plugin-dev/blob/7c3b7a0e25254af08f144f6b20513771098b9f15/cli.php#L286-L289
https://github.com/dokuwiki/dokuwiki-plugin-dev/blob/7c3b7a0e25254af08f144f6b20513771098b9f15/Skeletor.php#L165
Probably the $this->args array which is used in cli.php is empty, and therefore resulting in a null. An option is casting to string?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.