Skip to content

Commit

Permalink
Update composer type to vendormodule and remove extend object class
Browse files Browse the repository at this point in the history
  • Loading branch information
ishannz committed Jan 23, 2019
1 parent 340c466 commit 6c70801
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "silverstripe-archive/silverstripe-bbcodeparser",
"description": "Abandoned moduled providing BBCodeParser and TextParser to SS 4+",
"type": "silverstripe-module",
"type": "silverstripe-vendormodule",
"require": {
"silverstripe/framework": "^4.0"
},
Expand Down
5 changes: 3 additions & 2 deletions src/TextParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace SilverStripe\BBCodeParser;

use SilverStripe\ORM\FieldType\DBField;
use SilverStripe\Core\Object;
use SilverStripe\Core\Injector\Injectable;

/**
* Parses text in a variety of ways.
Expand All @@ -29,8 +29,9 @@
*
* @todo Define a proper syntax for (or refactor) usable_tags that can be extended as needed.
*/
abstract class TextParser extends Object
abstract class TextParser
{
use Injectable;

/**
* @var string
Expand Down

0 comments on commit 6c70801

Please sign in to comment.