-
-
Notifications
You must be signed in to change notification settings - Fork 0
WorkingProjectPathResolver
github-actions edited this page Apr 26, 2026
·
1 revision
Provides canonical repository-root paths that are not part of the managed workspace.
- Full name:
\FastForward\DevTools\Path\WorkingProjectPathResolver - This class is marked as final and can't be subclassed
- This class is a Final class
| Constant | Visibility | Type | Value |
|---|---|---|---|
TOOLING_EXCLUDED_DIRECTORIES |
public | list | ['.dev-tools', 'backup', 'cache', 'public', 'resources', 'tmp', 'vendor', '/vendor', '/vendor/', '/vendor', '/vendor/'] |
Returns the current working project directory or a path under it.
public static getProjectPath(string $path = ''): string- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$path |
string | the optional relative segment to append under the project directory |
Returns the project directories that static-analysis and coding-style tooling SHOULD skip.
public static getToolingExcludedDirectories(string $baseDir = ''): list<string>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$baseDir |
string | the optional repository base directory used to materialize absolute paths |
Returns PHP source files that tooling SHOULD inspect without traversing generated directories.
public static getToolingSourcePaths(string $baseDir = ''): list<string>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$baseDir |
string | the optional repository base directory used to materialize absolute paths |