Skip to content
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

Lint routes and templates #83

Merged
merged 22 commits into from
Feb 15, 2024
Merged

Lint routes and templates #83

merged 22 commits into from
Feb 15, 2024

Conversation

psrpinto
Copy link
Member

@psrpinto psrpinto commented Feb 15, 2024

This is the final PHP linting PR. I would suggest reviewing commit by commit, as each commit should be self-explanatory. I've made small refactors where appropriate.

@psrpinto psrpinto changed the title Linting routes Linting routes and templates Feb 15, 2024
@psrpinto psrpinto changed the title Linting routes and templates Lint routes and templates Feb 15, 2024
@psrpinto psrpinto marked this pull request as ready for review February 15, 2024 15:01
@psrpinto psrpinto marked this pull request as draft February 15, 2024 15:03
@psrpinto psrpinto marked this pull request as ready for review February 15, 2024 15:21
Copy link
Member

@akirk akirk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, could you just pick up that paginate_links fix and judge my other remarks, thanks!


// TODO: Remove this file once there are actual tests.

/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be this?

Suggested change
/**
/*

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The coding standards don't allow it somehow. It's viewed as the class comment so must start with /**. This will be removed soon once we add tests.

@psrpinto psrpinto requested a review from akirk February 15, 2024 16:35
Copy link
Member

@akirk akirk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good to merge!

Copy link
Collaborator

@amieiro amieiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is ok to be merged.

@amieiro amieiro merged commit d21f915 into trunk Feb 15, 2024
2 checks passed
@amieiro amieiro deleted the linting-3 branch February 15, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants