PHP code example of smile / magento2-smilelab-phpcs

1. Go to this page and download the library: Download smile/magento2-smilelab-phpcs 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/ */

    

smile / magento2-smilelab-phpcs example snippets


/**
 * @inheritdoc
 */
public function execute(InputInterface $input, OutputInterface $output): int
{
    // ...
}
xml
<config name="php_version" value="70400"/>