PHP Classes

File: .php-cs-fixer.dist.php

Recommend this page to a friend!
  Classes of Eric Sizemore   Simple PHP Visitor Counter   .php-cs-fixer.dist.php   Download  
File: .php-cs-fixer.dist.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Simple PHP Visitor Counter
Count and display the visits that site pages had
Author: By
Last change:
Date: 8 months ago
Size: 387 bytes
 

Contents

Class file image Download
<?php

$config
= new PhpCsFixer\Config();

$config
   
->setRules([
       
'@PER-CS' => true,
       
'@PSR2' => true,
       
'@PSR12' => true,
       
'@PHP83Migration' => true,
       
'array_syntax' => ['syntax' => 'short'],
    ])
    ->
setFinder(
       
PhpCsFixer\Finder::create()
            ->
in(__DIR__ . '/src')
            ->
in(__DIR__ . '/tests')
    )
;

return
$config;