Skip to content

Commit d018296

Browse files
committed
style: apply auto fixes
Update year in copyright notice.
1 parent d7839e1 commit d018296

22 files changed

+27
-27
lines changed

src/php/console/application/Application.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -42,7 +42,7 @@ public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN')
4242
/**
4343
* {@inheritdoc}
4444
*/
45-
protected function getDefaultCommands()
45+
protected function getDefaultCommands(): array
4646
{
4747
parent::getDefaultCommands();
4848

@@ -57,7 +57,7 @@ protected function getDefaultCommands()
5757
*
5858
* @SuppressWarnings(PHPMD.Superglobals)
5959
*/
60-
public function run(InputInterface $input = null, OutputInterface $output = null)
60+
public function run(InputInterface $input = null, OutputInterface $output = null): int
6161
{
6262
if (null === $input) {
6363
// rewrite the input for single command usage

src/php/console/command/Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -26,7 +26,7 @@ class Command extends BaseCommand
2626
*
2727
* @SuppressWarnings(PHPMD.Superglobals)
2828
*/
29-
public function getSynopsis($short = false)
29+
public function getSynopsis($short = false): string
3030
{
3131
$key = $short ? 'short' : 'long';
3232

src/php/console/command/HelpCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -60,12 +60,12 @@ protected function configure()
6060
/**
6161
* {@inheritdoc}
6262
*/
63-
protected function execute(InputInterface $input, OutputInterface $output)
63+
protected function execute(InputInterface $input, OutputInterface $output): int
6464
{
6565
$this->setCommand(
6666
$this->getApplication()->find(LintCommand::COMMAND_NAME)
6767
);
6868

69-
parent::execute($input, $output);
69+
return parent::execute($input, $output);
7070
}
7171
}

src/php/console/command/LintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/php/data/FileReport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/php/data/ValidationProblem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/php/validator/LintValidation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/php/validator/ValidationCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/php/validator/ValidationFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/php/validator/ValidationInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the Sclable Xml Lint Package.
55
*
6-
* @copyright (c) 2020 Sclable Business Solutions GmbH
6+
* @copyright (c) 2022 Sclable Business Solutions GmbH
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

0 commit comments

Comments
 (0)