Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: KaririCode-Framework/kariricode-data-structure
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.1
Choose a base ref
...
head repository: KaririCode-Framework/kariricode-data-structure
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 4 commits
  • 10 files changed
  • 3 contributors

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    e12252b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #15 from KaririCode-Framework/develop

    fix: remove check hasKey in set method
    walmir-silva authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    c966a11 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2025

  1. fix(style-code): Resolve static analysis errors and improve type safety

    This commit addresses a series of issues identified by PHPStan, enhancing the overall type safety and robustness of the data structures.
    
    - **BinaryHeap:** Corrected type inference by specifying the heap property as a `list`, which eliminates the need for explicit integer casting when removing elements.
    - **TreeMap/TreeMapNode:** Fixed a potential null pointer exception in `balanceAfterInsertion` by adding a safety check for the grandparent node.
    - **HashMap:** Refactored to use a consistent internal key handling mechanism, resolving type errors and adding proper support for object keys.
    - **ArrayList:** Fixed a `Cannot cast mixed to string` error by explicitly handling the `resource` type.
    - **phpstan.neon:** Cleaned up the configuration by removing obsolete ignored error patterns.
    walmir-silva committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    997d798 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #16 from KaririCode-Framework/develop

    fix(style-code): Resolve static analysis errors and improve type safety
    walmir-silva authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    1fc9068 View commit details
    Browse the repository at this point in the history
Loading