Permalink
Commits on Feb 23, 2018
  1. Merge pull request #7085 from doctrine/tighten-owning-side-resolution

    Ocramius committed Feb 23, 2018
    [RFC] Tighten owning side resolution
  2. Break unit tests as per @lcobucci request

    guilhermeblanco committed Feb 23, 2018
  3. Added unit tests on both Annotations and XML drivers. Fixed bug with …

    guilhermeblanco committed Feb 23, 2018
    …table names not accepting dashes (included unit tests).
Commits on Feb 22, 2018
  1. Tighten owning side resolution. Fixed bug with potential double ownin…

    guilhermeblanco committed Feb 22, 2018
    …g side in OneToOne when JoinColumns were mapped on both association sides. In that case, the ownership was determined based on association flow (in A -> B, A:b was owning, while in B -> A, B:a was owning).
Commits on Feb 19, 2018
  1. Remove loose comparison on discriminator values

    lcobucci authored and Ocramius committed Feb 18, 2018
    According to mapping drivers the discriminator values can always be
    converted to strings so it's safe to assume that we can actually do a
    strict comparison during hydration.
  2. Use partial discriminator map on multi-inheritance

    technetium authored and Ocramius committed Feb 18, 2018
    Hydrator was ignoring data from subclasses when using multiple
    inheritance levels. With this patch it will now use the discriminator
    values from all subclasses of the class being hydrated.
  3. #6988 #6304 adapted test case to ORM test suite changes in `3.x`

    Ocramius committed Feb 19, 2018
     - `em` protected property
     - annotation namespace change
     - `QueryBuilder` instantiation
  4. Merge branch 'fix/#7077-#7053-allow-alias-less-DQL-delete-statement'

    Ocramius committed Feb 19, 2018
    Close #7077
    Close #7053
  5. #7077 #7053 in ORM 3.x, everything is quoted by default, so the test…

    Ocramius committed Feb 19, 2018
    … needs adaptation
  6. Fix BC-break on delete queries with nasty workaround

    lcobucci authored and Ocramius committed Feb 18, 2018
    The `v2.5.x` series of the ORM allowed to have DELETE DQLs without using
    an alias, even though it didn't follow the grammar rules of the parser.
    We fixed that issue on `v2.6.0` however that was a BC-breaking change
    and lots of people were relying on this faulty behaviour.
    
    This workaround fixes the BC-break, without even trying to be elegant.
    In `v2.7.0.` we should raise a deprecation notice to notify people that
    we'll drop that "feature" in `v3.0`.
  7. Adds sql generation test

    carnage authored and Ocramius committed Feb 9, 2018
Commits on Feb 18, 2018
  1. Merge pull request #7065 from Majkl578/dev/dbal-compat

    lcobucci committed Feb 18, 2018
    Fix compatibility with DBAL develop
  2. Fix compatibility with DBAL develop

    Majkl578 authored and lcobucci committed Feb 14, 2018
    * ResultStatement signature BC break
    * PDO::FETCH_* -> FetchMode::*
    * PDO::PARAM_* -> ParameterType::*
    * AbstractPlatform::DATE_INTERVAL_UNIT_* -> DateIntervalUnit::*
    * AbstractPlatform::TRIM_* -> TrimMode::*
Commits on Feb 17, 2018
  1. Fix incorrect value in L2C+lock test

    lcobucci committed Feb 17, 2018
    Which was causing the optimistic lock to fail in MySQL since it was
    trying to update the data with exact same value.
  2. Merge pull request #7069 from wtorsi/master

    lcobucci committed Feb 17, 2018
    Test for Second level cache with Version, DDC #7067
  3. Add version fields into L2C data

    ‘Andrey Lukin’ authored and lcobucci committed Feb 16, 2018
  4. Add test for L2C using optimistic locks

    ‘Andrey Lukin’ authored and lcobucci committed Feb 16, 2018
    As explained in #7067, fields with `@ORM\Version` annotation were not
    being added to L2C cached data.
  5. Merge pull request #7076 from lcobucci/fix-build

    lcobucci committed Feb 17, 2018
    Make mocks compatible with latest version of interface
  6. Make mocks compatible with latest version of interface

    lcobucci committed Feb 17, 2018
    Since we changed the signature in DBAL v3.x-dev we must apply the
    changes here too.
Commits on Feb 14, 2018
  1. Merge pull request #7064 from carusogabriel/https

    Ocramius committed Feb 14, 2018
    Use HTTPS instead of HTTP
  2. Use HTTPS instead of HTTP

    carusogabriel committed Feb 14, 2018
Commits on Feb 11, 2018
  1. Merge pull request #7057 from Majkl578/fix/composer-cs-constraint

    Ocramius committed Feb 11, 2018
    Fix CS constraint in composer.json
  2. Fix CS constraint in composer.json

    Majkl578 committed Feb 11, 2018
Commits on Feb 10, 2018
  1. Merge pull request #7056 from Majkl578/cs-3.0-lib

    Ocramius committed Feb 10, 2018
    [CS] Apply Doctrine CS 3.0
Commits on Feb 9, 2018
  1. [CS] Apply Doctrine CS 3.0

    Majkl578 committed Feb 6, 2018
    * Import all functions and constants in `use`
    * Remove useless comments
    * Use new with parenthesis
    * Unqualified class references in annotations
  2. Merge pull request #7055 from lcobucci/fix-date-issues-once-and-for-all

    lcobucci committed Feb 9, 2018
    Fix date issues once and for all
  3. Add missing tests for day calculation

    lcobucci committed Feb 9, 2018
    For the DATE_SUB() and DATE_ADD() functions.
  4. Fix date calculation in tests (again)

    lcobucci committed Feb 9, 2018
    Now using PHP to calculate the expected date manipulation, keeping a day
    as delta since PHP resets the hour when performing operations with
    days/weeks/months/years.
    
    February is a wonderful month, isn't it?
Commits on Feb 8, 2018
  1. Merge pull request #7049 from coudenysj/remove-yaml-documentation

    Ocramius committed Feb 8, 2018
    Remove the YAML metadata driver from the documentation