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: vjik/php-enum
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.2.0
Choose a base ref
...
head repository: vjik/php-enum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 9 commits
  • 24 files changed
  • 1 contributor

Commits on Oct 29, 2020

  1. Add .editorconfig.

    vjik committed Oct 29, 2020
    Copy the full SHA
    0260e59 View commit details
  2. Update PHP to version ^7.4

    vjik committed Oct 29, 2020
    Copy the full SHA
    c5bcdd6 View commit details
  3. Copy the full SHA
    98f3b8e View commit details

Commits on May 26, 2021

  1. Rewrite the package from scratch

    vjik committed May 26, 2021
    Copy the full SHA
    adca3da View commit details
  2. Minor fix readme.

    vjik committed May 26, 2021
    Copy the full SHA
    ce9b720 View commit details
  3. Fix mutation workflow

    vjik committed May 26, 2021
    Copy the full SHA
    01a079f View commit details
  4. Minor fix readme

    vjik authored May 26, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9cf6a45 View commit details

Commits on May 27, 2021

  1. Implement ideas from RFC (#1)

    * On create object with invalid value throws ValueError instead UnexpectedValueException
    * Use private constants in enum object
    * Rename methods `toObjects()` to `cases()` and `toValues()` to `values()`
    * Remove immutability
    * Add method `getName()`
    * Add method `tryFrom()`
    * Add protected method `match()`
    * Add info to change log
    * Fix readme
    vjik authored May 27, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    839e85e View commit details
  2. Fix phpdoc

    vjik committed May 27, 2021
    Copy the full SHA
    fe541d2 View commit details
Loading