![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/syn.corals.io/vendor/justinrainbow/json-schema/ |
<?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, 'increment_style' => false, 'simplified_null_return' => false, 'trailing_comma_in_multiline_array' => false, 'yoda_style' => false, 'phpdoc_types_order' => array('null_adjustment' => 'none', 'sort_algorithm' => 'none'), 'no_superfluous_phpdoc_tags' => false, )) ->setFinder($finder) ; return $config;