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

Issue 12506: Fixup typo getDispretionPath -> getDispersionPath #12507

Merged
merged 2 commits into from
Dec 7, 2017

Conversation

PascalBrouwers
Copy link
Contributor

Description

Fixup typo getDispretionPath -> getDispersionPath

Fixed Issues (if relevant)

  1. Fixup typo getDispretionPath -> getDispersionPath #12506: Fixup typo getDispretionPath -> getDispersionPath

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@PascalBrouwers
Copy link
Contributor Author

PascalBrouwers commented Dec 1, 2017

Not sure if all pull requests need an issue, so I created one just to be sure.

@sidolov sidolov self-assigned this Dec 1, 2017
@sidolov sidolov added this to the December 2017 milestone Dec 1, 2017
@@ -611,7 +611,7 @@ public static function getNewFileName($destinationFile)
* @param string $fileName
* @return string
*/
public static function getDispretionPath($fileName)
public static function getDispersionPath($fileName)
Copy link
Contributor

Choose a reason for hiding this comment

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

Renaming public methods is backward incompatible.
Please, refactor this codes with following steps:

  • introduce new method getDispersionPath
  • move logic from old getDispretionPath method to created getDispersionPath
  • mark old method as @deprecated
  • make proxy call from old method to new
public static function getDispretionPath($fileName)
{
      return self::getDispersionPath($fileName);
}

Backward compatible development rules described in http://devdocs.magento.com/guides/v2.2/contributor-guide/backward-compatible-development/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, I was too quick. Made the necessary changes

@magento-team magento-team merged commit daee4a8 into magento:2.2-develop Dec 7, 2017
magento-team pushed a commit that referenced this pull request Dec 7, 2017
[EngCom] Public Pull Requests - 2.2-develop
 - MAGETWO-84981: Trying to get data from non existent products #12539
 - MAGETWO-84979: [Backport 2.2-develop] Fix swagger-ui on instances of Magento running on a non-standard port #12541
 - MAGETWO-84903: Added namespace to product videos fotorama events #12469
 - MAGETWO-84862: [Backport 2.2-develop] #11409: Too many password reset requests even when disabled in settings #11435
 - MAGETWO-84856: Issue 12506: Fixup typo getDispretionPath -> getDispersionPath #12507
 - MAGETWO-84808: 12110: Missing cascade into attribute set deletion. #12167
 - MAGETWO-83503: [2.2] - Add command to view mview state and queue #12122
 - MAGETWO-80223: Fix syntax of expectException() calls #11099
@magento-engcom-team magento-engcom-team added Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Dec 7, 2017
@paales paales added the Partner: Reach Digital Pull Request is created by partner Reach Digital label May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Partner: Reach Digital Pull Request is created by partner Reach Digital Progress: accept Release Line: 2.2 Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants