Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Exclude arguments are being handled as prefixes #187

Closed
nkop opened this issue Aug 18, 2020 · 0 comments
Closed

Exclude arguments are being handled as prefixes #187

nkop opened this issue Aug 18, 2020 · 0 comments
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@nkop
Copy link

nkop commented Aug 18, 2020

In version 6.0.1 exclude arguments are being handles as prefixes while getting the files.

The following call is made in Application.php::55:
$files = (new Facade)->getFilesAsArray( $arguments->directories(), $arguments->suffixes(), $arguments->exclude() );

While Facade::getFilesAsArray() expects the following parameters:
public function getFilesAsArray($paths, $suffixes = '', $prefixes = '', array $exclude = [], bool $commonPath = false): array

@sebastianbergmann sebastianbergmann added the bug Indicates an unexpected problem or unintended behavior label Aug 18, 2020
@sebastianbergmann sebastianbergmann self-assigned this Aug 18, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants