Closed TangoMan75 closed 3 years ago
parseString method now returns and array containing a new icon property :
parseString
icon
[ "uri" => "https://discord.com/" "icon" => "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8..." "title" => "Discord" "note" => "foobar" "tags" => [ "bookmarks", "bar", ] "time" => 1592775139 "pub" => false ]
Updated associated unit test.
Renamed some variables inside parseString method: eg: $m1 => $href, $m2 => $title...
$m1
$href
$m2
$title
This is mostly for semantics, and will not impact behavior in any way.
Added .phpcs-cache in .gitignore
.phpcs-cache
.gitignore
Why do you re-open a PR for each change though?
You're welcome... :-) I'm not sure it would include latest commits and rebase... Would it ?
Yep Github picks up everything pretty well, even if you force push.
1. New feature
parseString
method now returns and array containing a newicon
property :2. Unit tests
Updated associated unit test.
3. Semantics
Renamed some variables inside
parseString
method: eg:$m1
=>$href
,$m2
=>$title
...This is mostly for semantics, and will not impact behavior in any way.
4. gitignore
Added
.phpcs-cache
in.gitignore