Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php declare(strict_types=1); namespace Psalm\Internal\LanguageServer; use LanguageSer..

Decoded Output download

<?php

declare(strict_types=1);

namespace Psalm\Internal\LanguageServer;

use LanguageServerProtocol\MessageType;

/**
 * @internal
 */
final class ClientConfiguration
{

    /**
     * Location of Baseline file
     */
    public ?string $baseline = null;

    /**
     * TCP Server Address
     */
    public ?string $TCPServerAddress = null;

    /**
     * Use TCP in server mode (default is client)
     */
    public ?bool $TCPServerMode = null;

    /**
     * Hide Warnings or not
     */
    public ?bool $hideWarnings = null;

    /**
     * Provide Completion or not
     */
    public ?bool $provideCompletion = null;

    /**
     * Provide GoTo Definitions or not
     */
    public ?bool $provideDefinition = null;

    /**
     * Provide Hover Requests or not
     */
    public ?bool $provideHover = null;

    /**
     * Provide Signature Help or not
     */
    public ?bool $provideSignatureHelp = null;

    /**
     * Provide Code Actions or not
     */
    public ?bool $provideCodeActions = null;

    /**
     * Provide Diagnostics or not
     */
    public ?bool $provideDiagnostics = null;

    /**
     * Provide Completion or not
     *
     * @psalm-suppress PossiblyUnusedProperty
     */
    public ?bool $findUnusedVariables = null;

    /**
     * Look for dead code
     *
     * @var 'always'|'auto'|null
     */
    public ?string $findUnusedCode = null;

    /**
     * Log Level
     *
     * @see MessageType
     */
    public ?int $logLevel = null;

    /**
     * If added, the language server will not respond to onChange events.
     * You can also specify a line count over which Psalm will not run on-change events.
     */
    public ?int $onchangeLineLimit = null;

    /**
     * Debounce time in milliseconds for onChange events
     */
    public ?int $onChangeDebounceMs = null;

    /**
     * Undocumented function
     *
     * @param 'always'|'auto'|null $findUnusedCode
     */
    public function __construct(
        bool $hideWarnings = true,
        ?bool $provideCompletion = null,
        ?bool $provideDefinition = null,
        ?bool $provideHover = null,
        ?bool $provideSignatureHelp = null,
        ?bool $provideCodeActions = null,
        ?bool $provideDiagnostics = null,
        ?bool $findUnusedVariables = null,
        ?string $findUnusedCode = null,
        ?int $logLevel = null,
        ?int $onchangeLineLimit = null,
        ?string $baseline = null
    ) {
        $this->hideWarnings = $hideWarnings;
        $this->provideCompletion = $provideCompletion;
        $this->provideDefinition = $provideDefinition;
        $this->provideHover = $provideHover;
        $this->provideSignatureHelp = $provideSignatureHelp;
        $this->provideCodeActions = $provideCodeActions;
        $this->provideDiagnostics = $provideDiagnostics;
        $this->findUnusedVariables = $findUnusedVariables;
        $this->findUnusedCode = $findUnusedCode;
        $this->logLevel = $logLevel;
        $this->onchangeLineLimit = $onchangeLineLimit;
        $this->baseline = $baseline;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace Psalm\Internal\LanguageServer;

use LanguageServerProtocol\MessageType;

/**
 * @internal
 */
final class ClientConfiguration
{

    /**
     * Location of Baseline file
     */
    public ?string $baseline = null;

    /**
     * TCP Server Address
     */
    public ?string $TCPServerAddress = null;

    /**
     * Use TCP in server mode (default is client)
     */
    public ?bool $TCPServerMode = null;

    /**
     * Hide Warnings or not
     */
    public ?bool $hideWarnings = null;

    /**
     * Provide Completion or not
     */
    public ?bool $provideCompletion = null;

    /**
     * Provide GoTo Definitions or not
     */
    public ?bool $provideDefinition = null;

    /**
     * Provide Hover Requests or not
     */
    public ?bool $provideHover = null;

    /**
     * Provide Signature Help or not
     */
    public ?bool $provideSignatureHelp = null;

    /**
     * Provide Code Actions or not
     */
    public ?bool $provideCodeActions = null;

    /**
     * Provide Diagnostics or not
     */
    public ?bool $provideDiagnostics = null;

    /**
     * Provide Completion or not
     *
     * @psalm-suppress PossiblyUnusedProperty
     */
    public ?bool $findUnusedVariables = null;

    /**
     * Look for dead code
     *
     * @var 'always'|'auto'|null
     */
    public ?string $findUnusedCode = null;

    /**
     * Log Level
     *
     * @see MessageType
     */
    public ?int $logLevel = null;

    /**
     * If added, the language server will not respond to onChange events.
     * You can also specify a line count over which Psalm will not run on-change events.
     */
    public ?int $onchangeLineLimit = null;

    /**
     * Debounce time in milliseconds for onChange events
     */
    public ?int $onChangeDebounceMs = null;

    /**
     * Undocumented function
     *
     * @param 'always'|'auto'|null $findUnusedCode
     */
    public function __construct(
        bool $hideWarnings = true,
        ?bool $provideCompletion = null,
        ?bool $provideDefinition = null,
        ?bool $provideHover = null,
        ?bool $provideSignatureHelp = null,
        ?bool $provideCodeActions = null,
        ?bool $provideDiagnostics = null,
        ?bool $findUnusedVariables = null,
        ?string $findUnusedCode = null,
        ?int $logLevel = null,
        ?int $onchangeLineLimit = null,
        ?string $baseline = null
    ) {
        $this->hideWarnings = $hideWarnings;
        $this->provideCompletion = $provideCompletion;
        $this->provideDefinition = $provideDefinition;
        $this->provideHover = $provideHover;
        $this->provideSignatureHelp = $provideSignatureHelp;
        $this->provideCodeActions = $provideCodeActions;
        $this->provideDiagnostics = $provideDiagnostics;
        $this->findUnusedVariables = $findUnusedVariables;
        $this->findUnusedCode = $findUnusedCode;
        $this->logLevel = $logLevel;
        $this->onchangeLineLimit = $onchangeLineLimit;
        $this->baseline = $baseline;
    }
}

Function Calls

None

Variables

None

Stats

MD5 d4a14e6c98ca27a7d25d16561321bc11
Eval Count 0
Decode Time 85 ms