PHP code example of unfunco / phpspec-sort-use-statements
1. Go to this page and download the library: Download unfunco/phpspec-sort-use-statements library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
unfunco / phpspec-sort-use-statements example snippets
namespace %namespace%;
%use%
final class %name% extends ObjectBehavior
{
function it_is_initializable()
{
$this->shouldHaveType(%subject_class%::class);
}
}