![]() 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/old/vendor/dvdoug/boxpacker/ |
<?php /** * Box packing (3D bin packing, knapsack problem). * * @author Doug Wright */ declare(strict_types=1); $config = new PhpCsFixer\Config(); return $config->setRules( [ '@Symfony' => true, '@Symfony:risky' => true, '@PHP71Migration' => true, '@PHP71Migration:risky' => true, '@PHP73Migration' => true, 'concat_space' => ['spacing' => 'one'], 'fopen_flags' => ['b_mode' => true], 'native_function_invocation' => ['include' => ['@all']], 'global_namespace_import' => ['import_classes' => true, 'import_constants' => true, 'import_functions' => true], 'phpdoc_separation' => false, 'yoda_style' => false, 'phpdoc_trim_consecutive_blank_line_separation' => true, 'no_superfluous_phpdoc_tags' => ['allow_mixed' => false], 'header_comment' => [ 'location' => 'after_open', 'comment_type' => 'PHPDoc', 'separate' => 'none', 'header' => "Box packing (3D bin packing, knapsack problem).\n\n@author Doug Wright", ], 'phpdoc_line_span' => true, 'phpdoc_to_comment' => false, 'ordered_imports' => ['imports_order' => ['class', 'function', 'const'], 'sort_algorithm' => 'none'], ] ) ->setRiskyAllowed(true) ->setFinder( PhpCsFixer\Finder::create() ->in(__DIR__ . '/features') ->in(__DIR__ . '/src') ->in(__DIR__ . '/tests') ->append([__FILE__]) );