Skip to content

style: apply pint - #17

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:52
@imanimanyara
imanimanyara merged commit b49a630 into main Sep 1, 2026
@imanimanyara
imanimanyara deleted the style-pint branch September 1, 2026 14:54

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

Applies Pint-driven formatting across the repository to eliminate accumulated style violations on main, reducing noisy CI failures on unrelated pull requests while keeping behavior unchanged.

Changes:

  • Normalizes code style in src/ and tests/ (import ordering, docblock alignment, array formatting, concatenation spacing, and minor syntactic style like new Foo vs new Foo() where applicable).
  • Updates test fixtures to match the same formatting conventions (including declare(strict_types=1); layout).
  • Formats Rector config and package config files to match Pint’s output.

Reviewed changes

Copilot reviewed 219 out of 290 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/WildcardExpanderTest.php Pint formatting cleanup in tests
tests/ValidationServiceProviderTest.php Pint formatting cleanup in tests
tests/Testing/PestExpectationsTest.php Pint formatting cleanup in tests
tests/Testing/FluentRulesTesterLivewireTest.php Pint formatting cleanup in tests
tests/Testing/FluentRulesTesterClassTargetsTest.php Pint formatting cleanup in tests
tests/TestCase.php Pint formatting cleanup in tests
tests/Support/ThrowsOnEveryCacheCall.php Pint formatting cleanup in tests
tests/StringRuleTest.php Pint formatting cleanup in tests
tests/RuleSetWithBagTest.php Pint formatting cleanup in tests
tests/RuleSetModifyEachTest.php Pint formatting cleanup in tests
tests/RuleSetEventsTest.php Pint formatting cleanup in tests
tests/Rules/Text/WordsAndSalutationTest.php Pint formatting cleanup in tests
tests/Rules/Text/TextRulesTest.php Pint formatting cleanup in tests
tests/Rules/Text/ReservedUsernameListTest.php Pint formatting cleanup in tests
tests/Rules/Structure/DelimitedTest.php Pint formatting cleanup in tests
tests/Rules/Profanity/NoProfanityTest.php Pint formatting cleanup in tests
tests/Rules/Profanity/InlineTermListTest.php Pint formatting cleanup in tests
tests/Rules/Payment/PaymentRulesTest.php Pint formatting cleanup in tests
tests/Rules/Network/ProbeRulesTest.php Pint formatting cleanup in tests
tests/Rules/Network/DeliverableEmailTest.php Pint formatting cleanup in tests
tests/Rules/Net/UrlTest.php Pint formatting cleanup in tests
tests/Rules/Net/NetworkFieldsTest.php Pint formatting cleanup in tests
tests/Rules/Net/NetRulesTest.php Pint formatting cleanup in tests
tests/Rules/Markup/XmlTest.php Pint formatting cleanup in tests
tests/Rules/Identifiers/IdentifiersRulesTest.php Pint formatting cleanup in tests
tests/Rules/I18n/I18nRulesTest.php Pint formatting cleanup in tests
tests/Rules/Geo/GeoRulesTest.php Pint formatting cleanup in tests
tests/Rules/Fiscal/VatNumberTest.php Pint formatting cleanup in tests
tests/Rules/Email/EmailRulesTest.php Pint formatting cleanup in tests
tests/Rules/Database/DatabaseRulesTest.php Pint formatting cleanup in tests
tests/Rules/Database/CompareToColumnTest.php Pint formatting cleanup in tests
tests/Rules/Chrono/ChronoRulesTest.php Pint formatting cleanup in tests
tests/Rules/Banking/BankingRulesTest.php Pint formatting cleanup in tests
tests/Rules/AntiSpam/AntiSpamRulesTest.php Pint formatting cleanup in tests
tests/RuleRegistrarTest.php Pint formatting cleanup in tests
tests/RuleMessagesResolveTest.php Pint formatting cleanup in tests
tests/RuleConfigBuilderTest.php Pint formatting cleanup in tests
tests/RuleAliasesTest.php Pint formatting cleanup in tests
tests/RegexWithPipeTest.php Pint formatting cleanup in tests
tests/RegexBuilderTest.php Pint formatting cleanup in tests
tests/PublicApiBoundaryTest.php Pint formatting cleanup in tests
tests/ProviderLayoutTest.php Pint formatting cleanup in tests
tests/PhoneRuleTest.php Pint formatting cleanup in tests
tests/Pest.php Pint formatting cleanup in tests
tests/NamingConventionTest.php Pint formatting cleanup in tests
tests/MemoizingValidatorParityTest.php Pint formatting cleanup in tests
tests/ItemValidatorFastCheckCacheTest.php Pint formatting cleanup in tests
tests/ItemValidatorCustomResolverTest.php Pint formatting cleanup in tests
tests/ItemExclusionLeakParityTest.php Pint formatting cleanup in tests
tests/Internal/ValidatorStateCopierTest.php Pint formatting cleanup in tests
tests/Internal/ItemValidatorTest.php Pint formatting cleanup in tests
tests/Internal/ItemRuleCompilerTest.php Pint formatting cleanup in tests
tests/IntegrationTest.php Pint formatting cleanup in tests
tests/InlineMessageParamPhase3eTest.php Pint formatting cleanup in tests
tests/ImplicitAttributesCanaryTest.php Pint formatting cleanup in tests
tests/Helpers.php Pint formatting cleanup in tests
tests/HasFluentValidationForFilamentTest.php Pint formatting cleanup in tests
tests/FluentValidatorBatchDatabaseTest.php Pint formatting cleanup in tests
tests/FluentRuleContractTest.php Pint formatting cleanup in tests
tests/Fixtures/UserAwareFluentFormRequest.php Pint formatting cleanup in test fixtures
tests/Fixtures/UnauthorizedFluentFormRequest.php Pint formatting cleanup in test fixtures
tests/Fixtures/TestUnitEnum.php Pint formatting cleanup in test fixtures
tests/Fixtures/TestStringEnum.php Pint formatting cleanup in test fixtures
tests/Fixtures/TestIntEnum.php Pint formatting cleanup in test fixtures
tests/Fixtures/TestArrayKeyEnum.php Pint formatting cleanup in test fixtures
tests/Fixtures/RouteAwareFluentFormRequest.php Pint formatting cleanup in test fixtures
tests/Fixtures/Registry/EvenNumber.php Pint formatting cleanup in test fixtures
tests/Fixtures/ProvidesMergeSchemaViaTrait.php Pint formatting cleanup in test fixtures
tests/Fixtures/MergeSchemaBaseRequest.php Pint formatting cleanup in test fixtures
tests/Fixtures/MergeRulesBaseRequest.php Pint formatting cleanup in test fixtures
tests/Fixtures/MacroableFootgun/violating_ipv4.php Pint formatting cleanup in test fixtures
tests/Fixtures/MacroableFootgun/violating_direct.php Pint formatting cleanup in test fixtures
tests/Fixtures/MacroableFootgun/violating_chained.php Pint formatting cleanup in test fixtures
tests/Fixtures/MacroableFootgun/violating_aliased.php Pint formatting cleanup in test fixtures
tests/Fixtures/MacroableFootgun/clean_unrelated_fluentrule.php Pint formatting cleanup in test fixtures
tests/Fixtures/MacroableFootgun/clean_typed_builder.php Pint formatting cleanup in test fixtures
tests/Fixtures/MacroableFootgun/clean_other_class_field.php Pint formatting cleanup in test fixtures
tests/Fixtures/MacroableFootgun/clean_legit_field.php Pint formatting cleanup in test fixtures
tests/Fixtures/ExampleFluentValidator.php Pint formatting cleanup in test fixtures
tests/Fixtures/Consumer/AcmeServiceProvider.php Pint formatting cleanup in test fixtures
tests/Fixtures/BailMaxExistsFluentFormRequest.php Pint formatting cleanup in test fixtures
tests/Fixtures/BailMaxEachFluentFormRequest.php Pint formatting cleanup in test fixtures
tests/Fixtures/AuthorizedEachFluentFormRequest.php Pint formatting cleanup in test fixtures
tests/Fixtures/AppealLivewireComponent.php Pint formatting cleanup in test fixtures
tests/FieldRuleExtendHelpersTest.php Pint formatting cleanup in tests
tests/FastCheckCompilerCacheTest.php Pint formatting cleanup in tests
tests/FastCheckArrayValueParityTest.php Pint formatting cleanup in tests
tests/FastCheck/FamilyCompilerTest.php Pint formatting cleanup in tests
tests/ExpandsWildcardsTest.php Pint formatting cleanup in tests
tests/ExcludeStringFormPruningTest.php Pint formatting cleanup in tests
tests/ExcludeBooleanDependentParityTest.php Pint formatting cleanup in tests
tests/Exceptions/UnknownFluentRuleMethodTest.php Pint formatting cleanup in tests
tests/EmailRuleTest.php Pint formatting cleanup in tests
tests/DocCountsTest.php Pint formatting cleanup in tests
tests/DependentBooleanRuleRemovalParityTest.php Pint formatting cleanup in tests
tests/ConsumerExtensionTest.php Pint formatting cleanup in tests
tests/ConditionalEvaluationPhaseTest.php Pint formatting cleanup in tests
tests/CheckAndFakeTest.php Pint formatting cleanup in tests
tests/Builder/EmailNodeRulesTest.php Pint formatting cleanup in tests
tests/BatchSharedColumnParityTest.php Pint formatting cleanup in tests
tests/BatchExistsUniqueSameFieldParityTest.php Pint formatting cleanup in tests
tests/BatchDatabaseValidationTest.php Pint formatting cleanup in tests
tests/BatchCollationParityTest.php Pint formatting cleanup in tests
tests/ArrayRuleExtendHelpersTest.php Pint formatting cleanup in tests
tests/ArchTest.php Pint formatting cleanup in tests
tests/AddRuleMessageParamTest.php Pint formatting cleanup in tests
src/WildcardExpander.php Pint formatting cleanup in source
src/Validated.php Pint formatting cleanup in source
src/Testing/ValidationFake.php Pint formatting cleanup in source
src/Testing/PestExpectations.php Pint formatting cleanup in source
src/Testing/Arch/BansFieldRuleTypeMethods.php Pint formatting cleanup in source
src/Support/Text/ExtendedReservedUsernameList.php Pint formatting cleanup in source
src/Support/Text/DefaultReservedUsernameList.php Pint formatting cleanup in source
src/Support/RuleRegistrar.php Pint formatting cleanup in source
src/Support/Payment/CardBrand.php Pint formatting cleanup in source
src/Support/InlineTermList.php Pint formatting cleanup in source
src/Support/I18n/BundledLanguageDataset.php Pint formatting cleanup in source
src/Support/I18n/BundledCurrencyDataset.php Pint formatting cleanup in source
src/Support/I18n/BundledCountryDataset.php Pint formatting cleanup in source
src/Support/Encoding/Base64File.php Pint formatting cleanup in source
src/Support/Email/BundledRoleAccountList.php Pint formatting cleanup in source
src/Support/Email/BundledDisposableDomainList.php Pint formatting cleanup in source
src/Rules/Vendor/VendorIdentifier.php Pint formatting cleanup in source
src/Rules/Text/Salutation.php Pint formatting cleanup in source
src/Rules/Text/PersonName.php Pint formatting cleanup in source
src/Rules/Text/MinWords.php Pint formatting cleanup in source
src/Rules/Text/MaxWords.php Pint formatting cleanup in source
src/Rules/Text/CaseStyle.php Pint formatting cleanup in source
src/Rules/Telecom/UniquePhone.php Pint formatting cleanup in source
src/Rules/Telecom/Phone.php Pint formatting cleanup in source
src/Rules/Structure/Delimited.php Pint formatting cleanup in source
src/Rules/Storage/FileExistsOnDisk.php Pint formatting cleanup in source
src/Rules/Profanity/NoProfanity.php Pint formatting cleanup in source
src/Rules/Postal/PostalCode.php Pint formatting cleanup in source
src/Rules/Postal/Patterns.php Pint formatting cleanup in source
src/Rules/Payment/CardNumber.php Pint formatting cleanup in source
src/Rules/Payment/CardCvc.php Pint formatting cleanup in source
src/Rules/Numbers/Parity.php Pint formatting cleanup in source
src/Rules/Numbers/MonetaryAmount.php Pint formatting cleanup in source
src/Rules/Network/ImageUrl.php Pint formatting cleanup in source
src/Rules/Network/HasGravatar.php Pint formatting cleanup in source
src/Rules/Network/DeliverableEmail.php Pint formatting cleanup in source
src/Rules/Net/Url.php Pint formatting cleanup in source
src/Rules/Net/Support/IpClassifier.php Pint formatting cleanup in source
src/Rules/Net/Support/HostPattern.php Pint formatting cleanup in source
src/Rules/Net/MacAddress.php Pint formatting cleanup in source
src/Rules/Net/InCidrRange.php Pint formatting cleanup in source
src/Rules/Net/DomainName.php Pint formatting cleanup in source
src/Rules/Markup/Xml.php Pint formatting cleanup in source
src/Rules/Identifiers/SemVer.php Pint formatting cleanup in source
src/Rules/I18n/CurrencyCode.php Pint formatting cleanup in source
src/Rules/Geo/Subdivisions.php Pint formatting cleanup in source
src/Rules/Fiscal/VatNumber.php Pint formatting cleanup in source
src/Rules/Fiscal/NationalIdentifier.php Pint formatting cleanup in source
src/Rules/Encoding/DataUri.php Pint formatting cleanup in source
src/Rules/Encoding/Base64Image.php Pint formatting cleanup in source
src/Rules/Email/NotRoleEmail.php Pint formatting cleanup in source
src/Rules/Email/NotDisposableEmail.php Pint formatting cleanup in source
src/Rules/Email/EmailDomainIs.php Pint formatting cleanup in source
src/Rules/Database/ModelsExist.php Pint formatting cleanup in source
src/Rules/Database/Comparison.php Pint formatting cleanup in source
src/Rules/Database/CompareToColumn.php Pint formatting cleanup in source
src/Rules/Database/Authorized.php Pint formatting cleanup in source
src/Rules/Crypto/BitcoinAddress.php Pint formatting cleanup in source
src/Rules/Codes/UpcE.php Pint formatting cleanup in source
src/Rules/Codes/Isbn.php Pint formatting cleanup in source
src/Rules/Codes/Gtin.php Pint formatting cleanup in source
src/Rules/Chrono/TimeOfDay.php Pint formatting cleanup in source
src/Rules/Chrono/Rfc3339.php Pint formatting cleanup in source
src/Rules/Chrono/MinuteIn.php Pint formatting cleanup in source
src/Rules/Chrono/MinimumAge.php Pint formatting cleanup in source
src/Rules/Chrono/MaxDateDifference.php Pint formatting cleanup in source
src/Rules/Chrono/DateInterval.php Pint formatting cleanup in source
src/Rules/Banking/Iban.php Pint formatting cleanup in source
src/Rules/AntiSpam/SubmissionTiming.php Pint formatting cleanup in source
src/PreparedRules.php Pint formatting cleanup in source
src/PrecomputedPresenceVerifier.php Pint formatting cleanup in source
src/MemoizingValidator.php Pint formatting cleanup in source
src/Internal/VanillaAfterRoute.php Pint formatting cleanup in source
src/Internal/ValueTypePredicates.php Pint formatting cleanup in source
src/Internal/ValidatorStateCopier.php Pint formatting cleanup in source
src/Internal/RuleCacheKey.php Pint formatting cleanup in source
src/Internal/PresenceMatchFidelity.php Pint formatting cleanup in source
src/Internal/ItemValidator.php Pint formatting cleanup in source
src/Internal/ItemErrorCollector.php Pint formatting cleanup in source
src/Internal/ExcludeConditionExtractor.php Pint formatting cleanup in source
src/Internal/DatabaseClaimScanner.php Pint formatting cleanup in source
src/Internal/ConditionalEvaluationPhase.php Pint formatting cleanup in source
src/Internal/BatchRuleShape.php Pint formatting cleanup in source
src/Internal/BatchPresenceQuery.php Pint formatting cleanup in source
src/Internal/BatchLimitRemap.php Pint formatting cleanup in source
src/HasFluentValidation.php Pint formatting cleanup in source
src/HasFluentRules.php Pint formatting cleanup in source
src/FluentValidator.php Pint formatting cleanup in source
src/FluentSchema.php Pint formatting cleanup in source
src/FluentRule.php Pint formatting cleanup in source
src/FastCheckCompiler.php Pint formatting cleanup in source
src/FastCheck/PresenceConditionalCompiler.php Pint formatting cleanup in source
src/Exceptions/CannotExtendListShapedEach.php Pint formatting cleanup in source
src/Events/ValidationFailed.php Pint formatting cleanup in source
src/Events/ValidationCompleted.php Pint formatting cleanup in source
src/Events/RuleSetCompiling.php Pint formatting cleanup in source
src/Contracts/FluentRuleContract.php Pint formatting cleanup in source
src/Concerns/SkipsPrecognition.php Pint formatting cleanup in source
src/Commands/RulesCommand.php Pint formatting cleanup in source
src/Commands/BenchmarkCommand.php Pint formatting cleanup in source
src/Check.php Pint formatting cleanup in source
src/Builder/Nodes/UsernameRule.php Pint formatting cleanup in source
src/Builder/Nodes/UrlRule.php Pint formatting cleanup in source
src/Builder/Nodes/PhoneRule.php Pint formatting cleanup in source
src/Builder/Nodes/PasswordRule.php Pint formatting cleanup in source
src/Builder/Nodes/MacAddressRule.php Pint formatting cleanup in source
src/Builder/Nodes/IpAddressRule.php Pint formatting cleanup in source
src/Builder/Nodes/DeclinedRule.php Pint formatting cleanup in source
src/Builder/Nodes/BooleanRule.php Pint formatting cleanup in source
src/Builder/Nodes/AcceptedRule.php Pint formatting cleanup in source
src/Builder/Concerns/SelfValidates.php Pint formatting cleanup in source
src/Builder/Concerns/HasEmbeddedRules.php Pint formatting cleanup in source
src/Actions/CachedDnsResolver.php Pint formatting cleanup in source
rector.php Pint formatting cleanup in tooling config
rector-migrate-1.0.php Pint formatting cleanup in tooling config
config/laranail-validation.php Pint formatting cleanup in package config

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

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Benchmark results

Scenario Optimizations Native Laravel Optimized Speedup Δ vs base
Product import — 500 items, simple rules Wildcard, fast-check 184.7ms 3.4ms ~54x -3%
Nested order lines — 1000 orders × 5 line items Wildcard, fast-check (nested) 1286.3ms 19.1ms ~67x -1%
Event scheduling — 100 items, field-ref dates Wildcard, partial fast-check 32.7ms 1.4ms ~24x +0%
Article submission — 50 items, custom Rule objects Wildcard only 10.7ms 3.3ms ~3x +0%
Conditional import — 100 items, 47 conditional fields Wildcard, pre-evaluation 4164.7ms 54.3ms ~77x +0%
Login form — 3 fields, no wildcards Fast-check (flat) 0.2ms 0.0ms ~8x —

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