Skip to content

Conversation

@fballiano
Copy link
Contributor

No description provided.

@github-actions github-actions bot added Mage.php Relates to app/Mage.php phpstan labels Feb 17, 2023
@fballiano
Copy link
Contributor Author

I was checking some more but they're super hard to test/fix...

@github-actions github-actions bot added Component: lib/Varien Relates to lib/Varien Component: lib/* Relates to lib/* labels Feb 17, 2023
@fballiano fballiano changed the title PHPStan fix in app/Mage.php Some PHPStan fixes Feb 17, 2023
addison74
addison74 previously approved these changes Feb 18, 2023
kiatng
kiatng previously approved these changes Mar 18, 2023
@fballiano
Copy link
Contributor Author

sorry @kiatng, I'd to fix 2 phpcs errors :-\

@fballiano fballiano merged commit 3f0030d into OpenMage:1.9.4.x Mar 18, 2023
@fballiano fballiano deleted the phpstan1 branch March 18, 2023 20:05
fballiano added a commit that referenced this pull request Mar 18, 2023
* PHPStan fix in app/Mage.php

* Solved PHPStan problems with lib/Varien/Object/Cache.php

* PHPStan fixes for lib/Varien/Object/Mapper.php

* PHPStan fixes for lib/Varien/Io/File.php

* Fixed PHPStan error for lib/Varien/Image/Adapter/Gd2.php

* Fixed signature for getSingleton

* removed what this PR fixed

* Update lib/Varien/Io/File.php

* Update lib/Varien/Object/Cache.php

* seems not necessary anymore

* seems not necessary anymore

* updates

* updates

* updates

* revert

* trying to fix the baseline

* trying to fix the baseline

* failed comparisons

* types

* test type hint

* typehint

* nullable

* fixes

* fixes

* small revert

* small revert

* better error message

* Update app/code/core/Mage/Adminhtml/Block/System/Config/Form.php

Co-authored-by: Ng Kiat Siong <[email protected]>

* Update app/code/core/Mage/Paypal/Controller/Express/Abstract.php

Co-authored-by: Ng Kiat Siong <[email protected]>

* suggestion

* Update app/code/core/Mage/Adminhtml/Block/System/Config/Form.php

Co-authored-by: Ng Kiat Siong <[email protected]>

* Exception added

* small rewrite

* phpcs

---------

Co-authored-by: Ng Kiat Siong <[email protected]>
@fballiano
Copy link
Contributor Author

merged and v20ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Adminhtml Relates to Mage_Adminhtml Component: Catalog Relates to Mage_Catalog Component: CatalogIndex Relates to Mage_CatalogIndex Component: lib/Varien Relates to lib/Varien Component: lib/* Relates to lib/* Component: Oauth Relates to Mage_Oauth Component: PayPal Relates to Mage_Paypal Mage.php Relates to app/Mage.php phpstan

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants