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

PHPStan fixes #4405

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from
Draft

PHPStan fixes #4405

wants to merge 31 commits into from

Conversation

sreichel
Copy link
Contributor

@sreichel sreichel commented Dec 7, 2024

Description (*)

  • added excluded files to phpstan
  • removed classes w/ missing interface methods (fatal error)
  • some minor fixes

- Fatal error:  Class Mage_Adminhtml_Block_Widget_Grid_Block contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Interface::setColumn, Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Interface::getColumn) in /var/www/html/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Block.php on line 23
- Fatal error:  Class Mage_Dataflow_Model_Session_Adapter_Http contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Mage_Dataflow_Model_Convert_Adapter_Interface::save) in /var/www/html/app/code/core/Mage/Dataflow/Model/Session/Adapter/Http.php on line 23
- Fatal error:  Class Mage_Dataflow_Model_Convert_Iterator_Http contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Mage_Dataflow_Model_Convert_Adapter_Interface::save) in /var/www/html/app/code/core/Mage/Dataflow/Model/Convert/Iterator/Http.php on line 23
@github-actions github-actions bot added Component: PayPal Relates to Mage_Paypal Component: Core Relates to Mage_Core Component: Catalog Relates to Mage_Catalog Component: Cms Relates to Mage_Cms Component: Reports Relates to Mage_Reports Component: lib/Varien Relates to lib/Varien Component: Sales Relates to Mage_Sales Component: Usa Relates to Mage_Usa Component: Customer Relates to Mage_Customer Component: Eav Relates to Mage_Eav Component: lib/Mage Relates to lib/Mage Component: Adminhtml Relates to Mage_Adminhtml Component: Page Relates to Mage_Page Component: Api PageRelates to Mage_Api Component: Admin Relates to Mage_Admin Component: SalesRule Relates to Mage_SalesRule Component: Wishlist Relates to Mage_Wishlist Component: Shipping Relates to Mage_Shipping Component: Oauth Relates to Mage_Oauth Component: Downloadable Relates to Mage_Downloadable labels Dec 7, 2024
@github-actions github-actions bot removed Component: Downloadable Relates to Mage_Downloadable Component: Media Relates to Mage_Media Component: ImportExport Relates to Mage_ImportExport Component: Directory Relates to Mage_Directory Component: ConfigurableSwatches Relates to Mage_ConfigurableSwatches Component: Install Relates to Mage_Install Component: Uploader Relates to Mage_Uploader composer Relates to composer.json labels Jan 11, 2025
@github-actions github-actions bot added Component: Centinel Relates to Mage_Centinel php-cs-fixer labels Jan 18, 2025
@sreichel sreichel changed the title [WIP] PHPStan v2 + more checks PHPStan update Jan 18, 2025
@sreichel sreichel changed the title PHPStan update PHPStan fixes Jan 18, 2025
@sreichel sreichel marked this pull request as ready for review January 18, 2025 02:01
@sreichel sreichel marked this pull request as draft January 19, 2025 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cleanup Component: Admin Relates to Mage_Admin Component: Adminhtml Relates to Mage_Adminhtml Component: Api PageRelates to Mage_Api Component: Api2 Relates to Mage_Api2 Component: Catalog Relates to Mage_Catalog Component: Centinel Relates to Mage_Centinel Component: Core Relates to Mage_Core Component: Dataflow Relates to Mage_Dataflow Component: GoogleAnalytics Relates to Mage_GoogleAnalytics Component: lib/Varien Relates to lib/Varien Component: lib/* Relates to lib/* Component: PayPal Relates to Mage_Paypal Component: Reports Relates to Mage_Reports Component: Sales Relates to Mage_Sales php-cs-fixer phpstan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants