1. 01 Jan, 2018 3 commits
    • Adrien Crivelli's avatar
      b83ba1a4
    • Adrien Crivelli's avatar
      26658ab3
    • Adrien Crivelli's avatar
      Automatic escaping of default values · bd465f71
      Adrien Crivelli authored
      It is now possible to use `\` in non-escaped default values for a column,
      and it will be automatically escaped for platforms that need it.
      
      Previously this lead to a confusion when diffing actual and expected
      schema leading to perpetual out of sync schema.
      
      Before:
      
      ```php
      /**
       * @ORM\Column(options={"default" = "Foo\\Bar"}))
       */
      private $name;
      
      ```
      
      After:
      
      ```php
      /**
       * @ORM\Column(options={"default" = "Foo\Bar"}))
       */
      private $name;
      
      ```
      
      And the result in database will be a default value exactly as written in
      the annotation, that is `Foo\Bar`.
      bd465f71
  2. 29 Dec, 2017 4 commits
  3. 26 Dec, 2017 3 commits
  4. 24 Dec, 2017 2 commits
  5. 22 Dec, 2017 2 commits
  6. 20 Dec, 2017 3 commits
  7. 19 Dec, 2017 1 commit
  8. 17 Dec, 2017 2 commits
  9. 16 Dec, 2017 1 commit
  10. 15 Dec, 2017 1 commit
  11. 14 Dec, 2017 1 commit
  12. 09 Dec, 2017 2 commits
  13. 08 Dec, 2017 4 commits
  14. 07 Dec, 2017 4 commits
  15. 06 Dec, 2017 4 commits
    • Grégoire Paris's avatar
      Remove unused exception · 559ebed9
      Grégoire Paris authored
      559ebed9
    • Grégoire Paris's avatar
      Trigger a deprecation on unknown option · 0241134e
      Grégoire Paris authored
      I am not sure if there is a rationale behind ignoring extra keys like
      this. I was under the impression that something might copy options to
      platform specific options, thus leaving options in the original array,
      knowing they would be ignored anyway. If it is the case, it would be
      best to just move them, otherwise, this commit might help troubleshoot
      some mapping issues.
      I had to fix some tests that wrongly used that options array (maybe
      these options were valid at some point?).
      0241134e
    • Grégoire Paris's avatar
      Sort packages · 0b00d508
      Grégoire Paris authored
      It makes diffs easier to read and avoids conflicts.
      0b00d508
    • Gabriel Caruso's avatar
      Refactoring tests · cfc51dc3
      Gabriel Caruso authored
      cfc51dc3
  16. 05 Dec, 2017 1 commit
  17. 28 Nov, 2017 2 commits