Skip to content

Upstream Merge Conflict (2.4-develop)#67

Merged
Vinai merged 449 commits into2.4-developfrom
2.4-develop-upstream
Dec 5, 2023
Merged

Upstream Merge Conflict (2.4-develop)#67
Vinai merged 449 commits into2.4-developfrom
2.4-develop-upstream

Conversation

@mage-os-ci
Copy link
Contributor

This PR was automatically generated: a human is required.

Auto-merging .github/CONTRIBUTING.md

aplapana and others added 30 commits November 3, 2023 12:03
- implemented solution
- added unit test
 - Fixed the issue and added the test coverage.
Co-authored-by: Andrii Dimov <andimov@gmail.com>
…ducts it still returns shipping method and address in Cart Quote Graphql response
Co-authored-by: Andrii Dimov <andimov@gmail.com>
ACPT-1589: Add GraphQL P1 queries to GraphQlStateTest
….phtml in Magento_Catalog Module - Implemented category tree

AC-2917::Migration from extjs library for pages catalog/category/tree.phtml - Implemented Category move, edit and other functionalities

AC-2917::Migration from extjs library for pages catalog/category/tree.phtml - Fix Functional tests failure

AC-2917::Migration from extjs library for pages catalog/category/tree.phtml - Fix Functional tests failure

AC-2917::Migration from extjs library for pages catalog/category/tree.phtml - Fix Static Test Failure

AC-2917::Migration from extjs library for pages catalog/category/tree.phtml - Code review comment fixes

AC-2917::Bugfix reported in AC-10090

AC-2917::Fixed some irregularities in category tree
Sarmistha and others added 24 commits November 30, 2023 10:15
…mance-optimizations

[LYNX] Performance improvements
ACPT-1226: GraphQlStateTest improvements and other fixes
[Hammer - Platform Health Scope]-AC-9665: Update all js library and npm dependency with latest available version
@mage-os-ci mage-os-ci marked this pull request as ready for review December 5, 2023 11:03
@mage-os-ci mage-os-ci requested a review from a team as a code owner December 5, 2023 11:03
@Vinai Vinai merged commit c448f86 into 2.4-develop Dec 5, 2023
@mage-os-ci mage-os-ci deleted the 2.4-develop-upstream branch December 5, 2023 11:05
mage-os-ci pushed a commit that referenced this pull request Feb 6, 2026
…eck functions

Fixed 6 PHPUnit deprecation warnings by replacing deprecated isType() with callback().

Issue: isType('array') and isType('string') are deprecated in PHPUnit 12
       Will be removed in PHPUnit 13

Solution: Use callback() with PHP's native type checking functions

Files fixed:
1. EntityAbstractTest.php - 3 tests ✅
   - isType('array') → callback('is_array')

2. AlternativeSourceTest.php - 2 tests ✅
   - isType('string') → callback('is_string')

3. ThemeTest.php - 1 test ✅
   - isType('string') → callback('is_string')

Pattern applied:
  ❌ OLD (Deprecated):
    ->with($this->isType('array'))
    ->with($this->isType('string'))

  ✅ NEW (PHPUnit 12 compatible):
    ->with($this->callback('is_array'))
    ->with($this->callback('is_string'))

The callback() method accepts any PHP callable, including built-in type
checking functions like is_array(), is_string(), is_int(), etc.

This approach is forward-compatible with PHPUnit 13 and follows best
practices for type assertions in mocks.

Commit #67 - Fixed all 6 PHPUnit deprecation warnings
Total Deprecations: 6 → 0 ✅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.