Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 27, 2015
  1. @dunglas

    minor #14151 Removed deprecations in Serializer component (dosten)

    dunglas authored
    This PR was squashed before being merged into the master branch (closes #14151).
    
    Discussion
    ----------
    
    Removed deprecations in Serializer component
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    Commits
    -------
    
    e90e9b2 Removed deprecations in Serializer component
  2. @dosten @dunglas

    Removed deprecations in Serializer component

    dosten authored dunglas committed
Commits on Apr 24, 2015
  1. @nicolas-grekas

    [Debug] Fix tests

    nicolas-grekas authored
  2. @nicolas-grekas

    Merge branch '2.8'

    nicolas-grekas authored
    * 2.8:
      Fix test
  3. @nicolas-grekas

    Merge branch '2.7' into 2.8

    nicolas-grekas authored
    * 2.7:
      Fix test
  4. @nicolas-grekas

    Fix test

    nicolas-grekas authored
  5. @nicolas-grekas

    Merge branch '2.8'

    nicolas-grekas authored
    * 2.8:
      [Debug] Fix deprecated use of DebugClassLoader
      Revert "[HttpKernel] Throw a LogicException when kernel.exception does not led to a Response"
      [Validator] Fixed Choice when an empty array is used in the "choices" option
  6. @nicolas-grekas

    Merge branch '2.7' into 2.8

    nicolas-grekas authored
    * 2.7:
      [Debug] Fix deprecated use of DebugClassLoader
      Revert "[HttpKernel] Throw a LogicException when kernel.exception does not led to a Response"
      [Validator] Fixed Choice when an empty array is used in the "choices" option
  7. @nicolas-grekas

    feature #14462 Revert "[HttpKernel] Throw a LogicException when kerne…

    nicolas-grekas authored
    …l.exception does not led to a Response" (nicolas-grekas)
    
    This PR was merged into the 2.7 branch.
    
    Discussion
    ----------
    
    Revert "[HttpKernel] Throw a LogicException when kernel.exception does not led to a Response"
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    This partially reverts commit 22f4807:
    it broke BC (see silexphp/Silex#1142 and 22f4807#commitcomment-10857485)
    
    Commits
    -------
    
    10c5ffb Revert "[HttpKernel] Throw a LogicException when kernel.exception does not led to a Response"
  8. @nicolas-grekas

    Merge branch '2.6' into 2.7

    nicolas-grekas authored
    * 2.6:
      [Debug] Fix deprecated use of DebugClassLoader
      [Validator] Fixed Choice when an empty array is used in the "choices" option
  9. @nicolas-grekas

    minor #14464 [Debug] Fix deprecated use of DebugClassLoader (nicolas-…

    nicolas-grekas authored
    …grekas)
    
    This PR was merged into the 2.6 branch.
    
    Discussion
    ----------
    
    [Debug] Fix deprecated use of DebugClassLoader
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    Commits
    -------
    
    4a6100a [Debug] Fix deprecated use of DebugClassLoader
  10. @nicolas-grekas
  11. @webmozart

    bug #14448 [Validator] Fixed Choice when an empty array is used in th…

    webmozart authored
    …e "choices" option (webmozart)
    
    This PR was merged into the 2.6 branch.
    
    Discussion
    ----------
    
    [Validator] Fixed Choice when an empty array is used in the "choices" option
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #13853
    | License       | MIT
    | Doc PR        | -
    
    Commits
    -------
    
    a5a41b2 [Validator] Fixed Choice when an empty array is used in the "choices" option
  12. @nicolas-grekas

    Revert "[HttpKernel] Throw a LogicException when kernel.exception doe…

    nicolas-grekas authored
    …s not led to a Response"
    
    This partially reverts commit 22f4807.
  13. @nicolas-grekas

    Merge branch '2.8'

    nicolas-grekas authored
    * 2.8: (61 commits)
      [Debug] Fix ClassNotFoundFatalErrorHandler candidates lookups
      [2.6][Translator] Extend, refactor and simplify Translator tests.
      [VarDumper] Allow preserving a subset of cut arrays
      [Console] Bind the closure (code) to the Command if possible
      [VarDumper] Added support for SplFileObject
      [VarDumper] Added support for SplFileInfo
      Update DebugClassLoader.php
      inject asset packages in assets helper service
      [travis] Do not exclude legacy tests on 2.7
      [HttpFoundation] remove getExtension method
      [2.6][Translation] fix legacy tests.
      [Form] Removed remaining deprecation notices in the test suite
      [Form] Moved deprecation notice triggers to file level
      [Debug] Map PHP errors to LogLevel::CRITICAL
      [FrameworkBundle][Server Command] add address port number option.
      [Routing][DependencyInjection] Support .yaml extension in YAML loaders
      [DX] improve file loader error for router/other resources in bundle
      [FrameworkBundle] Initialize translator with the default locale.
      [FrameworkBundle] Fix Routing\DelegatingLoader resiliency to fatal errors
      [2.7][Translation] remove duplicate code for loading catalogue.
      ...
    
    Conflicts:
    	composer.json
    	src/Symfony/Bridge/Swiftmailer/composer.json
    	src/Symfony/Component/Console/Helper/DialogHelper.php
    	src/Symfony/Component/Debug/ErrorHandler.php
    	src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php
    	src/Symfony/Component/Form/Extension/HttpFoundation/EventListener/BindRequestListener.php
    	src/Symfony/Component/Locale/composer.json
  14. @nicolas-grekas

    Merge branch '2.7' into 2.8

    nicolas-grekas authored
    * 2.7: (40 commits)
      [Debug] Fix ClassNotFoundFatalErrorHandler candidates lookups
      [2.6][Translator] Extend, refactor and simplify Translator tests.
      Update DebugClassLoader.php
      inject asset packages in assets helper service
      [travis] Do not exclude legacy tests on 2.7
      [HttpFoundation] remove getExtension method
      [2.6][Translation] fix legacy tests.
      [Form] Removed remaining deprecation notices in the test suite
      [Form] Moved deprecation notice triggers to file level
      [Debug] Map PHP errors to LogLevel::CRITICAL
      [Routing][DependencyInjection] Support .yaml extension in YAML loaders
      [DX] improve file loader error for router/other resources in bundle
      [FrameworkBundle] Initialize translator with the default locale.
      [FrameworkBundle] Fix Routing\DelegatingLoader resiliency to fatal errors
      [2.7][Translation] remove duplicate code for loading catalogue.
      [2.6][Translation] remove duplicate code for loading catalogue.
      [HttpKernel] Cleanup ExceptionListener
      CS fixes
      [DependencyInjection] Show better error when the Yaml component is not installed
      [2.3] SCA for Components - reference mismatches
      ...
  15. @nicolas-grekas

    Merge branch '2.6' into 2.7

    nicolas-grekas authored
    * 2.6:
      [Debug] Fix ClassNotFoundFatalErrorHandler candidates lookups
      [2.6][Translator] Extend, refactor and simplify Translator tests.
    
    Conflicts:
    	src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php
    	src/Symfony/Component/Translation/Tests/TranslatorCacheTest.php
  16. @nicolas-grekas

    minor #14418 [travis] Do not exclude legacy tests on 2.7 (nicolas-gre…

    nicolas-grekas authored
    …kas)
    
    This PR was merged into the 2.7 branch.
    
    Discussion
    ----------
    
    [travis] Do not exclude legacy tests on 2.7
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    This is to be reverted on 2.8, where legacy tests should be excluded.
    
    Commits
    -------
    
    8e39a08 [travis] Do not exclude legacy tests on 2.7
  17. @nicolas-grekas

    bug #14451 [Debug] Fix ClassNotFoundFatalErrorHandler candidates look…

    nicolas-grekas authored
    …ups (nicolas-grekas)
    
    This PR was merged into the 2.6 branch.
    
    Discussion
    ----------
    
    [Debug] Fix ClassNotFoundFatalErrorHandler candidates lookups
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #14447
    | License       | MIT
    | Doc PR        | -
    
    This is already tested: 2.7 fails because this patch is missing.
    
    Commits
    -------
    
    98ed078 [Debug] Fix ClassNotFoundFatalErrorHandler candidates lookups
Commits on Apr 23, 2015
  1. @nicolas-grekas

    feature #14443 [VarDumper] Allow preserving a subset of cut arrays (n…

    nicolas-grekas authored
    …icolas-grekas)
    
    This PR was merged into the 2.8 branch.
    
    Discussion
    ----------
    
    [VarDumper] Allow preserving a subset of cut arrays
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    Commits
    -------
    
    208ca94 [VarDumper] Allow preserving a subset of cut arrays
  2. @stof

    feature #14431 [Console] Bind the closure (code) to the Command if po…

    stof authored
    …ssible (lyrixx)
    
    This PR was merged into the 2.8 branch.
    
    Discussion
    ----------
    
    [Console] Bind the closure (code) to the Command if possible
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | ~
    | License       | MIT
    | Doc PR        | ~
    
    This allow this kind of code:
    
    ```php
    #!/usr/bin/env php
    <?php
    
    require __DIR__.'/vendor/autoload.php';
    
    use Symfony\Component\Console\Application;
    use Symfony\Component\Console\Command\Command;
    use Symfony\Component\Console\Input\InputInterface;
    use Symfony\Component\Console\Output\OutputInterface;
    
    $application = new Application();
    
    $application->add((new Command('process')))
        ->setDescription('Play all other commands')
        ->setCode(function (InputInterface $input, OutputInterface $output) use ($application) {
            $application = $this->getApplication();
            $help = $application->find('help');
            $output->writeln($help->getHelp());
        })
    ;
    $application->run();
    ```
    
    Commits
    -------
    
    ff4424a [Console] Bind the closure (code) to the Command if possible
  3. @nicolas-grekas
Commits on Apr 22, 2015
  1. @aitboudad

    minor #14437 [2.6][Translator] Extend, refactor and simplify Translat…

    aitboudad authored
    …or tests. (mpdude)
    
    This PR was squashed before being merged into the 2.6 branch (closes #14437).
    
    Discussion
    ----------
    
    [2.6][Translator] Extend, refactor and simplify Translator tests.
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Fixed tickets  | ~
    | Tests pass?   | yes
    | License       | MIT
    
    These are the improvements from #14291 that we can easily backport to the 2.6 branch as requested [here](#14291 (comment)).
    
    Commits
    -------
    
    a8c4471 [2.6][Translator] Extend, refactor and simplify Translator tests.
  2. @mpdude @aitboudad
  3. @webmozart
  4. @nicolas-grekas
  5. @nicolas-grekas

    feature #14424 [VarDumper] Added support for SplFileInfo (lyrixx)

    nicolas-grekas authored
    This PR was merged into the 2.8 branch.
    
    Discussion
    ----------
    
    [VarDumper] Added support for SplFileInfo
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | ~
    | License       | MIT
    | Doc PR        | ~
    
    Before:
    ```
    SplFileInfo {#3}
    ```
    
    After:
    ```
    SplFileInfo {#3
      path: "/home/greg/dev/github.com/lyrixx/gaga-photo/fixtures"
      filename: "grisou.jpg"
      basename: "grisou.jpg"
      pathname: "/home/greg/dev/github.com/lyrixx/gaga-photo/fixtures/grisou.jpg"
      extension: "jpg"
      realPath: "/home/greg/dev/github.com/lyrixx/gaga-photo/fixtures/grisou.jpg"
      aTime: 2015-04-20 23:21:15
      mTime: 2014-08-17 15:37:36
      cTime: 2015-04-20 23:09:51
      inode: 12197643
      size: 966553
      perms: 0100750
      owner: 1000
      group: 1000
      type: "file"
      writable: true
      readable: true
      executable: true
      file: true
      dir: false
      link: false
    }
    ```
    
    For a link:
    
    ```
    SplFileInfo {#3
      path: ""
      filename: "link"
      basename: "link"
      pathname: "link"
      extension: ""
      realPath: "/home/greg/dev/github.com/symfony/var-dumper/composer.json"
      aTime: 2015-04-20 23:39:15
      mTime: 2015-04-20 23:39:15
      cTime: 2015-04-20 23:39:15
      inode: 11272232
      size: 967
      perms: 0100644
      owner: 1000
      group: 1000
      type: "link"
      writable: true
      readable: true
      executable: false
      file: true
      dir: false
      link: true
      linkTarget: "composer.json"
    }
    ```
    
    For a remote file:
    
    ```
    SplFileInfo {#3
      path: "http://google.com"
      filename: "foobar.php"
      basename: "foobar.php"
      pathname: "http://google.com/foobar.php"
      extension: "php"
      realPath: false
      writable: false
      readable: false
      executable: false
      file: false
      dir: false
      link: false
    }
    ```
    
    For a CSV:
    ```
    SplFileObject {#3
      path: ""
      filename: "test.csv"
      basename: "test.csv"
      pathname: "test.csv"
      extension: "csv"
      realPath: "/home/greg/dev/github.com/symfony/var-dumper/test.csv"
      aTime: 2015-04-21 12:55:07
      mTime: 2015-04-21 12:55:07
      cTime: 2015-04-21 12:55:07
      inode: 11272237
      size: 0
      perms: 0100644
      owner: 1000
      group: 1000
      type: "file"
      writable: true
      readable: true
      executable: false
      file: true
      dir: false
      link: false
      csvControl: array:2 [
        0 => ","
        1 => """
      ]
      flags: SKIP_EMPTY|READ_CSV
      maxLineLen: 0
      fstat: array:7 [
        "dev" => 64513
        "ino" => 11272237
        "nlink" => 1
        "rdev" => 0
        "blksize" => 4096
        "blocks" => 0
        "…" => "…20"
      ]
      eof: false
      key: 0
    }
    
    Commits
    -------
    
    e75c233 [VarDumper] Added support for SplFileObject
    eb50b13 [VarDumper] Added support for SplFileInfo
  6. @lyrixx
Commits on Apr 21, 2015
  1. @lyrixx
  2. @lyrixx
  3. @fabpot

    bug #14422 Update DebugClassLoader.php (userfriendly)

    fabpot authored
    This PR was merged into the 2.7 branch.
    
    Discussion
    ----------
    
    Update DebugClassLoader.php
    
    Using name property of ReflectionClass instance in strncmp instead of __toString() return value, the latter seemed to breaking one of hte vendor bundles we use, and it seems fine now with the former.
    
    Commits
    -------
    
    dcc6586 Update DebugClassLoader.php
  4. @fabpot

    bug #14419 inject asset packages in assets helper service (xabbuh)

    fabpot authored
    This PR was merged into the 2.7 branch.
    
    Discussion
    ----------
    
    inject asset packages in assets helper service
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #14368
    | License       | MIT
    | Doc PR        |
    
    Commits
    -------
    
    6928507 inject asset packages in assets helper service
Commits on Apr 20, 2015
  1. @userfriendly

    Update DebugClassLoader.php

    userfriendly authored
    Using name property of ReflectionClass instance in strncmp instead of __toString() return value, the latter seemed to breaking one of hte vendor bundles we use, and it seems fine now with the former.
  2. @xabbuh
  3. @nicolas-grekas
Something went wrong with that request. Please try again.