PHP Classes

File: .php-cs-fixer.php

Recommend this page to a friend!
  Packages of WsdlToPhp   PHP Code Generator   .php-cs-fixer.php   Download  
File: .php-cs-fixer.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Code Generator
Generate PHP code elements programatically
Author: By
Last change: Refactor docker container to be able to run any PHP version from 7.4 (#14)

Thanks AI for 😄:
- update Dockerfile
- update docker-compose
- create Makefile

Update code with:
- CS Fixer
- Rector

#Refactor docker container to be able to run any PHP version from 7.4
Date: 5 months ago
Size: 349 bytes
 

 

Contents

Class file image Download
<?php

$finder = PhpCsFixer\Finder::create()
    ->exclude('vendor')
    ->exclude('tests/resources')
    ->in(__DIR__);

return (new PhpCsFixer\Config())
    ->setUsingCache(false)
    ->setRules(array(
        '@PhpCsFixer' => true,
        'phpdoc_separation' => false,
        'single_line_empty_body' => false,
    ))
    ->setFinder($finder);