Describe the bug
Because we use the dev-master version of roderik/pwgen-php and that repo now uses PSR 4 and namespace, the PWGen call is not working anymore.
Steps to Reproduce
Run this CLI command: wp ha -f posts.post_content=markov,posts.post_title=random
See error: Fatal error: Uncaught Error: Class 'PWGen' not found in /var/www/html/wp-content/plugins/wp-hammer/includes/generators/generic.php:29
Expected behavior
PWGen runs without error.
Environment information
WP Local Docker with PHP 7.4
Describe the bug Because we use the
dev-master
version ofroderik/pwgen-php
and that repo now uses PSR 4 and namespace, thePWGen
call is not working anymore.Steps to Reproduce
wp ha -f posts.post_content=markov,posts.post_title=random
Fatal error: Uncaught Error: Class 'PWGen' not found in /var/www/html/wp-content/plugins/wp-hammer/includes/generators/generic.php:29
Expected behavior
PWGen
runs without error.Environment information WP Local Docker with PHP 7.4
Additional context