Skip to content

Checking links #131

Closed
Closed
@MartinMystikJonas

Description

@MartinMystikJonas

I am planning to write rules to check validity of links (link, redirect, ...) creation.

  • validate that presenter/action used in target exists (based on configured mapping or using PresenterFactory)
  • validate that mandatory parameters (based on action/render method signature) are passed
  • validate types of parameters

We already do this in our phpstan-latte extension (in hacky way) but I would like to write universal solution.

Should I make it as PR to this package or would you preffer it as separate package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions