Magento Semantic Versioning Checker. Join #svc in our Community Slack: https://opensource.magento.com/slack. Static tests that identify required module version changes based on code diff, and look for backward incompatible changes.
Add performance improvements to SVC during creation of DependencyMap and creation of static analyzers. I also remove the method stmts from the method nodes being stored in the dependency map. This is to fix the memory issues when comparing files.
Added nikic/php-parser as hard dependency in composer
Improved performance of DependencyMap creation.
Remove stms when adding ClassMethod nodes to dependency tree
Added better doc comments
Addeed more aggresive AbstractApiVisitor traversal termination
Compared results with running original svc branch using 2.3-develop and 2.4-develop.
Both logs are equivalent. The only difference is that this branch adds some "Method implementation changed" PATCH changes. This is explained in AbstractApiVisitor::enterNode comment.
Questions or comments
Contribution checklist (*)
[x] Pull request has a meaningful description of its purpose
[x] All commits are accompanied by meaningful commit messages
[x] All new or changed code is covered with unit/integration tests (if applicable)
[x] All automated tests passed successfully (all builds are green)
Description (*)
Add performance improvements to SVC during creation of DependencyMap and creation of static analyzers. I also remove the method stmts from the method nodes being stored in the dependency map. This is to fix the memory issues when comparing files.
Fixed Issues (if relevant)
https://jira.corp.magento.com/browse/MC-30776
Manual testing scenarios (*)
Compared results with running original svc branch using 2.3-develop and 2.4-develop.
Both logs are equivalent. The only difference is that this branch adds some "Method implementation changed" PATCH changes. This is explained in AbstractApiVisitor::enterNode comment.
Questions or comments
Contribution checklist (*)