Skip to content

feat: prepend#34

Merged
viniciusvts merged 7 commits intomainfrom
19-prepend
Jan 24, 2026
Merged

feat: prepend#34
viniciusvts merged 7 commits intomainfrom
19-prepend

Conversation

@viniciusvts
Copy link
Copy Markdown
Member

📝 Description

Prepends a string to the beginning of the input string.

Closes #19

🎯 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

@viniciusvts viniciusvts merged commit 4670990 into main Jan 24, 2026
5 checks passed
@viniciusvts viniciusvts deleted the 19-prepend branch January 24, 2026 00:53
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.

Add prepend method for string concatenation (start)

1 participant