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

properly encode X-Status #438

Closed
wants to merge 24 commits into from
Closed

properly encode X-Status #438

wants to merge 24 commits into from

Conversation

lekoala
Copy link
Contributor

@lekoala lekoala commented Feb 15, 2024

Follow up of
silverstripe/silverstripe-admin#1640 (review)

Issues

silverstripe/silverstripe-framework#11105
silverstripe/silverstripe-admin#1639

Pull request checklist

  • The target branch is correct
  • All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting)
    • Small amounts of additional linting are usually okay, but if it makes it hard to concentrate on the relevant changes, ask for the unrelated changes to be reverted, and submitted as a separate PR.
  • The commit messages follow our commit message guidelines
  • The PR follows our contribution guidelines
  • Code changes follow our coding conventions
  • This change is covered with tests (or tests aren't necessary for this change)
  • Any relevant User Help/Developer documentation is updated; for impactful changes, information is added to the changelog for the intended release
  • CI is green

danaenz and others added 24 commits October 9, 2023 16:13
…ature/stages-differ-recursive

NEW: Stages differ recursive
…/deprecate-having

API Deprecate Versions() having parameter
…V_BUILD_permission

ENH add CAN_DEV_BUILD to non_live_permissions
has_one can now optionally have an array configuration to allow
supporting multiple reciprocal has_many in a single has_one relation.
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Please remove these unneeded comment changes - then I'll be happy to merge.

Comment on lines 29 to 32
/**
* @param bool $unlinked
* @return ArrayList
*/
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/**
* @param bool $unlinked
* @return ArrayList
*/

This method is overridden, and inherits its PHPDoc. No need to duplicate it here.

@@ -42,6 +46,7 @@ public function Breadcrumbs($unlinked = false)
$this->extend('updateBadge', $badge);

if ($badge) {
/** @var ArrayData $lastItem */
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/** @var ArrayData $lastItem */

Not needed - we recently added generic typing to lists to handle this

@GuySartorelli
Copy link
Member

Just noticed it's also targetting the wrong branch - please target this PR at 2.1 so it can be released as a patch. You may also need to reset your commits afterwards.

@lekoala lekoala changed the base branch from 2 to 2.1 February 19, 2024 08:12
@lekoala lekoala mentioned this pull request Feb 19, 2024
8 tasks
@lekoala
Copy link
Contributor Author

lekoala commented Feb 19, 2024

@GuySartorelli i created another pr targeting the right branch turns out it's much easier :)
#440

@lekoala lekoala closed this Feb 19, 2024
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.

6 participants