mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 11:25:52 -05:00
## Problem
`vendor/bin/pint --test` fails on the current 2.0 development branch,
which fails the Tests workflow for every pull request.
## Reproduction
Run `vendor/bin/pint --test --parallel --cache-file=.pint.cache app
bootstrap/app.php bootstrap/tests.php config database routes tests` on a
clean checkout. It reports two files:
`app/Http/Requests/Api/Admin/Extensions/InstallExtensionRequest.php` and
`app/Services/Extensions/ExtensionPackageLocator.php`.
## Root cause
Two recent changes were merged without running Pint. One docblock uses
`@inheritdoc` where the project style wants `{@inheritdoc}`, and one
blank line contains trailing whitespace.
## Fix
Run Pint on exactly those two files. The change is one docblock line and
one whitespace only line.
## Testing
`vendor/bin/pint --test` on the same paths passes afterwards. No
behaviour changes.
## Compatibility considerations
None. Formatting only.