PHP Classes

File: .php_cs

Recommend this page to a friend!
  Classes of Igor Rybalka   PHP Voice Recognition Inputs   .php_cs   Download  
File: .php_cs
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Voice Recognition Inputs
Generate form inputs to allow user voice control
Author: By
Last change:
Date: 4 years ago
Size: 681 bytes
 

Contents

Class file image Download
<?php
$excluded_folders
= [
   
'node_modules',
   
'storage',
   
'vendor'
];
$finder = PhpCsFixer\Finder::create()
    ->
exclude($excluded_folders)
    ->
notName('AcceptanceTester.php')
    ->
notName('FunctionalTester.php')
    ->
notName('UnitTester.php')
    ->
in(__DIR__);
;
return
PhpCsFixer\Config::create()
    ->
setRules(array(
       
'@Symfony' => true,
       
'binary_operator_spaces' => ['align_double_arrow' => true],
       
'array_syntax' => ['syntax' => 'short'],
       
'linebreak_after_opening_tag' => true,
       
'not_operator_with_successor_space' => true,
       
'ordered_imports' => true,
       
'phpdoc_order' => true,
    ))
    ->
setFinder($finder);