We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b17f1b3 commit 7e076f9Copy full SHA for 7e076f9
src/Commands/UnusedCommand.php
@@ -12,6 +12,7 @@
12
class UnusedCommand extends Command
13
{
14
public $signature = 'translation:unused
15
+ {paths?* : This not used by this command but adds support for lint-staged. }
16
{--b|generate-baseline : Generate a baseline file from the unused keys.}';
17
18
public $description = 'Finds unused language keys.';
tests/Commands/UnusedCommandTest.php
@@ -23,7 +23,7 @@
23
config()->set('translation-linter.unused.filters', []);
24
25
withoutMockingConsoleOutput();
26
- expect(artisan('translation:unused'))
+ expect(artisan('translation:unused "/this/argument/is/ignored" "/and/so/is/this"'))
27
->toBe(1)
28
->and(Artisan::output())
29
->toMatchSnapshot();
0 commit comments