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
551 B
PHP
Executable File
25 lines
551 B
PHP
Executable File
<?php declare(strict_types = 1);
|
|
|
|
namespace PHPStan\PhpDocParser;
|
|
|
|
class ParserConfig
|
|
{
|
|
|
|
public bool $useLinesAttributes;
|
|
|
|
public bool $useIndexAttributes;
|
|
|
|
public bool $useCommentsAttributes;
|
|
|
|
/**
|
|
* @param array{lines?: bool, indexes?: bool, comments?: bool} $usedAttributes
|
|
*/
|
|
public function __construct(array $usedAttributes)
|
|
{
|
|
$this->useLinesAttributes = $usedAttributes['lines'] ?? false;
|
|
$this->useIndexAttributes = $usedAttributes['indexes'] ?? false;
|
|
$this->useCommentsAttributes = $usedAttributes['comments'] ?? false;
|
|
}
|
|
|
|
}
|