Skip to content

Potential PEAR installation related code block found #1101

Open
@rodrigoprimo

Description

@rodrigoprimo

I found a code block that I believe is related to the now unsupported PEAR installation (#4) that can be removed:

PHP_CodeSniffer/src/Config.php

Lines 1707 to 1711 in 038b4a1

if (is_file($configFile) === false
&& strpos('@data_dir@', '@data_dir') === false
) {
$configFile = '@data_dir@/PHP_CodeSniffer/CodeSniffer.conf';
}

A similar code block was removed in #4:

https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/4/files#diff-9727fe62ad60c6637a7def31b06f908a39f99f118a78280469d7a62eb67a9d68L1584-L1590

Opening this issue first for confirmation before creating a PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions