PHP Classes

File: .php_cs

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   Maniruzzaman WordPress Frontend Editor   .php_cs   Download  
File: .php_cs
Role: Example script
Content type: text/plain
Description: Example script
Class: Maniruzzaman WordPress Frontend Editor
WordPress plugin for visual front-end development
Author: By
Last change:
Date: 8 months ago
Size: 641 bytes
 

Contents

Class file image Download
<?php

require_once __DIR__ . '/vendor/tareq1988/wp-php-cs-fixer/loader.php';

$finder = PhpCsFixer\Finder::create()
    ->
exclude( 'node_modules' )
    ->
exclude( 'vendors' )
    ->
exclude( 'assets' )
    ->
exclude( 'languages' )
    ->
exclude( 'src' )
    ->
exclude( 'bin' )
    ->
in( __DIR__ );

$config = PhpCsFixer\Config::create()
    ->
registerCustomFixers( [
        new
WeDevs\Fixer\SpaceInsideParenthesisFixer(),
        new
WeDevs\Fixer\BlankLineAfterClassOpeningFixer(),
    ] )
    ->
setRiskyAllowed( true )
    ->
setUsingCache( false )
    ->
setRules( WeDevs\Fixer\Fixer::rules() )
    ->
setFinder( $finder );

return
$config;