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

Discourage local-FS-only methods #198

Merged
merged 4 commits into from
Dec 3, 2020

Conversation

shiftedreality
Copy link
Member

This PR adds getimagesize() to discouraged functions as it does not work with remote storage implementations.

Task: https://jira.corp.magento.com/browse/MC-38508

@sidolov
Copy link
Collaborator

sidolov commented Nov 19, 2020

@magento import pr to magento-commerce/magento-coding-standard

@magento-engcom-team
Copy link
Contributor

@sidolov the pull request successfully imported.

@ihor-sviziev
Copy link
Collaborator

ihor-sviziev commented Nov 20, 2020

@shiftedreality could you put some docs why it was discouraged? I think the message that it's just discourages isn't clear at all.
From #154 #102

@shiftedreality
Copy link
Member Author

@ihor-sviziev do you have any example of how it should be documented? Is there any section in DevDocs?

@shiftedreality
Copy link
Member Author

@ihor-sviziev thanks, added

ihor-sviziev
ihor-sviziev previously approved these changes Nov 30, 2020
@sivaschenko
Copy link
Member

@magento import pr to magento-commerce/magento-coding-standard

@magento-engcom-team
Copy link
Contributor

@sivaschenko the pull request successfully imported.

@mmansoor-magento mmansoor-magento merged commit e1eb38e into magento:develop Dec 3, 2020
magento-devops-reposync-svc pushed a commit that referenced this pull request Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants