Skip to content

Commit

Permalink
Merge pull request #183 from KnpLabs/fix/command-deprecation-warning
Browse files Browse the repository at this point in the history
Fix/command deprecation warning
  • Loading branch information
nicolasmure authored Jan 30, 2018
2 parents 41cf7af + d21b1f1 commit 2a3d24e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Command/FilesystemKeysCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$count = count($keys);

$message = $count ? sprintf(
'Bellow %s the <info>%s key%s</info> that where found:',
'Bellow %s the <info>%s key%s</info> that were found:',
$count > 1 ? 'are' : 'is',
$count,
$count > 1 ? 's': ''
Expand Down
5 changes: 5 additions & 0 deletions Resources/config/gaufrette.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<service id="knp_gaufrette.filesystem" class="Gaufrette\Filesystem" abstract="true" public="true">
<argument /><!-- The Adapter -->
</service>

<service id="knp_gaufrette.adapter.in_memory" class="Gaufrette\Adapter\InMemory" abstract="true" public="false">
<argument /><!-- Files -->
</service>
Expand Down Expand Up @@ -51,6 +52,10 @@
<argument /> <!-- map of filesystems -->
</service>
<service id="knp_gaufrette.adapter.dropbox" class="Gaufrette\Adapter\Dropbox" abstract="true" public="false" />

<service id="knp_gaufrette.command.filesystem_keys" class="Knp\Bundle\GaufretteBundle\Command\FilesystemKeysCommand">
<tag name="console.command" command="gaufrette:filesystem:keys" />
</service>
</services>

</container>

0 comments on commit 2a3d24e

Please sign in to comment.