PHP Classes

File: .php_cs.dist

Recommend this page to a friend!
  Classes of Josantonius   WP_Image   .php_cs.dist   Download  
File: .php_cs.dist
Role: Example script
Content type: text/plain
Description: Example script
Class: WP_Image
Store given images in a WordPress installation
Author: By
Last change:
Date: 6 years ago
Size: 308 bytes
 

Contents

Class file image Download
<?php
return PhpCsFixer\Config::create()
    ->
setRules([
       
'@WordPress' => true,
       
'concat_space' => ['spacing' => 'one'],
       
'no_unused_imports' => true,
       
'method_argument_space' => false,
    ])
    ->
setFinder(
       
PhpCsFixer\Finder::create()
            ->
in(__DIR__)
    )
;