WorkingProjectPathResolver
Provides canonical repository-root paths that are not part of the managed workspace.
Methods
Returns the current working project directory or a path under it.
Returns the project directories that static-analysis and coding-style tooling SHOULD skip.
Returns PHP source files that tooling SHOULD inspect without traversing generated directories.
Returns the current working project directory or a path under it.
public
static
getProjectPath([
string
$path = '']) : string
Parameters
$path
:
string
=
''
Description
the optional relative segment to append under the project directory
Return values
Returns the project directories that static-analysis and coding-style tooling SHOULD skip.
public
static
getToolingExcludedDirectories([
string
$baseDir = '']) : array<int, string>
Parameters
$baseDir
:
string
=
''
Description
the optional repository base directory used to materialize absolute paths
Return values
Returns PHP source files that tooling SHOULD inspect without traversing generated directories.
public
static
getToolingSourcePaths([
string
$baseDir = '']) : array<int, string>
Parameters
$baseDir
:
string
=
''
Description
the optional repository base directory used to materialize absolute paths