PHP Classes

File: .php_cs

Recommend this page to a friend!
  Classes of Johnny Mast  >  PHP Morse Code  >  .php_cs  >  Download  
File: .php_cs
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Morse Code
Encode or decode your Morse code messages
Author: By
Last change:
Date: 2 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);

For more information send a message to info at phpclasses dot org.