Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
605 B
PHP
Executable File
25 lines
605 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->in(__DIR__);
|
|
|
|
$config = new PhpCsFixer\Config();
|
|
return $config->setRules(
|
|
[
|
|
'@PER-CS2.0' => true,
|
|
'@PHP74Migration' => true,
|
|
'single_quote' => true,
|
|
'no_unused_imports' => true,
|
|
'no_superfluous_phpdoc_tags' => [
|
|
'allow_hidden_params' => true,
|
|
'allow_mixed' => true,
|
|
'remove_inheritdoc' => true,
|
|
],
|
|
'phpdoc_trim' => true,
|
|
]
|
|
)
|
|
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
|
|
->setFinder($finder);
|