PHP Classes

File: .php_cs

Recommend this page to a friend!
  Classes of Muhammed M   PHP Page Cache Output   .php_cs   Download  
File: .php_cs
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Page Cache Output
Store full page output in cache files
Author: By
Last change:
Date: 7 years ago
Size: 361 bytes
 

Contents

Class file image Download
<?php

$finder
= Symfony\CS\Finder\DefaultFinder::create()
    ->
exclude('vendor')
    ->
exclude('examples/cache')
    ->
exclude('examples/log')
    ->
exclude('tests/tmp')
    ->
exclude('docs')
    ->
in(__DIR__)
;

return
Symfony\CS\Config\Config::create()
    ->
level(Symfony\CS\FixerInterface::PSR2_LEVEL)
    ->
fixers(array('-psr0'))
    ->
finder($finder)
;