Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .cs.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'blank_line_between_import_groups' => true,
'braces_position' => [
'allow_single_line_empty_anonymous_classes' => true,
],
'cast_spaces' => ['space' => 'none'],
'class_definition' => [
'space_before_parenthesis' => true,
Expand Down Expand Up @@ -52,7 +55,7 @@
'sort_algorithm' => 'alpha',
'imports_order' => ['class', 'function', 'const'],
],
'phpdoc_add_missing_param_annotation' => ['only_untyped' => false],
'phpdoc_add_missing_param_annotation' => ['only_untyped' => true],
'phpdoc_align' => false,
'phpdoc_no_empty_return' => false,
'phpdoc_no_useless_inheritdoc' => false,
Expand Down
4 changes: 1 addition & 3 deletions Slim/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

namespace Slim;

use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
Expand Down Expand Up @@ -131,7 +129,7 @@ public function group(string $path, callable $handler): RouteGroup
/**
* Set the base path used for routing.
*
* @param string $basePath
* @param string $basePath The url base path
*/
public function setBasePath(string $basePath): self
{
Expand Down
5 changes: 0 additions & 5 deletions tests/Builder/TestContainerDefinition.php

This file was deleted.

3 changes: 0 additions & 3 deletions tests/Builder/TestContainerError.php

This file was deleted.

1 change: 1 addition & 0 deletions tests/Emitter/ResponseEmitterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use function fopen;
use function fwrite;
use function in_array;

use function popen;
use function rewind;
use function str_repeat;
Expand Down
1 change: 1 addition & 0 deletions tests/Mocks/MockStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
use Stringable;

use function clearstatcache;

use function fclose;
use function feof;
use function fopen;
Expand Down
1 change: 1 addition & 0 deletions tests/Mocks/SlowPokeStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Stringable;

use function min;

use function str_repeat;
use function usleep;

Expand Down
1 change: 1 addition & 0 deletions tests/Mocks/SmallChunksStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Stringable;

use function min;

use function str_repeat;

use const SEEK_SET;
Expand Down