Commits on Mar 1, 2013
  1. Merge branch '2.1' into 2.2

    fabpot committed Mar 1, 2013
    * 2.1:
      Options small typo
      [Console] fixed unparsed StringInput tokens
      [TwigBridge] fixed trans twig extractor
      [DomCrawler] fix handling of schemes by Link::getUri()
      [Console] Fixed comment
      [TwigBridge] fixed the translator extractor that were not trimming the text in trans tags (closes #7056)
      Fixed handling absent href attribute in base tag
      added a DebuClassLoader::findFile() method to make the wrapping less invasive
      fixed CHANGELOG
      bumped Symfony version to 2.1.9-DEV
      updated VERSION for 2.1.8
      updated CHANGELOG for 2.1.8
      StringInput resets the given options.
Commits on Feb 27, 2013
  1. merged branch lsmith77/debugclassloader_findfile_2_1 (PR #7168)

    fabpot committed Feb 27, 2013
    This PR was merged into the 2.1 branch.
    0690709 added a DebuClassLoader::findFile() method to make the wrapping less invasive
    added a DebuClassLoader::findFile() method to make the wrapping less invasive
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    i have classified it as a bug fix, since due to the wrapping it can break assumptions about the loaded class loader, so implementing this method at least doesnt break the assumption that ``findFile()`` is available.
    actually i think we should also introduced a loader interface to reduce the duct typing
    by stof at 2013-02-24T16:39:46Z
    👎 for the interface:
    - it would make the use of the autoloader more difficult (you would have to require the interface before requiring the loader)
    - it would forbid using these wrappers with the composer ClassLoader
    by digitalkaoz at 2013-02-24T19:16:36Z
    mh, i think all autoloaders should follow a common interface, maybe its worth to think about a PSR?
    by lsmith77 at 2013-02-24T19:27:27Z
    ah I see
    by stof at 2013-02-24T20:33:07Z
    @digitalkaoz Such an interface would have to be in PHP itself, otherwise, you would have to require it first each time (as it cannot be autoloaded before registering the autoloader). And an autoloader in PHP is just a callable.
    by digitalkaoz at 2013-02-24T20:47:10Z
    Yes @stof, i know, but it would be nice if all autoloaders follows a common pattern , call it a convention ;)
Commits on Feb 24, 2013
Commits on Feb 8, 2013
Commits on Feb 1, 2013
Commits on Jan 27, 2013
  1. Merge branch '2.1'

    fabpot committed Jan 27, 2013
    * 2.1:
      [Yaml] fixed wrong merge (indentation default is 4 as of 2.1)
      Fixed missing class argument when throwing exception
Commits on Jan 26, 2013
Commits on Jan 23, 2013
  1. Merge branch '2.1'

    fabpot committed Jan 23, 2013
    * 2.1:
      [DependencyInjection] fixed the creation of synthetic services in ContainerBuilder
      [Security] PHPDoc in SecurityEvents
      Fix typos in README
      Added an error message in the DebugClassLoader when using / instead of \.
      KNOWN_ISSUES with php 5.3.16
      [FrameworkBundle] fixed Client::doRequest that must call its parent method (closes #6737)
      [Yaml] fixed ignored text when parsing an inlined mapping or sequence (closes #6786)
      [Yaml] fixed #6773
      [Yaml] fixed #6770
      bumped Symfony version to 2.1.8-DEV
      bumped Symfony version to 2.0.23-DEV
Commits on Jan 19, 2013
Commits on Jan 17, 2013
  1. Merge branch '2.1'

    fabpot committed Jan 17, 2013
    * 2.1:
      [Yaml] fixed default value
      Added Yaml\Dumper::setIndentation() method to allow a custom indentation level of nested nodes.
      added a way to enable/disable object support when parsing/dumping
      added a way to enable/disable PHP support when parsing a YAML input via Yaml::parse()
      fixed CS
      [Process] Fix docblocks, remove `return` from `PhpProcess#start()` as parent returns nothing, cleaned up `ExecutableFinder`
      fixes a bug when output/error output contains a % character
      [Console] fixed input bug when the value of an option is empty (closes #6649, closes #6689)
      [Profiler] [Redis] Fix sort of profiler rows.
      Fix version_compare() calls for PHP 5.5.
      Removed underscores from test method names to be consistent with other components.
      [Process] In edge cases `getcwd()` can return `false`, then `proc_open()` should get `null` to use default value (the working dir of the current PHP process)
      Fix version_compare() calls for PHP 5.5.
      Handle the deprecation of IntlDateFormatter::setTimeZoneId() in PHP 5.5.
      removed the .gitattributes files (closes #6605, reverts #5674)
      [HttpKernel] Clarify misleading comment in ExceptionListener
Commits on Jan 9, 2013
Commits on Jan 4, 2013
  1. Merge branch '2.0' into 2.1

    fabpot committed Jan 4, 2013
    * 2.0:
      updated license year
      Update src/Symfony/Component/HttpFoundation/Response.php
      [Console] fixed unitialized properties (closes #5935)
      [Bundle] [FrameworkBundle] fixed typo in phpdoc of the SessionListener.
      bumped Symfony version to 2.0.21-DEV
      updated VERSION for 2.0.21
      updated CHANGELOG for 2.0.21
  2. updated license year

    fabpot committed Jan 4, 2013
  3. updated license year

    fabpot committed Jan 4, 2013
Commits on Dec 19, 2012
Commits on Dec 11, 2012
  1. fixed CS

    fabpot committed Dec 11, 2012
Commits on Dec 6, 2012
Commits on Nov 19, 2012
  1. merged branch raziel057/COMPONENT_Form (PR #5888)

    fabpot committed Nov 19, 2012
    This PR was squashed before being merged into the master branch (closes #5888).
    2379d86 CS Fixes - Replaced "array of type" by "Type[]" in PHPDoc block
    CS Fixes - Replaced "array of type" by "Type[]" in PHPDoc block
    Bug fix: no
    Feature addition: no
    Backwards compatibility break: no
    Symfony2 tests pass: no (but tests doesn't pass on master too). See Travis.
    License of the code: MIT
    Documentation PR: Not Applicable
    Status: Finished
    To improve support of the eclipse PDT pluggin (for autocompletion), I propose to change the array notation in PHPDoc blocks to match the phpDocumentor notation for "array of type".
    Modifications are made for the following components:
    - BrowserKit
    - ClassLoader
    - Config
    - Console
    - CssSelector
    - DependencyInjection
    - DomCrawler
    - EventDispatcher (no changes)
    - Filesystem (no changes)
    - Finder
    - Form
    - HttpFoundation
    - HttpKernel
    - Locale
    - OptionResolver (no changes)
    - Process (no changes)
    - Routing (no changes)
    - Serializer (no changes)
    - Templating
    - Translation
    - Validator
    - Yaml (no changes)
    - Security
    - Stopwatch (no changes)
    See Proposal symfony/symfony#5852
    by pborreli at 2012-11-01T15:19:27Z
    will you make a PR for each component ? why not only one PR with one commit for each component instead ?
    by raziel057 at 2012-11-01T15:32:39Z
    Ok, I'm going try to do it.
    by raziel057 at 2012-11-01T16:12:56Z
    I would like to rename my branch from COMPONENT_Form to changes-phpdoc (as all modifications would be commited in only one branch), so I tried to execute the following command but I have an error.
    git remote rename COMPONENT_Form changes-phpdoc
    error: Could not rename config section 'remote.COMPONENT_Form' to 'remote.changes-phpdoc'
    Do you know how to do it?
    by pborreli at 2012-11-01T16:14:26Z
    don't rename it, you will have to close and make another PR which is useless here, just edit the title.
    by stof at 2012-11-01T16:16:17Z
    and ``git remote rename`` is about renaming a remote repo, not a branch
    by raziel057 at 2012-11-03T11:36:02Z
    Is it normal that all my commit are duplicated? I would like just update my master and merge with my branch.
    by fabpot at 2012-11-06T10:22:55Z
    @raziel057 Can you rebase on master? That should fix your problem.
    by fabpot at 2012-11-09T13:28:53Z
    @raziel057 Can you finish this PR?
    by Tobion at 2012-11-09T13:34:45Z
    I'll do it for the routing component this evening because I know it by heart. ^^
    by raziel057 at 2012-11-09T15:06:26Z
    @Tobion ok Thanks!
    @fabpot Yes, I will try to finish it this week end.
    by raziel057 at 2012-11-11T13:04:07Z
    @Tobion Did you already change PHPDoc in the Routing component?
    by Tobion at 2012-11-11T15:21:18Z
    @raziel057 Yes I'm working on it.
    by Tobion at 2012-11-12T15:16:31Z
    @raziel057 Done. See #5994
Commits on Nov 13, 2012
  1. Merge branch '2.1'

    fabpot committed Nov 13, 2012
    * 2.1: (24 commits)
      forced Travis to use source to workaround their not-up-to-date Composer on PHP 5.3.3
      [Routing] removed irrelevant string cast in Route
      Fixed typo
      Make YamlFileLoader and XmlFileLoader file loading extensible
      [HttpKernel] fix typo
      Fixed singularization of "prices"
      [Form] Removed an exception that prevented valid formats from being passed, e.g. "h" for the hour, "L" for the month etc.
      [HttpKernel] fixed Client when using StreamedResponses (closes #5370)
      fixed PDO session handler for Oracle (closes #5829)
      [HttpFoundation] fixed PDO session handler for Oracle (closes #5829)
      [Locale] removed a check that is done too early (and it is done twice anyways)
      Update src/Symfony/Component/Validator/Resources/translations/validators.fa.xlf
      Adding new localized strings for farsi validation.
      [HttpFoundation] moved the HTTP protocol check from StreamedResponse to Response (closes #5937)
      [Form] Fixed forms not to be marked invalid if their children are already marked invalid
      [Form] Excluded some tests in NumberToLocalizedStringTransformerTest which fail on ICU 4.4, but work on ICU 4.8
      added missing tests from previous merge
      [Form] Fixed NumberToLocalizedStringTransformer to accept both comma and dot as decimal separator, if possible
      Fix export-ignore on Windows
      Show correct class name InputArgument in error message
Commits on Nov 10, 2012
  1. Removed duplicate line

    dlsniper committed Nov 10, 2012
Commits on Nov 9, 2012
Commits on Nov 8, 2012
  1. Fix export-ignore on Windows

    gajdaw committed Nov 8, 2012
Commits on Oct 27, 2012
  1. Merge branch '2.1'

    fabpot committed Oct 27, 2012
    * 2.1:
      [ClassLoader] fixed unbracketed namespaces (closes #5747)
      slight refactoring in UrlMatcher
      [Form] Created test for DoctrineOrmTypeGuesser see #5790
      [Form] Fixed DoctrineOrmTypeGuesser to guess the "required" option for to-one associations
  2. Merge branch '2.0' into 2.1

    fabpot committed Oct 27, 2012
    * 2.0:
      [ClassLoader] fixed unbracketed namespaces (closes #5747)
  3. merged branch bamarni/classcollectionloader-globalnamespace (PR #5120)

    fabpot committed Oct 27, 2012
    This PR was merged into the master branch.
    adeadfb fixed comment striping on global namespace classes
    [ClassCollectionLoader] fixed comment striping on global namespace classes
    previously #4792, I've removed the multiple blank lines removal not to break heredocs.
    by stof at 2012-10-13T18:04:56Z
    @fabpot is there anything left to merge this ?
    by bamarni at 2012-10-14T11:47:23Z
    I've added a space when faking a namespace, so that it stils works without the tokenizer (if #5747 gets merged)
Commits on Oct 14, 2012
Commits on Oct 9, 2012
  1. merged branch szicsu/UniversalClassLoader-FIX (PR #5692)

    fabpot committed Oct 9, 2012
    This PR was merged into the master branch.
    f66f110 FIX [2.1][ClassLoader]UniversalClassLoader not working with AnnotationRegistry::registerLoader
    [2.1][ClassLoader]UniversalClassLoader not working with AnnotationRe...
    Bug fix: yes
    Feature addition: no
    Backwards compatibility break: no
    Symfony2 tests pass: yes
    Fixes the following tickets: ~
    Todo: ~
    License of the code: MIT
    Documentation PR: ~
    The Doctrine\Common\Annotations\AnnotationRegistry::loadAnnotationClass examines the returning value of the loader and the load is successful only if the loader returns with "TRUE" value.
    This is how method Symfony\Component\ClassLoader\ClassLoader::loadClass works, but it is not true for Symfony\Component\ClassLoader\UniversalClassLoader::loadClass.
    by sstok at 2012-10-08T09:25:39Z
    As this is a bug fix it should be done on 2.0
    by stof at 2012-10-08T12:49:42Z
    It is not a bugfix. Nothing enforces an autoloader to return a boolean in PHP.
    And Symfony works with the annotation registry since 1.5 year (when it was introduced):
    Btw, if you are using 2.1, I would recommend you to use the new ClassLoader instead of the UniversalClassLoader to autoload PSR-0 libraries. It has a simpler API (and returns the boolean needed by Doctrine) while supporting the same classes than the UniversalClasssLoader (both of them are supporting PSR-0 and nothing else)
Commits on Oct 7, 2012
  1. FIX [2.1][ClassLoader]UniversalClassLoader not working with Annotatio…

    szicsu committed Oct 7, 2012
Commits on Oct 6, 2012
  1. Merge branch '2.1'

    fabpot committed Oct 6, 2012
    * 2.1:
      fixed CS
      added doc comments
      added doc comments
      [Validator] Updated swedish translation
      Update src/Symfony/Component/Validator/Resources/translations/
      [2.1] Exclude tests from zips via gitattributes
      [HttpKernel][Translator] Fixed type-hints
      Updated lithuanian validation translation
      [DomCrawler] Allows using multiselect through Form::setValues().
      [Translation] forced the catalogue to be regenerated when a resource is added (closes symfony/translation#1)
      Unit test for patched method OptionsResolver::validateOptionValues().
      validateOptionValues throw a notice if an allowed value is set and the corresponding option isn't.
      [Form] Hardened code of ViolationMapper against errors
      [HttpFoundation] Fixed #5611 - Request::splitHttpAcceptHeader incorrect result order.
      [Form] Fixed negative index access in PropertyPathBuilder
      Update src/Symfony/Component/Validator/Resources/translations/
Commits on Oct 4, 2012
Commits on Sep 28, 2012
  1. Optimize autoload prefix in composer.json

    Slamdunk committed Sep 28, 2012
    By having more specific autoload prefixes it is possible to reduce the
    number of stat calls made. Also it prevents conflicts with similar