sourcerer-mike/phpspec-wordpress

WordPress PHPSpec extension

dev-master 2015-06-27 18:09 UTC

This package is not auto-updated.

Last update: 2024-12-21 18:40:21 UTC


README

composer require --dev sourcerer-mike/phpspec-wordpress:dev-master

Example

./bin/phpspec describe:wp Widgets\\The_Banana
./bin/phpspec run

Will result in a file called "includes/widgets/class-the-banana.php":

<?php

namespace Widgets;

class The_Banana {

}