Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Oct 29, 2023
1 parent fc784d0 commit 7206186
Show file tree
Hide file tree
Showing 20 changed files with 428 additions and 1,491 deletions.
3 changes: 3 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@

$config->addRules([
'php_unit_internal_class' => false,

'phpdoc_no_empty_return' => false,
'void_return' => false,
]);

$config->setFinder($finder);
Expand Down
15 changes: 0 additions & 15 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,8 @@
<directory name="stubs"/>

<ignoreFiles>
<directory name="src/Input/Compatibility"/>
<directory name="src/Output/Compatibility"/>
<file name="src/Input/DecoratesInput.php"/>
<file name="src/Output/DecoratesLogger.php"/>
<file name="src/Output/DecoratesOutput.php"/>
<file name="src/Output/DecoratesStyledOutput.php"/>
<file name="src/Output/StyledOutput.php"/>
<directory name="vendor"/>
<directory name="tests/Integration/var"/>
<file name="tests/Internal/Type/ConfigurableType.php"/>
Expand Down Expand Up @@ -61,16 +56,6 @@
<directory name="tests"/>
</errorLevel>
</MissingConstructor>

<MissingReturnType>
<errorLevel type="suppress">
<!-- Can be removed once 7.4 & Symfony 5.4 support is dropped. -->
<file name="stubs/DecoratesInput.php"/>
<file name="stubs/DecoratesOutput.php"/>
<file name="stubs/DecoratesStyledOutput.php"/>
<file name="stubs/StyledOutput.php"/>
</errorLevel>
</MissingReturnType>

<MoreSpecificImplementedParamType>
<errorLevel type="suppress">
Expand Down
10 changes: 5 additions & 5 deletions src/IO.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@
* @method getFirstArgument(): ?string
* @method hasParameterOption(string|array $values, bool $onlyParams = false): bool
* @method getParameterOption(string|array $values, string|bool|int|float|array|null $default = false, bool $onlyParams = false): mixed
* @method bind(InputDefinition $definition)
* @method bind(InputDefinition $definition): void
* @method validate(): void
* @method getArguments(): array
* @method setArgument(string $name, mixed $value)
* @method getArguments(): array<string|bool|int|float|array|null>
* @method setArgument(string $name, mixed $value): void
* @method hasArgument(string $name): bool
* @method getOptions(): array
* @method setOption(string $name, mixed $value)
* @method getOptions(): array<string|bool|int|float|array|null>
* @method setOption(string $name, mixed $value): void
* @method getOption(string $name): mixed
* @method hasOption(string $name, bool $onlyRealParams = false): bool
* @method isInteractive(): bool
Expand Down
115 changes: 0 additions & 115 deletions src/Input/Compatibility/DecoratesInputSymfony5.php

This file was deleted.

115 changes: 0 additions & 115 deletions src/Input/Compatibility/DecoratesInputSymfony6.php

This file was deleted.

Loading

0 comments on commit 7206186

Please sign in to comment.