-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Mark Framework interfaces as API part 2 #32140
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
Mark Framework interfaces as API part 2 #32140
Conversation
Hi @mrtuvn. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
d7afbfb
to
c83e092
Compare
Rebased 2.5-develop |
@magento run all tests |
Public type 'Magento\Framework\App\CsrfAwareActionInterface' references following non-public types: Public type 'Magento\Framework\App\DesignInterface' references following non-public types: Public type 'Magento\Framework\App\EnvironmentInterface' references following non-public types: Public type 'Magento\Framework\App\ExceptionHandlerInterface' references following non-public types: Public type 'Magento\Framework\App\ResourceConnection\ConnectionAdapterInterface' references following non-public types: |
4a1eca6
to
f997658
Compare
@magento run Functional Tests B2B, Static Tests |
@magento run Functional Tests B2B |
@mrtuvn instead of marking the
This will cause a lot of conflicts while merging them. Please add all the PRs that you find useful for your PR, as related. Please let me know if any questions arise. |
f997658
to
78f9a27
Compare
1eeb928
to
a9bb8b2
Compare
@magento run Static Tests, Unit Tests |
@magento run Static Tests |
@magento run Database Compare, Functional Tests B2B, Functional Tests CE, Functional Tests EE, Integration Tests, Magento Health Index, Sample Data Tests B2B, Sample Data Tests CE, Sample Data Tests EE, Semantic Version Checker, WebAPI Tests |
@magento run Unit Tests, Functional Tests EE, Functional Tests CE, Functional Tests B2B |
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
a9bb8b2
to
06092bb
Compare
@magento run all tests |
@magento run Functional Tests EE, WebAPI Tests |
@@ -131,7 +133,7 @@ public function sendVary() | |||
*/ | |||
public function setPublicHeaders($ttl) | |||
{ | |||
if ($ttl < 0 || !preg_match('/^[0-9]+$/', $ttl)) { | |||
if ($ttl < 0 || !is_numeric($ttl)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not looking for code changes with these issues, please revert as it was.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change introduce since i added strict_type at the first line of fine! This change pass test too should i revert strict_type in only this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, let's create a separate PR to add the strict type and the code change. On this scope, we are looking just for API marking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updating it
909c294
to
123fe6b
Compare
Update hollymolly up update update types fix fail tests update strict type for preg_match 2rd argument Update revert origin code resolve conflicts
123fe6b
to
789c540
Compare
@magento run all tests |
@magento run Functional Tests B2B |
@gabrieldagama all green tests and ready! |
@magento import code to https://github.com/magento-engcom/magento2ce |
@gabrieldagama the branch with code successfully imported into |
Hi @mrtuvn, thank you for your contribution! |
Description (*)
Mark following interfaces as API + Added strict_types
lib/internal/Magento/Framework/App/CsrfAwareActionInterface.php
lib/internal/Magento/Framework/App/DefaultPathInterface.php
lib/internal/Magento/Framework/App/DeploymentConfig/ImporterInterface.php
lib/internal/Magento/Framework/App/DeploymentConfig/ValidatorInterface.php
lib/internal/Magento/Framework/App/DeploymentConfig/Writer/FormatterInterface.php
lib/internal/Magento/Framework/App/DesignInterface.php
lib/internal/Magento/Framework/App/EnvironmentInterface.php
lib/internal/Magento/Framework/App/ExceptionHandlerInterface.php
lib/internal/Magento/Framework/App/FeedFactoryInterface.php
lib/internal/Magento/Framework/App/FeedInterface.php
lib/internal/Magento/Framework/App/HttpRequestInterface.php
lib/internal/Magento/Framework/App/ObjectManager/ConfigWriterInterface.php
lib/internal/Magento/Framework/App/PageCache/NotCacheableInterface.php
lib/internal/Magento/Framework/App/Request/ValidatorInterface.php
lib/internal/Magento/Framework/App/ResourceConnection/ConfigInterface.php
lib/internal/Magento/Framework/App/ResourceConnection/ConnectionAdapterInterface.php
lib/internal/Magento/Framework/App/Response/FileInterface.php
lib/internal/Magento/Framework/App/Response/HeaderProvider/HeaderProviderInterface.php
lib/internal/Magento/Framework/App/Response/RedirectInterface.php
lib/internal/Magento/Framework/App/Router/NoRouteHandlerInterface.php
lib/internal/Magento/Framework/App/Router/PathConfigInterface.php
lib/internal/Magento/Framework/App/RouterInterface.php
lib/internal/Magento/Framework/App/RouterListInterface.php
lib/internal/Magento/Framework/App/Rss/RssManagerInterface.php
lib/internal/Magento/Framework/App/Rss/UrlBuilderInterface.php
lib/internal/Magento/Framework/App/Scope/ValidatorInterface.php
lib/internal/Magento/Framework/App/ScopeFallbackResolverInterface.php
lib/internal/Magento/Framework/App/ScopeResolverInterface.php
lib/internal/Magento/Framework/App/ScopeTreeProviderInterface.php
lib/internal/Magento/Framework/App/ScopeValidatorInterface.php
lib/internal/Magento/Framework/App/View/Asset/MaterializationStrategy/StrategyInterface.php
lib/internal/Magento/Framework/App/View/Deployment/Version/StorageInterface.php
Also marked api for references class/interfaces
lib/internal/Magento/Framework/\App/Request/InvalidRequestException
lib/internal/Magento/Framework/Interception/ObjectManager/ConfigInterface
lib/internal/Magento/Framework/App/Response/Http
lib/internal/Magento/Framework/App/Request/Http
lib/internal/Magento/Framework/ObjectManager/RelationsInterface.php
lib/internal/Magento/Framework/ObjectManager/ConfigInterface.php
lib/internal/Magento/Framework/ObjectManager/ConfigCacheInterface.php
lib/internal/Magento/Framework/Interception/ConfigInterface.php
lib/internal/Magento/Framework/DB/LoggerInterface (by lib/internal/Magento/Framework/App/ResourceConnection/ConnectionAdapterInterface.php)
lib/internal/Magento/Framework/View/DesignInterface (by
lib/internal/Magento/Framework/App/DesignInterface.php)
Related Pull Requests
#32142
#32156
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)