Skip to content

Fix phpcs errors#685

Merged
n0nag0n merged 12 commits intomasterfrom
fix-phpcs-errors
Mar 18, 2026
Merged

Fix phpcs errors#685
n0nag0n merged 12 commits intomasterfrom
fix-phpcs-errors

Conversation

@fadrian06
Copy link
Contributor

@fadrian06 fadrian06 commented Mar 17, 2026

This pull request primarily updates development dependencies and improves code style consistency by reformatting code and updating configuration files. The changes also include minor improvements to test code readability and structure. No production logic is affected.

Dependency and configuration updates:

  • Updated composer.json to require newer versions of flightphp/container (now ^1.3) and squizlabs/php_codesniffer (now ^4.0).
  • Overhauled phpcs.xml.dist to use new reporting options, simplify ruleset structure, and improve formatting for coding standard enforcement.

Code style and formatting improvements:

  • Refactored conditional expressions throughout the codebase (e.g., in Dispatcher.php, RouteCommand.php, and Request.php) to use single-line format, improving readability and consistency. [1] [2] [3] [4]

Test code improvements:

@fadrian06 fadrian06 marked this pull request as ready for review March 17, 2026 03:09
@n0nag0n n0nag0n merged commit 3941d44 into master Mar 18, 2026
7 checks passed
@n0nag0n n0nag0n deleted the fix-phpcs-errors branch March 18, 2026 13:09
@n0nag0n
Copy link
Collaborator

n0nag0n commented Mar 18, 2026

Lots of whitespace adjustments, should be a fun time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants