Skip to content

feat: add middleware to FrankenPhpSymfony #438

feat: add middleware to FrankenPhpSymfony

feat: add middleware to FrankenPhpSymfony #438

Triggered via pull request October 22, 2025 07:52
Status Failure
Total duration 45s
Artifacts

static.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
PHP-CS-Fixer
Process completed with exit code 1.
Psalm
Process completed with exit code 2.
InvalidArrayOffset: src/frankenphp-symfony/src/Runtime.php#L26
src/frankenphp-symfony/src/Runtime.php:26:56: InvalidArrayOffset: Cannot access value on variable $options using offset value of 'frankenphp_middlewares', expecting 'frankenphp_loop_max' (see https://psalm.dev/115)
PHPStan
Process completed with exit code 1.
PHPStan: src/frankenphp-symfony/src/Runtime.php#L26
Offset 'frankenphp…' on array{frankenphp_loop_max: int} on left side of ?? does not exist.
PHP-CS-Fixer: src/frankenphp-symfony/src/Exception/InvalidMiddlewareException.php#L1
Found violation(s) of type: global_namespace_import
PHP-CS-Fixer: src/frankenphp-symfony/src/Exception/InvalidMiddlewareException.php#L1
Found violation(s) of type: visibility_required
PHP-CS-Fixer: src/frankenphp-symfony/src/Middleware/MiddlewareInterface.php#L1
Found violation(s) of type: visibility_required
PHP-CS-Fixer: src/frankenphp-symfony/tests/RunnerTest.php#L1
Found violation(s) of type: yoda_style
PHP-CS-Fixer: src/frankenphp-symfony/tests/RunnerTest.php#L1
Found violation(s) of type: trailing_comma_in_multiline
PHP-CS-Fixer: src/frankenphp-symfony/tests/RunnerTest.php#L1
Found violation(s) of type: concat_space
PHP-CS-Fixer: src/frankenphp-symfony/tests/RunnerTest.php#L1
Found violation(s) of type: class_attributes_separation
PHP-CS-Fixer: src/frankenphp-symfony/tests/RunnerTest.php#L1
Found violation(s) of type: visibility_required
PHP-CS-Fixer: src/frankenphp-symfony/tests/Support/TestMiddleware.php#L1
Found violation(s) of type: visibility_required
PHP-CS-Fixer: src/frankenphp-symfony/tests/Support/InvalidMiddleware.php#L1
Found violation(s) of type: no_blank_lines_after_class_opening