Skip to content

Add SetcookieRector#2711

Merged
TomasVotruba merged 6 commits intorectorphp:masterfrom
zonuexe:feature/setcookie-rector
Jan 21, 2020
Merged

Add SetcookieRector#2711
TomasVotruba merged 6 commits intorectorphp:masterfrom
zonuexe:feature/setcookie-rector

Conversation

@zonuexe
Copy link
Copy Markdown
Contributor

@zonuexe zonuexe commented Jan 19, 2020

Convert to setcookie() options array introduced in PHP 7.3.

This Rector just breaks backward compatibility with less than PHP 7.3 since PHP 7.3 actually supports old arguments. However, since the option array is required to set the samesite attribute, the changes are highlighted.

@zonuexe zonuexe force-pushed the feature/setcookie-rector branch from 85636fd to 1a557e0 Compare January 19, 2020 17:18
@TomasVotruba
Copy link
Copy Markdown
Member

CI needs fixing

@zonuexe zonuexe force-pushed the feature/setcookie-rector branch from 531cc6c to 2b29ce7 Compare January 21, 2020 14:55
@zonuexe zonuexe force-pushed the feature/setcookie-rector branch from 2b29ce7 to d6effd6 Compare January 21, 2020 14:59
@zonuexe
Copy link
Copy Markdown
Contributor Author

zonuexe commented Jan 21, 2020

@TomasVotruba I rebase on master and fixed them.

@TomasVotruba TomasVotruba self-requested a review January 21, 2020 15:31
@TomasVotruba
Copy link
Copy Markdown
Member

Looks good, thank you 👍

@TomasVotruba TomasVotruba merged commit 5c6c1e5 into rectorphp:master Jan 21, 2020
@zonuexe zonuexe deleted the feature/setcookie-rector branch January 21, 2020 15:37
TomasVotruba added a commit that referenced this pull request Jul 25, 2022
rectorphp/rector-src@bd4a732 doc: fix visibility should not change (#2711)
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.

2 participants