PHP code example of spryker / architecture-sniffer
1. Go to this page and download the library: Download spryker/architecture-sniffer 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/ */
spryker / architecture-sniffer example snippets
protected const RULE = 'Every Foo needs Bar.';
/**
* @return string
*/
public function getDescription(): string
{
return static::RULE;
}
php composer.phar install
php phpunit.phar
php composer.phar cs-check
php composer.phar cs-fix