Permalink
Commits on Jul 6, 2017
  1. feature #22762 [Yaml] Support tagged scalars (GuilhemN)

    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    [Yaml] Support tagged scalars
    
    | Q             | A
    | ------------- | ---
    | Branch?       | master
    | Bug fix?      | no
    | New feature?  | yes, replacement of deprecations
    | BC breaks?    | yes
    | Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    Add support of tagged scalars in 4.0.
    
    Commits
    -------
    
    b1e8ebc6ac [Yaml] Support tagged scalars
    fabpot committed Jul 6, 2017
Commits on Jul 4, 2017
  1. Add some meta infos

    maidmaid committed Jul 4, 2017
  2. Remove !str support

    maidmaid committed Jul 4, 2017
Commits on Jul 3, 2017
  1. Merge branch '3.4'

    * 3.4:
      [Console] Fix descriptor tests
      Change wording from object to subject
      add changelog entry for Stopwatch::reset()
      Add DateCaster
      [Dotenv] parse concatenated variable values
      [Yaml] deprecate the !str tag
      Add filter in VarDumperTestTrait
      Support for parsing PHP constants in yaml loader
    fabpot committed Jul 3, 2017
  2. feature #23288 [Yaml] deprecate the !str tag (xabbuh)

    This PR was merged into the 3.4 branch.
    
    Discussion
    ----------
    
    [Yaml] deprecate the !str tag
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | yes
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    The tag specified in the YAML spec is actually !!str.
    
    Commits
    -------
    
    976b93a040 [Yaml] deprecate the !str tag
    fabpot committed Jul 3, 2017
Commits on Jun 30, 2017
  1. Merge branch '3.4'

    * 3.4:
      [Yaml] fix the displayed line number
      feature #23294 [Yaml][Lint] Add line numbers to JSON output. (WybrenKoelmans)
    fabpot committed Jun 30, 2017
  2. [Yaml] fix the displayed line number

    `getRealCurrentLineNb()` returns line numbers index by 0 (as they serve
    as array indexes internally).
    xabbuh committed Jun 30, 2017
  3. feature #23294 [Yaml][Lint] Add line numbers to JSON output. (WybrenK…

    …oelmans)
    
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    [Yaml][Lint] Add line numbers to JSON output.
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 2.7?
    | Bug fix?      | no?
    | New feature?  | yes?
    | BC breaks?    | no?
    | Deprecations? | no?
    | Tests pass?   | Hopefully
    | Fixed tickets | n/a
    | License       | MIT
    | Doc PR        | TODO?
    
    - [ ] Run tests?
    - [ ] Check if it will break BC?
    - [ ] Update changelog?
    
    The JSON output is not very useful for me without the line number. I don't want to have to parse it from the message.
    
    Is this the right way of doing it?
    
    With PR:
    ```
    [
        {
            "file": "",
            "line": 13,
            "valid": false,
            "message": "Unable to parse at line 13 (near \"sdf \")."
        }
    ]
    ```
    
    Before:
    ```
    [
        {
            "file": "",
            "valid": false,
            "message": "Unable to parse at line 13 (near \"sdf \")."
        }
    ]
    ```
    
    Commits
    -------
    
    c6d19b1976 [Yaml][Twig][Lint] Added line numbers to JSON output.
    fabpot committed with xabbuh Jun 29, 2017
Commits on Jun 29, 2017
Commits on Jun 25, 2017
  1. [Yaml] Support tagged scalars

    GuilhemN committed May 18, 2017
  2. [Yaml] deprecate the !str tag

    The tag specified in the YAML spec is actually !!str.
    xabbuh committed Jun 24, 2017
Commits on Jun 24, 2017
  1. Merge branch '3.4'

    * 3.4: (83 commits)
      add missing version attribute
      Show exception is checked twice in ExceptionController of twig
      allow SSI fragments configuration in XML files
      Display a better error message when the toolbar cannot be displayed
      [SecurityBundle] Add user impersonation info and exit action to the profiler
      render hidden _method field in form_rest()
      Add Doctrine Cache to dev dependencies to fix failing unit tests.
      return fallback locales whenever possible
      Fix Predis client cluster with pipeline
      [Dotenv] Test load() with multiple paths
      [Console] Fix catching exception type in QuestionHelper
      Improved the exception page when there is no message
      [WebProfilerBundle] Eliminate line wrap on count columnt (routing)
      [Profiler][Validator] Add a validator panel in profiler
      [Validator] replace hardcoded service id
      [Routing] Fix XmlFileLoader exception message
      Remove duplicate changelog entries
      [DI] Dedup tags when using instanceof/autoconfigure
      [Translation] Fix FileLoader::loadResource() php doc
      [Serializer] Fix workaround min php version
      ...
    xabbuh committed Jun 24, 2017
  2. Merge branch '3.3' into 3.4

    * 3.3: (64 commits)
      Show exception is checked twice in ExceptionController of twig
      allow SSI fragments configuration in XML files
      Display a better error message when the toolbar cannot be displayed
      render hidden _method field in form_rest()
      Add Doctrine Cache to dev dependencies to fix failing unit tests.
      return fallback locales whenever possible
      Fix Predis client cluster with pipeline
      [Dotenv] Test load() with multiple paths
      [Console] Fix catching exception type in QuestionHelper
      Improved the exception page when there is no message
      [WebProfilerBundle] Eliminate line wrap on count columnt (routing)
      [Validator] replace hardcoded service id
      [Routing] Fix XmlFileLoader exception message
      [DI] Dedup tags when using instanceof/autoconfigure
      [Translation] Fix FileLoader::loadResource() php doc
      Sessions: configurable "use_strict_mode" option for NativeSessionStorage
      [FrameworkBundle] [Command] Clean bundle directory, fixes #23177
      fixed CS
      [WebProfilerBundle] Fix the icon for the Cache panel
      [WebServerBundle] Fix router script path and check existence
      ...
    xabbuh committed Jun 24, 2017
Commits on Jun 15, 2017
Commits on Jun 14, 2017
  1. feature #22909 [Yaml] Deprecate using the non-specific tag (GuilhemN)

    This PR was merged into the 3.4 branch.
    
    Discussion
    ----------
    
    [Yaml] Deprecate using the non-specific tag
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | no
    | New feature?  | no <!-- don't forget updating src/**/CHANGELOG.md files -->
    | BC breaks?    | no
    | Deprecations? | yes
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    Values tagged with the non-specific tag must not be transformed in an integer, this tag means that they must not be evaluated (see [the spec](http://www.yaml.org/spec/1.2/spec.html#tag/non-specific/)).
    
    I applied this change in symfony/symfony#22762 to comply with the spec.
    
    Commits
    -------
    
    60f5046661 [Yaml] Deprecate using the non-specific tag
    fabpot committed Jun 14, 2017
  2. Merge branch '3.3' into 3.4

    * 3.3:
      [TwigBundle] Add Doctrine Cache to dev dependencies
      [Yaml] Fix linting yaml with constants as keys
      [Routing] Revert the change in [#b42018] with respect to Routing/Route.php
    nicolas-grekas committed Jun 14, 2017
Commits on Jun 13, 2017
Commits on Jun 12, 2017
  1. Merge branch '3.4'

    * 3.4:
      [FrameworkBundle] removed doctrine/cache as a dependency
      drop hard dependency on the Stopwatch component
      Fix the conditional definition of the SymfonyTestsListener
      [DI] Fix keys resolution in ResolveParameterPlaceHoldersPass
      [FrameworkBundle] Fix colliding service ids
      [FrameworkBundle] deprecated validator.mapping.cache.doctrine.apc
      remove now useless condition
      Lazy load security listeners
      [EventDispatcher] Remove dead code in WrappedListener
      [Process] Deprecate ProcessBuilder
      Fix non-dumped voters in security panel
      search case insensitive
      [VarDumper] Cyclic searching dumps
      [Yaml] Remove line number in deprecation notices
      [SecurityBundle] Made 2 service aliases private
      Automatically enable the routing annotation loader
      [FrameworkBundle] KernelTestCase: deprecate not using KERNEL_CLASS
    fabpot committed Jun 12, 2017
  2. Merge branch '3.3' into 3.4

    * 3.3:
      Fix the conditional definition of the SymfonyTestsListener
      [DI] Fix keys resolution in ResolveParameterPlaceHoldersPass
      [EventDispatcher] Remove dead code in WrappedListener
      Fix non-dumped voters in security panel
      [Yaml] Remove line number in deprecation notices
      [SecurityBundle] Made 2 service aliases private
    nicolas-grekas committed Jun 12, 2017
Commits on Jun 8, 2017
Commits on Jun 7, 2017
Commits on Jun 2, 2017
  1. Merge branch '3.3' into 3.4

    * 3.3:
      [Yaml] Clarify "incompatible key casting" deprecation message
      minor #23043 add \ to PHP_VERSION_ID fixes #22650
      [PhpUnitBridge] Fix detection of PHPUnit 5
      Adding a new event subscriber that "parses" the _controller attribute in the FW
    nicolas-grekas committed Jun 2, 2017
  2. minor #23031 [Yaml] Clarify "incompatible key casting" deprecation me…

    …ssage (rvanlaak)
    
    This PR was squashed before being merged into the 3.3 branch (closes #23031).
    
    Discussion
    ----------
    
    [Yaml] Clarify "incompatible key casting" deprecation message
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.3
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | N/A
    | License       | MIT
    | Doc PR        | N/A
    
    In the process of upgrading to Symfony 3.3 our Yaml linter tests started throwing errors. The exception was a bit unclear to us, so hope this message will help others with fixing their deprecations as well.
    
    Commits
    -------
    
    67895f4dd3 [Yaml] Clarify "incompatible key casting" deprecation message
    fabpot committed Jun 2, 2017
  3. Merge branch '3.3' into 3.4

    * 3.3:
      Fix optional cache warmers are always instantiated whereas they should be lazy-loaded
      add some \ on PHP_VERSION_ID for 2.8
      [Di] Remove closure-proxy arguments
      [PropertyInfo][DoctrineBridge] The bigint Doctrine's type must be converted to string
    nicolas-grekas committed Jun 2, 2017
  4. Merge branch '3.2' into 3.3

    * 3.2:
      Fix optional cache warmers are always instantiated whereas they should be lazy-loaded
      add some \ on PHP_VERSION_ID for 2.8
      [PropertyInfo][DoctrineBridge] The bigint Doctrine's type must be converted to string
    nicolas-grekas committed Jun 2, 2017
  5. Merge branch '2.8' into 3.2

    * 2.8:
      Fix optional cache warmers are always instantiated whereas they should be lazy-loaded
      add some \ on PHP_VERSION_ID for 2.8
      [PropertyInfo][DoctrineBridge] The bigint Doctrine's type must be converted to string
    nicolas-grekas committed Jun 2, 2017
Commits on Jun 1, 2017
  1. Merge branch '2.7' into 2.8

    * 2.7:
      Using FQ name for PHP_VERSION_ID
      [Form] Fix \IntlDateFormatter timezone parameter usage to bypass PHP bug #66323
      Harden the debugging of Twig filters and functions
      bumped Symfony version to 2.7.29
      updated VERSION for 2.7.28
      update CONTRIBUTORS for 2.7.28
      updated CHANGELOG for 2.7.28
    fabpot committed Jun 1, 2017
Commits on May 28, 2017
  1. Merge branch '3.4'

    * 3.4:
      typo
      Fixed options stub values display in form profiler
      [Console] Fix tests
      Make the simple exception pages match the new style
      [Console] Fixed different behaviour of key and value user inputs in multiple choice question
      Adjust PHPUnit class_alias check to also check for namespaced class
      [Cache] Dont use pipelining with RedisCluster
      [Yaml] fix colon without space deprecation
      [Intl] Fix intl tests for PHP < 5.5.10
    nicolas-grekas committed May 28, 2017
  2. Merge branch '3.3' into 3.4

    * 3.3:
      typo
      Fixed options stub values display in form profiler
      [Console] Fix tests
      Make the simple exception pages match the new style
      [Console] Fixed different behaviour of key and value user inputs in multiple choice question
      Adjust PHPUnit class_alias check to also check for namespaced class
      [Cache] Dont use pipelining with RedisCluster
      [Yaml] fix colon without space deprecation
      [Intl] Fix intl tests for PHP < 5.5.10
    nicolas-grekas committed May 28, 2017
  3. Merge branch '3.2' into 3.3

    * 3.2:
      typo
      [Console] Fix tests
      [Console] Fixed different behaviour of key and value user inputs in multiple choice question
      [Cache] Dont use pipelining with RedisCluster
      [Yaml] fix colon without space deprecation
      [Intl] Fix intl tests for PHP < 5.5.10
    nicolas-grekas committed May 28, 2017
Commits on May 25, 2017
  1. bug #22829 [Yaml] fix colon without space deprecation (xabbuh)

    This PR was merged into the 3.2 branch.
    
    Discussion
    ----------
    
    [Yaml] fix colon without space deprecation
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.2
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    A colon after a mapping key that is not followed by a space is valid if the mapping key is quoted.
    
    Commits
    -------
    
    57f6941e25 [Yaml] fix colon without space deprecation
    fabpot committed May 25, 2017
  2. minor #22885 [3.4] Allow 4.* deps (nicolas-grekas)

    This PR was merged into the 3.4 branch.
    
    Discussion
    ----------
    
    [3.4] Allow 4.* deps
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #22756
    | License       | MIT
    | Doc PR        | -
    
    This is implementing option 3 as described in #22756.
    See #22769 for corresponding PR on 2.8: everything goes well and this allows catching a few more potential mistakes.
    
    Commits
    -------
    
    c3e1646af8 [3.4] Allow 4.* deps
    fabpot committed May 25, 2017