Skip to content

Commit 12be1a0

Browse files
authored
Scrutinizer fixes (#56)
* Scrutinizer fixes * Added badge
1 parent a2706f0 commit 12be1a0

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

Command/DeleteObsoleteCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
3737
$container = $this->getContainer();
3838
$configName = $input->getArgument('configuration');
3939
$locales = [];
40-
if (null !== $inputLocale = $input->getArgument('locale', null)) {
40+
if (null !== $inputLocale = $input->getArgument('locale')) {
4141
$locales = [$inputLocale];
4242
}
4343

Command/ExtractCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
6565
*/
6666
private function getConfiguredFinder(Configuration $config)
6767
{
68-
// 'dirs', 'excluded_dirs', 'excluded_names'
69-
7068
$finder = new Finder();
7169
$finder->in($config->getDirs());
7270

Readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Build Status](https://img.shields.io/travis/php-translation/symfony-bundle.svg?style=flat-square)](https://travis-ci.org/php-translation/symfony-bundle)
55
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/php-translation/symfony-bundle.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-translation/symfony-bundle)
66
[![Quality Score](https://img.shields.io/scrutinizer/g/php-translation/symfony-bundle.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-translation/symfony-bundle)
7+
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/c289ebe2-41c4-429f-afba-de2f905b9bdb/mini.png)](https://insight.sensiolabs.com/projects/c289ebe2-41c4-429f-afba-de2f905b9bdb)
78
[![Total Downloads](https://img.shields.io/packagist/dt/php-translation/symfony-bundle.svg?style=flat-square)](https://packagist.org/packages/php-translation/symfony-bundle)
89

910
**Symfony integration for PHP Translation**

Service/StorageService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public function addLocalStorage(Storage $localStorage)
277277
}
278278

279279
/**
280-
* @param Storage $remoteStorages
280+
* @param Storage $remoteStorage
281281
*
282282
* @return StorageService
283283
*/

0 commit comments

Comments
 (0)