Permalink
Commits on May 16, 2018
  1. Merge branch '4.1'

    nicolas-grekas committed May 16, 2018
    * 4.1: (22 commits)
      Fix CS
      [PropertyInfo] fix resolving parent|self type hints
      fixed CS
      fix merge
      [Security] Fix logout
      Cleanup 2 tests for the HttpException classes
      #27250 limiting GET_LOCK key up to 64 char due to changes in MySQL 5.7.5 and later
      [Config] Fix tests when path contains UTF chars
      [DI] Shared services should not be inlined in non-shared ones
      [Profiler] Remove propel & event_listener_loading category identifiers
      [Filesystem] Fix usages of error_get_last()
      [Cache][Lock] Fix usages of error_get_last()
      [Debug] Fix populating error_get_last() for handled silent errors
      fixed CS
      fixed CS
      fixed CS
      [FrameworkBundle] Fix cache:clear on vagrant
      [HttpKernel] Handle NoConfigurationException "onKernelException()"
      Fix misses calculation when calling getItems
      [DI] Display previous error messages when throwing unused bindings
      ...
  2. Merge branch '4.0' into 4.1

    nicolas-grekas committed May 16, 2018
    * 4.0: (21 commits)
      [PropertyInfo] fix resolving parent|self type hints
      fixed CS
      fix merge
      [Security] Fix logout
      Cleanup 2 tests for the HttpException classes
      #27250 limiting GET_LOCK key up to 64 char due to changes in MySQL 5.7.5 and later
      [Config] Fix tests when path contains UTF chars
      [DI] Shared services should not be inlined in non-shared ones
      [Profiler] Remove propel & event_listener_loading category identifiers
      [Filesystem] Fix usages of error_get_last()
      [Cache][Lock] Fix usages of error_get_last()
      [Debug] Fix populating error_get_last() for handled silent errors
      fixed CS
      fixed CS
      fixed CS
      [FrameworkBundle] Fix cache:clear on vagrant
      [HttpKernel] Handle NoConfigurationException "onKernelException()"
      Fix misses calculation when calling getItems
      [DI] Display previous error messages when throwing unused bindings
      Fixed return type
      ...
  3. Merge branch '3.4' into 4.0

    nicolas-grekas committed May 16, 2018
    * 3.4:
      fix merge
      [Security] Fix logout
      Cleanup 2 tests for the HttpException classes
      #27250 limiting GET_LOCK key up to 64 char due to changes in MySQL 5.7.5 and later
      [Config] Fix tests when path contains UTF chars
      [DI] Shared services should not be inlined in non-shared ones
      [Profiler] Remove propel & event_listener_loading category identifiers
      [Filesystem] Fix usages of error_get_last()
      [Cache][Lock] Fix usages of error_get_last()
      [Debug] Fix populating error_get_last() for handled silent errors
      [DI] Display previous error messages when throwing unused bindings
      Suppress warnings when open_basedir is non-empty
  4. Merge branch '2.8' into 3.4

    nicolas-grekas committed May 16, 2018
    * 2.8:
      [Security] Fix logout
      #27250 limiting GET_LOCK key up to 64 char due to changes in MySQL 5.7.5 and later
      [Profiler] Remove propel & event_listener_loading category identifiers
      [Filesystem] Fix usages of error_get_last()
      [Debug] Fix populating error_get_last() for handled silent errors
      Suppress warnings when open_basedir is non-empty
Commits on May 15, 2018
  1. Merge branch '2.7' into 2.8

    nicolas-grekas committed May 15, 2018
    * 2.7:
      [Security] Fix logout
      #27250 limiting GET_LOCK key up to 64 char due to changes in MySQL 5.7.5 and later
      [Profiler] Remove propel & event_listener_loading category identifiers
      [Filesystem] Fix usages of error_get_last()
      [Debug] Fix populating error_get_last() for handled silent errors
      Suppress warnings when open_basedir is non-empty
Commits on May 14, 2018
Commits on May 13, 2018
Commits on May 11, 2018
  1. fixed CS

    fabpot committed May 11, 2018
  2. Merge branch '3.4' into 4.0

    fabpot committed May 11, 2018
    * 3.4:
      fixed CS
      fixed CS
      [FrameworkBundle] Fix cache:clear on vagrant
      [HttpKernel] Handle NoConfigurationException "onKernelException()"
      Fix misses calculation when calling getItems
      Fixed return type
  3. Merge branch '2.8' into 3.4

    fabpot committed May 11, 2018
    * 2.8:
      fixed CS
      fixed CS
      Fixed return type
  4. Merge branch '2.7' into 2.8

    fabpot committed May 11, 2018
    * 2.7:
      fixed CS
      Fixed return type
Commits on May 7, 2018
  1. Fixed return type

    tarlepp authored and nicolas-grekas committed May 7, 2018
  2. updated version to 4.2

    fabpot committed May 7, 2018
  3. Merge branch '4.0'

    fabpot committed May 7, 2018
    * 4.0:
      use brace-style regex delimiters
      Fixed typo RecursiveIterator -> RecursiveIteratorIterator
      [Cache] fix logic for fetching tag versions on TagAwareAdapter
      [FrameworkBundle] Remove dead code
      [FrameworkBundle] Use the correct service id for CachePoolPruneCommand in its compiler pass
      Hide short exception trace by default
      [Doctrine Bridge] fix priority for doctrine event listeners
      [Validator] make phpdoc of ObjectInitializerInterface interface more accurate
      [Validator] fixes phpdoc reference to an interface that was removed in Symfony 3.0
  4. Merge branch '3.4' into 4.0

    fabpot committed May 7, 2018
    * 3.4:
      use brace-style regex delimiters
      Fixed typo RecursiveIterator -> RecursiveIteratorIterator
      [Cache] fix logic for fetching tag versions on TagAwareAdapter
      [FrameworkBundle] Use the correct service id for CachePoolPruneCommand in its compiler pass
      Hide short exception trace by default
      [Doctrine Bridge] fix priority for doctrine event listeners
      [Validator] make phpdoc of ObjectInitializerInterface interface more accurate
      [Validator] fixes phpdoc reference to an interface that was removed in Symfony 3.0
  5. Merge branch '2.8' into 3.4

    fabpot committed May 7, 2018
    * 2.8:
      use brace-style regex delimiters
      Fixed typo RecursiveIterator -> RecursiveIteratorIterator
      [Validator] make phpdoc of ObjectInitializerInterface interface more accurate
  6. Merge branch '2.7' into 2.8

    fabpot committed May 7, 2018
    * 2.7:
      use brace-style regex delimiters
      Fixed typo RecursiveIterator -> RecursiveIteratorIterator
      [Validator] make phpdoc of ObjectInitializerInterface interface more accurate
Commits on May 6, 2018
Commits on Apr 30, 2018
  1. minor #27087 [HttpFoundation] Rename HeaderUtils methods (c960657)

    fabpot committed Apr 30, 2018
    This PR was merged into the 4.1-dev branch.
    
    Discussion
    ----------
    
    [HttpFoundation] Rename HeaderUtils methods
    
    | Q             | A
    | ------------- | ---
    | Branch?       | master
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #27026
    | License       | MIT
    | Doc PR        |
    
    Rename new HeaderUtils methods as discussed in #27026.
    
    Commits
    -------
    
    484d1fbd1d [HttpFoundation] Rename HeaderUtils methods
  2. Merge branch '4.0'

    nicolas-grekas committed Apr 30, 2018
    * 4.0:
      PhpDoc: There is no attempt to create the directory
      Avoiding an error when an unused service has a missing base class
      Add an implementation just for php 7.0
      bumped Symfony version to 2.7.47
      Fix #27011: Session ini_set bug
      [Cache] TagAwareAdapterInterface::invalidateTags() should commit deferred items
      updated VERSION for 2.7.46
      update CONTRIBUTORS for 2.7.46
      updated CHANGELOG for 2.7.46
      bug #25844 [HttpKernel] Catch HttpExceptions when templating is not installed
  3. Merge branch '3.4' into 4.0

    nicolas-grekas committed Apr 30, 2018
    * 3.4:
      PhpDoc: There is no attempt to create the directory
      Avoiding an error when an unused service has a missing base class
      Add an implementation just for php 7.0
      bumped Symfony version to 2.7.47
      Fix #27011: Session ini_set bug
      [Cache] TagAwareAdapterInterface::invalidateTags() should commit deferred items
      updated VERSION for 2.7.46
      update CONTRIBUTORS for 2.7.46
      updated CHANGELOG for 2.7.46
      bug #25844 [HttpKernel] Catch HttpExceptions when templating is not installed
  4. Merge branch '2.8' into 3.4

    nicolas-grekas committed Apr 30, 2018
    * 2.8:
      bumped Symfony version to 2.7.47
      Fix #27011: Session ini_set bug
      updated VERSION for 2.7.46
      update CONTRIBUTORS for 2.7.46
      updated CHANGELOG for 2.7.46
  5. Merge branch '2.7' into 2.8

    nicolas-grekas committed Apr 30, 2018
    * 2.7:
      bumped Symfony version to 2.7.47
      Fix #27011: Session ini_set bug
      updated VERSION for 2.7.46
      update CONTRIBUTORS for 2.7.46
      updated CHANGELOG for 2.7.46
Commits on Apr 29, 2018
Commits on Apr 27, 2018
  1. minor #27019 [HttpFoundation] Fixes to new HeaderUtils class (c960657)

    fabpot committed Apr 27, 2018
    This PR was squashed before being merged into the 4.1-dev branch (closes #27019).
    
    Discussion
    ----------
    
    [HttpFoundation] Fixes to new HeaderUtils class
    
    | Q             | A
    | ------------- | ---
    | Branch?       | master
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    A follow-up to #24699 with a few code and documentation fixes for post-merge review comments by @stof.
    
    Commits
    -------
    
    d7c3c79042 [HttpFoundation] Fixes to new HeaderUtils class
  2. Fix #27011: Session ini_set bug

    e-moe committed Apr 26, 2018
Commits on Apr 26, 2018
  1. Merge branch '4.0'

    nicolas-grekas committed Apr 26, 2018
    * 4.0: (22 commits)
      [appveyor] use PHP 7.1 to run composer
      [HttpKernel] Don't clean legacy containers that are still loaded
      [VarDumper] Fix HtmlDumper classes match
      Make the simple auth provider the same as in Symfony 2.7.
      [PhpUnitBridge] silence wget
      fix merge
      [Security] guardAuthenticationProvider::authenticate cannot return null according to interface specification
      [PhpUnitBridge] Fix #26994
      [VarDumper] Remove decoration from actual output in tests
      [PropertyInfo] Minor cleanup and perf improvement
      [Bridge/Doctrine] fix count() notice on PHP 7.2
      [Security] Skip user checks if not implementing UserInterface
      [DI] Add check of internal type to ContainerBuilder::getReflectionClass
      [HttpFoundation] Add HTTP_EARLY_HINTS const
      [DoctrineBridge] Improve exception message at `IdReader::getIdValue()`
      Add type hints
      fixed CS
      Use new PHP7.2 functions in hasColorSupport
      [VarDumper] Fix dumping of SplObjectStorage
      [HttpFoundation] Add functional tests for Response::sendHeaders()
      ...
  2. Merge branch '3.4' into 4.0

    nicolas-grekas committed Apr 26, 2018
    * 3.4: (22 commits)
      [appveyor] use PHP 7.1 to run composer
      [HttpKernel] Don't clean legacy containers that are still loaded
      [VarDumper] Fix HtmlDumper classes match
      Make the simple auth provider the same as in Symfony 2.7.
      [PhpUnitBridge] silence wget
      fix merge
      [Security] guardAuthenticationProvider::authenticate cannot return null according to interface specification
      [PhpUnitBridge] Fix #26994
      [VarDumper] Remove decoration from actual output in tests
      [PropertyInfo] Minor cleanup and perf improvement
      [Bridge/Doctrine] fix count() notice on PHP 7.2
      [Security] Skip user checks if not implementing UserInterface
      [DI] Add check of internal type to ContainerBuilder::getReflectionClass
      [HttpFoundation] Add HTTP_EARLY_HINTS const
      [DoctrineBridge] Improve exception message at `IdReader::getIdValue()`
      Add type hints
      fixed CS
      Use new PHP7.2 functions in hasColorSupport
      [VarDumper] Fix dumping of SplObjectStorage
      [HttpFoundation] Add functional tests for Response::sendHeaders()
      ...
Commits on Apr 25, 2018
  1. Merge branch '2.8' into 3.4

    nicolas-grekas committed Apr 25, 2018
    * 2.8:
      [Security] guardAuthenticationProvider::authenticate cannot return null according to interface specification
      [VarDumper] Remove decoration from actual output in tests
      [PropertyInfo] Minor cleanup and perf improvement
      [Bridge/Doctrine] fix count() notice on PHP 7.2
      [Security] Skip user checks if not implementing UserInterface
      [HttpFoundation] Add HTTP_EARLY_HINTS const
      [DoctrineBridge] Improve exception message at `IdReader::getIdValue()`
      fixed CS
      Use new PHP7.2 functions in hasColorSupport
      [VarDumper] Fix dumping of SplObjectStorage
      Fixed being logged out on failed attempt in guard
  2. Merge branch '2.7' into 2.8

    nicolas-grekas committed Apr 25, 2018
    * 2.7:
      [VarDumper] Remove decoration from actual output in tests
      [Bridge/Doctrine] fix count() notice on PHP 7.2
      [Security] Skip user checks if not implementing UserInterface
      [HttpFoundation] Add HTTP_EARLY_HINTS const
      [DoctrineBridge] Improve exception message at `IdReader::getIdValue()`
      fixed CS
      Use new PHP7.2 functions in hasColorSupport
      [VarDumper] Fix dumping of SplObjectStorage
Commits on Apr 23, 2018
Commits on Apr 22, 2018
  1. feature #24699 [HttpFoundation] Add HeaderUtils class (c960657)

    fabpot committed Apr 22, 2018
    This PR was merged into the 4.1-dev branch.
    
    Discussion
    ----------
    
    [HttpFoundation] Add HeaderUtils class
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | yes
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    In several places in HttpFoundation we parse HTTP header values using a variety of regular expressions. Some of them fail in various corner cases.
    
    Parsing HTTP headers is not entirely trivial. We must be able to parse quoted strings with backslash escaping properly and ignore white-space in certain places.
    
    In practice, our limitations in this respect may not be a big problem. We only care about a few different HTTP request headers, and they are usually restricted to a simple values without quoted strings etc. However, this is no excuse for not doing it right :-)
    
    This PR introduces a new utility class for parsing headers. This allows Symfony itself and third-party code to parse HTTP headers in a robust way without using complex regular expressions that are difficult to write and error prone.
    
    Commits
    -------
    
    b435e80cae [HttpFoundation] Add HeaderUtility class
  2. bug #25348 [HttpFoundation] Send cookies using header() to fix "SameS…

    fabpot committed Apr 22, 2018
    …ite" ones (nicolas-grekas, cvilleger)
    
    This PR was merged into the 3.4 branch.
    
    Discussion
    ----------
    
    [HttpFoundation] Send cookies using header() to fix "SameSite" ones
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #25344
    | License       | MIT
    | Doc PR        | -
    
    Commits
    -------
    
    73fec237da [HttpFoundation] Add functional tests for Response::sendHeaders()
    e350ea000f [HttpFoundation] Send cookies using header() to fix "SameSite" ones
Commits on Apr 20, 2018