Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
run_phpcs_experiment.php
Go to the documentation of this file.
1 #!/usr/bin/env php
2 <?php
3 die('should not get used, only to experiment with stuff');
4 require_once __DIR__ . '/vendor/autoload.php';
5 
6 // 2.x release
7 //require __DIR__ . '/CodeSniffer.conf';
8 //$GLOBALS['PHP_CODESNIFFER_CONFIG_DATA'] = $phpCodeSnifferConfig;
9 
10 if( !is_link(__DIR__.'/vendor/firegento/FireGento') ){
11  symlink( __DIR__.'/vendor/firegento/phpcs', __DIR__.'/vendor/firegento/FireGento');
12 }
13 
14 #$tempSnifferObject = new PHP_CodeSniffer;
15 #$tempSnifferObject->setTokenListeners( __DIR__.'/vendor/firegento/phpcs');
16 
17 require_once __DIR__ . '/vendor/bin/phpcs';
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60