Skip to content

feat: maskBrCnpj accepts the 2026 alphanumeric version#30

Merged
viniciusvts merged 3 commits intomainfrom
29-new-aphanumeric-cnpj
Jan 24, 2026
Merged

feat: maskBrCnpj accepts the 2026 alphanumeric version#30
viniciusvts merged 3 commits intomainfrom
29-new-aphanumeric-cnpj

Conversation

@viniciusvts
Copy link
Copy Markdown
Member

📝 Description

Brief description of the changes implemented in this PR.

Closes #29

🎯 Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 🔧 Enhancement (improvement of existing feature)
  • 📝 Chore (documentation, refactoring, etc)

✅ Implementation Checklist

Code

  • Transformer created in src/Transformers/ implementing StringTransformerInterface
  • PHPDoc @method added in src/StringMorpher.php
  • PHPDoc @method added in src/Instances/StringMorpherInstance.php

Tests

  • Tests created in tests/Transformers/
  • Tests cover main use cases
  • Tests cover edge cases (null, empty string, etc)
  • All tests pass (vendor/bin/phpunit)

Quality

  • Code passes linter (vendor/bin/phpcs)
  • Code follows project standards

Documentation

  • Method documented in docs/docs/methods/
  • Usage examples included (static and fluent)
  • Parameters and return values documented

[Add screenshots if there are visual changes in documentation]
image

@viniciusvts viniciusvts changed the title 29 new aphanumeric cnpj feat: maskBrCnpj accepts the 2026 alphanumeric version Jan 10, 2026
@viniciusvts viniciusvts added this to the v1.1.1 milestone Jan 10, 2026
@viniciusvts viniciusvts force-pushed the main branch 2 times, most recently from d1de119 to 60ac279 Compare January 22, 2026 04:18
@viniciusvts viniciusvts removed this from the v1.1.1 milestone Jan 22, 2026
@viniciusvts viniciusvts merged commit 4c1f2f0 into main Jan 24, 2026
3 checks passed
@viniciusvts viniciusvts deleted the 29-new-aphanumeric-cnpj branch January 24, 2026 00:52
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.

[Feature]: New CNPJ

1 participant