Sha256: ea0e890a202a1e437346c167d6d6689de915214c99a96fe9d7f50618a27245e0

Contents?: true

Size: 962 Bytes

Versions: 24

Compression:

Stored size: 962 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
        'align_multiline_comment' => array('comment_type' => 'phpdocs_like'),
        'array_syntax' => array('syntax' => 'long'),
        'binary_operator_spaces' => false,
        'concat_space' => array('spacing' => 'one'),
        'increment_style' => false,
        '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,
        'yoda_style' => null,
    ))
    ->setFinder($finder)
;

return $config;

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
dependabot-composer-0.106.12 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.106.11 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.106.5 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.100.2 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.98.36 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.98.19 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.98.13 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.98.11 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.98.10 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.98.7 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.98.6 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.98.1 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.95.70 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.95.63 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.95.60 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.95.52 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.95.50 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.95.47 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.95.42 helpers/vendor/justinrainbow/json-schema/.php_cs.dist
dependabot-composer-0.95.40 helpers/vendor/justinrainbow/json-schema/.php_cs.dist