Skip to content

Comments

Few changes to BangMessage#26

Open
martindilling wants to merge 1 commit intophpoxford:masterfrom
martindilling:master
Open

Few changes to BangMessage#26
martindilling wants to merge 1 commit intophpoxford:masterfrom
martindilling:master

Conversation

@martindilling
Copy link
Contributor

  • Added bangText() to BangMessage
  • Removed text() from BangMessage (probably breaking)
  • Tests for BangMessage\Plugin and head/tail helpers

Not really sure about the removal of text(), but it should be easily reverted ;)
And the reason for changing thing to use the list($a, $b) = explode(' ', $string, 2);, is mostly that we've used that approach in in most of the core plugins so far.

- Added bangText() to BangMessage
- Removed text() from BangMessage (probably breaking)
- Tests for BangMessage\Plugin and head/tail helpers
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.

1 participant