Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 21, 2015
  1. @keradus
Commits on Mar 7, 2015
  1. @kalessil

    Php Inspections (EA Extended) - static code analysis includes:

    kalessil authored
    Reduce couple count calls in [Yaml]
    Modernize type casting, fix several strict comparisons
    Unsets merged
    Elvis operator usage
    Short syntax for applied operations
  2. @kalessil @fabpot

    [2.3] [Config] [Console] [DependencyInjection] [DomCrawler] [Form] [H…

    kalessil authored fabpot committed
    …ttpKernel] [PropertyAccess] [Security] [Translation] [Yaml] static code analysis, code cleanup
Commits on Feb 24, 2015
  1. @nicolas-grekas
Commits on Feb 8, 2015
  1. @fabpot
Commits on Feb 5, 2015
  1. @fabpot

    [YAML] Fix one-liners to work with multiple new lines

    Alex Pott authored fabpot committed
Commits on Jan 25, 2015
  1. @fabpot

    bug #13352 [Yaml] fixed parse shortcut Key after unindented collectio…

    fabpot authored
    …n. (aitboudad)
    
    This PR was merged into the 2.3 branch.
    
    Discussion
    ----------
    
    [Yaml] fixed parse shortcut Key after unindented collection.
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Fixed tickets  | #13345, #8093, #11019 and #10885
    | Tests pass?   | yes
    | License       | MIT
    
    Commits
    -------
    
    58a7426 [Yaml] fixed parse shortcut Key after unindented collection.
Commits on Jan 16, 2015
  1. @xabbuh
  2. @fabpot

    bug #13262 [Yaml] Improve YAML boolean escaping (petert82, larowlan)

    fabpot authored
    This PR was merged into the 2.3 branch.
    
    Discussion
    ----------
    
    [Yaml] Improve YAML boolean escaping
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #13209
    | License       | MIT
    | Doc PR        | None
    
    This PR ensures that PHP [values which would be interpreted as booleans][1] in older versions of the YAML spec are escaped with single quotes when dumped by the Dumper.
    
    For example, dumping this:
    
    ```php
    array(
        'country_code' => 'no',
        'speaks_norwegian' => 'y',
        'heating' => 'on',
    )
    ```
    
    Will produce this YAML:
    
    ```yaml
    country_code: 'no'
    speaks_norwegian: 'y'
    heating: 'on'
    ```
    
    [1]: http://yaml.org/type/bool.html
    
    Commits
    -------
    
    8fa056b Inline private 'is quoting required' methods in Escaper
    afe827a Merge pull request #2 from larowlan/patch-2
    a0ec0fe Add comment as requested
    1e0633e Merge pull request #1 from larowlan/patch-1
    81a8090 Remove duplicate 'require'
    3760e67 [Yaml] Improve YAML boolean escaping
  3. @petert82
Commits on Jan 11, 2015
  1. @aitboudad
Commits on Jan 9, 2015
  1. @VictoriaQ @fabpot

    [Yaml] Fixed #10597: Improved Yaml directive parsing

    VictoriaQ authored fabpot committed
Commits on Jan 6, 2015
  1. @larowlan

    Add comment as requested

    larowlan authored
  2. @larowlan

    Remove duplicate 'require'

    larowlan authored
Commits on Jan 5, 2015
  1. @petert82

    [Yaml] Improve YAML boolean escaping

    petert82 authored
    - Moves dumping single-quoting logic into Yaml\Escaper
    - Ensures that PHP values which would be interpreted as booleans in
      older versions of the YAML spec are escaped with single quotes when
      dumped by the Dumper.
Commits on Jan 3, 2015
  1. @xelaris

    [Yaml] Update README.md

    xelaris authored
    The ability to pass file names to Yaml::parse() was deprecated in 2.2 and will be removed in 3.0. So show an up-to-date example.
Commits on Jan 1, 2015
  1. @saro0h

    Updated copyright to 2015

    saro0h authored
Commits on Dec 29, 2014
  1. @stof

    Fix phpdoc and coding standards

    stof authored
    This removes the unused use statements which were not catched by
    PHP-CS-Fixer because of string occurences. It also fixes some invalid
    phpdoc (scalar is not recognized as a valid type for instance).
Commits on Dec 22, 2014
  1. @GrahamCampbell @fabpot

    [2.3] CS And DocBlock Fixes

    GrahamCampbell authored fabpot committed
Commits on Dec 18, 2014
  1. @saro0h
Commits on Dec 3, 2014
  1. @GrahamCampbell

    Removed unused imports

    GrahamCampbell authored
Commits on Dec 2, 2014
  1. @GrahamCampbell

    PSR-2 fixes

    GrahamCampbell authored
Commits on Nov 30, 2014
  1. @GrahamCampbell

    Docblock fixes

    GrahamCampbell authored
Commits on Nov 17, 2014
  1. @xabbuh

    compare version using PHP_VERSION_ID

    xabbuh authored
    To let opcode caches optimize cached code, the `PHP_VERSION_ID`
    constant is used to detect the current PHP version instead of calling
    `version_compare()` with `PHP_VERSION`.
Commits on Nov 16, 2014
  1. @fabpot

    minor #12372 [Yaml] don't override internal PHP constants (xabbuh)

    fabpot authored
    This PR was merged into the 2.3 branch.
    
    Discussion
    ----------
    
    [Yaml] don't override internal PHP constants
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #11783
    | License       | MIT
    | Doc PR        |
    
    Commits
    -------
    
    376cc03 don't override internal PHP constants
  2. @xabbuh
Commits on Nov 1, 2014
  1. @xabbuh

    improve error message for multiple documents

    xabbuh authored
    The YAML parser doesn't support multiple documents. This pull requests
    improves the error message when the parser detects multiple YAML
    documents.
Commits on Oct 26, 2014
  1. @disquedur @fabpot

    Remove aligned '=>' and '='

    disquedur authored fabpot committed
Commits on Oct 1, 2014
  1. @lologhi @fabpot

    [Doc] Use Markdown syntax highlighting

    lologhi authored fabpot committed
Commits on Sep 22, 2014
  1. @fabpot

    fixed CS

    fabpot authored
Commits on Sep 15, 2014
  1. @fabpot

    bug #11799 [YAML] fix handling of empty sequence items (xabbuh)

    fabpot authored
    This PR was merged into the 2.3 branch.
    
    Discussion
    ----------
    
    [YAML] fix handling of empty sequence items
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #11798
    | License       | MIT
    | Doc PR        |
    
    When a line contains only a dash it cannot safely be assumed that it contains a nested list or an embedded mapping. If the next line starts with a dash at the same indentation, the current line's item is to be treated as `null`.
    
    Commits
    -------
    
    fc85435 fix handling of empty sequence items
Commits on Sep 4, 2014
  1. @xabbuh
Commits on Sep 3, 2014
  1. @xabbuh

    improve error when detecting unquoted asterisks

    xabbuh authored
    Asterisks in unquoted strings are used in YAML to reference
    variables. Before Symfony 2.3.19, Symfony 2.4.9 and Symfony 2.5.4,
    unquoted asterisks in inlined YAML code were treated as regular
    strings. This was fixed for the inline parser in #11677. However, an
    unquoted * character now led to an error message like this:
    
    ```
    PHP Warning:  array_key_exists(): The first argument should be either a string or an integer in vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php on line 409
    
      [Symfony\Component\Yaml\Exception\ParseException]
      Reference "" does not exist at line 171 (near "- { foo: * }").
    ```
Commits on Aug 29, 2014
  1. @xabbuh

    fix handling of empty sequence items

    xabbuh authored
    When a line contains only a dash it cannot safely be assumed that
    it contains a nested list or an embedded mapping. If the next line
    starts with a dash at the same indentation, the current line's item
    is to be treated as `null`.
Commits on Aug 28, 2014
  1. @fabpot
Something went wrong with that request. Please try again.