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>
23 lines
499 B
PHP
Executable File
23 lines
499 B
PHP
Executable File
<?php
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->in(__DIR__ . '/tests')
|
|
->exclude('__snapshots__');
|
|
|
|
$config = require __DIR__ . '/.php-cs-fixer.common.php';
|
|
|
|
// Additional rules for tests
|
|
$config = array_merge(
|
|
$config,
|
|
[
|
|
'declare_strict_types' => true,
|
|
]
|
|
);
|
|
|
|
return (new PhpCsFixer\Config())
|
|
->setFinder($finder)
|
|
->setRules($config)
|
|
->setRiskyAllowed(true)
|
|
->setCacheFile(__DIR__ . '/.php-cs-fixer.tests.cache');
|