-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial view helpers #1
Conversation
e056dbf
to
910e57c
Compare
Signed-off-by: George Steel <[email protected]>
Signed-off-by: George Steel <[email protected]>
Signed-off-by: George Steel <[email protected]>
This factory and default configuration preserves the historic method of configuring the doctype for an MVC application Signed-off-by: George Steel <[email protected]>
Signed-off-by: George Steel <[email protected]>
Ref: laminas/laminas-mvc#123 Signed-off-by: George Steel <[email protected]>
Signed-off-by: George Steel <[email protected]>
Signed-off-by: George Steel <[email protected]>
Signed-off-by: George Steel <[email protected]>
910e57c
to
23f947e
Compare
I do not use I assume that most of the code is just transferred to a new namespace? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a lil change request here regarding the psalm-baseline.
Ignoring the factories and config, this PR only introduces the Once released, view will be able to drop a bunch of deps, like |
Signed-off-by: George Steel <[email protected]>
- Upgrade psalm to v5, handle deprecations and other new issues such as unused code - Upgrade PHPUnit to 10.x, migrate config and tests - Drop support for PHP 8.0 - Add psalm type for view helper config array shape Signed-off-by: George Steel <[email protected]>
Signed-off-by: George Steel <[email protected]>
Signed-off-by: George Steel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A very good first step! Go for it. 👍🏻
Adds ServerUrl and Url view helpers along with a a factory for the Doctype view helper.
This first PR is just getting things off the ground without there being too much to review. In future PRs, I'll work on relocating the
ViewEvent
, Rendering strategies, more relevant factories and configuration etc.