Apply Pint formatting to two extension files (#7250)

## 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.
This commit is contained in:
DarkZmaj
2026-10-06 15:17:00 +01:00
committed by GitHub
parent be0509dfb7
commit fcec806acb
2 changed files with 2 additions and 2 deletions
@@ -49,7 +49,7 @@ class InstallExtensionRequest extends AdminApiRequest
}
/**
* @inheritdoc
* {@inheritdoc}
*/
protected function prepareForValidation(): void
{
@@ -59,7 +59,7 @@ class ExtensionPackageLocator
{
$zip = new ZipArchive;
throw_if($zip->open($archive) !== true, InvalidExtensionException::class, "Unable to open archive {$archive}.");
try {
$this->assertArchiveWithinLimits($zip, $archive);
} catch (Throwable $throwable) {