PHP code example of php-stubs / wordpress-tests-stubs

1. Go to this page and download the library: Download php-stubs/wordpress-tests-stubs 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/ */

    

php-stubs / wordpress-tests-stubs example snippets

bash
composer 
yaml
parameters:
    scanFiles:
        - %rootDir%/../../php-stubs/wordpress-stubs/wordpress-stubs.php
        - %rootDir%/../../php-stubs/wordpress-tests-stubs/wordpress-tests-stubs.php