Skip to content

style: apply pint - #2

Merged
imanimanyara merged 1 commit into
mainfrom
style-pint
Sep 1, 2026
Merged

imanimanyara merged 1 commit into
mainfrom
style-pint

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

Formatting only, no behavioural change. These violations accumulated on main because CI triggers on pull_request, so nothing re-runs Pint after a merge — they surfaced as red checks on unrelated dependency PRs.

Formatting only, no behavioural change. These violations accumulated on main
because CI triggers on pull_request, so nothing re-runs Pint after a merge - they
surfaced as red checks on unrelated dependency PRs.
Copilot AI lite review requested due to automatic review settings September 1, 2026 14:49
@imanimanyara
imanimanyara merged commit 68d69c5 into main Sep 1, 2026
@imanimanyara
imanimanyara deleted the style-pint branch September 1, 2026 14:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR applies Pint formatting across the IpIntel package and its tests to eliminate accumulated style violations and prevent unrelated PRs from surfacing red formatting checks.

Changes:

  • Reorders use imports and normalizes whitespace/alignment in PHP files and tests.
  • Normalizes string concatenation spacing (e.g., '.' concatenations and docblock spacing) without altering semantics.
  • Applies consistent array key alignment/spacing in config and DTO toArray() methods.

Reviewed changes

Copilot reviewed 15 out of 24 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/Feature/ResolverChainTest.php Import ordering and concatenation spacing in a request header key.
tests/Feature/ApiTest.php Minor concatenation whitespace change in a test request URL.
src/Support/IpIntelConfig.php Docblock spacing and config-key concatenation formatting.
src/Services/ResolverChain.php Import ordering and docblock spacing normalization.
src/Services/IpIntelManager.php Import ordering, docblock spacing, and concatenation whitespace in cache key / exception message.
src/Rules/ValidIp.php Import ordering only.
src/Providers/IpIntelServiceProvider.php Import ordering and concatenation whitespace in route prefix building.
src/Http/Requests/LookupRequest.php Array alignment/spacing in validation rules.
src/Http/Controllers/LookupController.php Import ordering and match-arm spacing/alignment.
src/Facades/IpIntel.php Import ordering only.
src/Exceptions/SourceUnavailable.php Concatenation whitespace in an exception message template.
src/Enums/Outcome.php Match-arm spacing/alignment only.
src/Data/ThreatSignals.php Array formatting in toArray().
src/Data/PlaceInfo.php Array formatting in toArray().
src/Data/IpIntelResult.php Import ordering, docblock spacing, and array formatting in toArray().
src/Data/AsnInfo.php Concatenation whitespace in label() and array formatting in toArray().
src/Contracts/ResolvesCity.php Import ordering only.
src/Contracts/ResolvesAsn.php Import ordering only.
src/Contracts/DetectsThreats.php Import ordering only.
src/Adapters/Local/AtlasDriver.php Import ordering only.
src/Adapters/IpApi/IpApiDriver.php Import ordering and concatenation/array formatting within request/memoization/log contexts.
src/Adapters/EdgeHeader/EdgeHeaderDriver.php Docblock spacing normalization.
rector.php Concatenation whitespace in configured paths.
config/ip-intel.php Array alignment/spacing normalization.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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