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

[8.0] Convert static property to constant #2463

Open
wants to merge 4 commits into
base: 8.0
Choose a base branch
from

Conversation

gmponos
Copy link
Member

@gmponos gmponos commented Dec 15, 2019

By converting the static property to constant I guess this will disallow overwritting.

Again I am not sure if this is something we want for v7 or v8 or even if we want it at all.

@gmponos gmponos added this to the 8.0.0 milestone Dec 18, 2019
@sagikazarmark
Copy link
Member

I think this is probably a good idea. But it's not that important for 7.0. I'd like to concentrate on the release.

@gmponos
Copy link
Member Author

gmponos commented Dec 30, 2019

But it's not that important for 7.0.

Yes I had it on 8.0.0 milestone.

@stale
Copy link

stale bot commented Sep 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 2 weeks if no further activity occurs. Thank you for your contributions.

@stale stale bot added the lifecycle/stale No activity for a long time label Sep 25, 2020
@Nyholm Nyholm added the lifecycle/keep-open Issues that should not be closed label Sep 25, 2020
@stale stale bot removed the lifecycle/stale No activity for a long time label Sep 25, 2020
@Nyholm
Copy link
Member

Nyholm commented Sep 30, 2020

This needs a rebase. Also please dont change the phpstan-baseline.

@@ -30,7 +30,7 @@ class SetCookie
public static function fromString(string $cookie): self
{
// Create the default return array
$data = self::$defaults;
$data = self::DEFAULTS;
Copy link

Choose a reason for hiding this comment

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

what was the reason changing this?

@GrahamCampbell GrahamCampbell changed the base branch from 7.5 to 8.0 March 31, 2024 13:14
@GrahamCampbell GrahamCampbell changed the title Convert static property to constant [8.0] Convert static property to constant Mar 31, 2024
@GrahamCampbell GrahamCampbell removed this from the 8.0.0 milestone Mar 31, 2024
@GrahamCampbell
Copy link
Member

@gmponos Are you able to resolve the merge conflicts please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/keep-open Issues that should not be closed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants