wp-cli / scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
MIT License
166 stars 86 forks source link

Scaffolded PHPUnit is not compatible with PHP 7.2+ #144

Open schlessera opened 6 years ago

schlessera commented 6 years ago

The scaffolded PHPUnit tests are not compatible with PHP 7.2+. This currently breaks our tests: https://travis-ci.org/wp-cli/scaffold-command/jobs/368878591#L616

There's no PHPUnit that officially supports PHP 7.2 any anything below PHP7.0 at the same time: https://phpunit.de/

Related: https://www.drupal.org/project/drupal/issues/2927806

ernilambar commented 4 months ago

Now at 2024, we already have made minimum PHP requirement to 7.2. This issue has become now a non-issue I guess. Ref - https://core.trac.wordpress.org/ticket/58719