Sha256: 3bcfd4304afcd2c8d9c58667f83422d2f26744ec1ea289b58980f5bdc73cec16

Contents?: true

Size: 818 Bytes

Versions: 17

Compression:

Stored size: 818 Bytes

Contents

<?php

$finder = new PhpCsFixer\Finder();
$config = new PhpCsFixer\Config('json-schema');
$finder->in(__DIR__);

/* Based on ^2.1 of php-cs-fixer */
$config
    ->setRules(array(
        // default
        '@PSR2' => true,
        '@Symfony' => true,
        // additionally
        'array_syntax' => array('syntax' => 'long'),
        'binary_operator_spaces' => false,
        'concat_space' => array('spacing' => 'one'),
        'no_useless_else' => true,
        'no_useless_return' => true,
        'ordered_imports' => true,
        'phpdoc_no_package' => false,
        'phpdoc_order' => true,
        'phpdoc_summary' => false,
        'pre_increment' => false,
        'simplified_null_return' => false,
        'trailing_comma_in_multiline_array' => false,
    ))
    ->setFinder($finder)
;

return $config;

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dependabot-composer-0.113.19 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.112.1 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.111.57 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.111.56 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.111.52 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.111.50 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.111.25 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.111.17 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.111.15 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.110.13 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.108.11 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.108.8 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.107.47 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.107.39 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.107.36 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.107.28 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.107.14 helpers/vendor/justinrainbow/json-schema/.php_cs.dist