Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Event/FilterShortcodesEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
* is used directly in processor.
*
* @author Tomasz Kowalczyk <tomasz@kowalczyk.cc>
* @psalm-suppress ClassMustBeFinal
*/
class FilterShortcodesEvent
final class FilterShortcodesEvent
{
/** @var ProcessedShortcode|null */
private $parent;
Expand Down
3 changes: 1 addition & 2 deletions src/Event/ReplaceShortcodesEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
* results in the source text.
*
* @author Tomasz Kowalczyk <tomasz@kowalczyk.cc>
* @psalm-suppress ClassMustBeFinal
*/
class ReplaceShortcodesEvent
final class ReplaceShortcodesEvent
{
/** @var ShortcodeInterface|null */
private $shortcode;
Expand Down
1 change: 1 addition & 0 deletions src/Processor/ProcessorContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/**
* @author Tomasz Kowalczyk <tomasz@kowalczyk.cc>
* @internal
*/
// @mago-expect lint:too-many-properties
final class ProcessorContext
Expand Down
5 changes: 4 additions & 1 deletion src/Shortcode/ProcessedShortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ private function __construct(ProcessorContext $context)
$this->baseOffset = $context->baseOffset;
}

/** @return self */
/**
* @internal
* @return self
*/
public static function createFromContext(ProcessorContext $context)
{
return new self($context);
Expand Down
1 change: 1 addition & 0 deletions src/ShortcodeFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

/**
* @author Tomasz Kowalczyk <tomasz@kowalczyk.cc>
* @final
* @psalm-suppress ClassMustBeFinal
*/
class ShortcodeFacade
Expand Down
1 change: 1 addition & 0 deletions src/Utility/RegexBuilderUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/**
* @author Tomasz Kowalczyk <tomasz@kowalczyk.cc>
* @internal
*/
final class RegexBuilderUtility
{
Expand Down
Loading