Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 16, 2015
  1. @fabpot

    feature #14155 Removed deprecations in DependencyInjection component …

    fabpot authored
    …(dosten)
    
    This PR was squashed before being merged into the 3.0-dev branch (closes #14155).
    
    Discussion
    ----------
    
    Removed deprecations in DependencyInjection component
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    Commits
    -------
    
    76ff5a9 Removed deprecations in DependencyInjection component
  2. @dosten @fabpot

    Removed deprecations in DependencyInjection component

    dosten authored fabpot committed
Commits on May 12, 2015
  1. @nicolas-grekas

    Merge branch '2.8'

    nicolas-grekas authored
    * 2.8: (77 commits)
      [travis] Use container-based infrastructure
      [HttpKernel] use ConfigCache::getPath() method when it exists
      [PropertyAccess] Fix setting public property on a class having a magic getter
      [Routing] Display file which contain deprecated option
      ContainerInterface: unused exception dropped
      bumped Symfony version to 2.6.8
      updated VERSION for 2.6.7
      updated CHANGELOG for 2.6.7
      bumped Symfony version to 2.3.29
      updated VERSION for 2.3.28
      update CONTRIBUTORS for 2.3.28
      updated CHANGELOG for 2.3.28
      [Debug] Fixed ClassNotFoundFatalErrorHandlerTest
      [SecurityBundle] use access decision constants in config
      [SecurityBundle] use session auth constants in config
      PhpDoc fix in AbstractRememberMeServices
      [FrameworkBundle][DX] Add option to specify additional translation loading paths
      [Filesystem] Simplified an if statement
      fixed CS
      [SecurityBundle] Use Enum Nodes Instead Of Scalar
      ...
    
    Conflicts:
    	CHANGELOG-2.3.md
    	CHANGELOG-2.6.md
    	src/Symfony/Bridge/Swiftmailer/composer.json
    	src/Symfony/Bundle/DebugBundle/composer.json
    	src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php
    	src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/full.xml
    	src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/event_dispatcher_1_event1.txt
    	src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/event_dispatcher_1_events.txt
    	src/Symfony/Component/Debug/DebugClassLoader.php
    	src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php
    	src/Symfony/Component/Form/README.md
    	src/Symfony/Component/Intl/README.md
    	src/Symfony/Component/Locale/composer.json
    	src/Symfony/Component/Routing/Loader/XmlFileLoader.php
    	src/Symfony/Component/Routing/Loader/YamlFileLoader.php
    	src/Symfony/Component/Security/README.md
    	src/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php
    	src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.php
    	src/Symfony/Component/Serializer/Tests/Normalizer/PropertyNormalizerTest.php
    	src/Symfony/Component/Translation/README.md
    	src/Symfony/Component/Validator/README.md
    	src/Symfony/Component/Yaml/Yaml.php
  2. @nicolas-grekas

    Merge branch '2.7' into 2.8

    nicolas-grekas authored
    * 2.7: (70 commits)
      [travis] Use container-based infrastructure
      [HttpKernel] use ConfigCache::getPath() method when it exists
      [PropertyAccess] Fix setting public property on a class having a magic getter
      [Routing] Display file which contain deprecated option
      ContainerInterface: unused exception dropped
      bumped Symfony version to 2.6.8
      updated VERSION for 2.6.7
      updated CHANGELOG for 2.6.7
      bumped Symfony version to 2.3.29
      updated VERSION for 2.3.28
      update CONTRIBUTORS for 2.3.28
      updated CHANGELOG for 2.3.28
      [Debug] Fixed ClassNotFoundFatalErrorHandlerTest
      [SecurityBundle] use access decision constants in config
      [SecurityBundle] use session auth constants in config
      PhpDoc fix in AbstractRememberMeServices
      [Filesystem] Simplified an if statement
      [SecurityBundle] Use Enum Nodes Instead Of Scalar
      [Debug 2.3] Fix test for PHP7
      [HttpKernel] Check if "symfony/proxy-manager-bridge" package is installed
      ...
    
    Conflicts:
    	src/Symfony/Bundle/DebugBundle/composer.json
    	src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php
    	src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php
    	src/Symfony/Component/Form/README.md
    	src/Symfony/Component/Intl/README.md
    	src/Symfony/Component/Security/README.md
    	src/Symfony/Component/Translation/Loader/CsvFileLoader.php
    	src/Symfony/Component/Translation/Loader/IniFileLoader.php
    	src/Symfony/Component/Translation/Loader/MoFileLoader.php
    	src/Symfony/Component/Translation/Loader/PhpFileLoader.php
    	src/Symfony/Component/Translation/Loader/PoFileLoader.php
    	src/Symfony/Component/Translation/Loader/YamlFileLoader.php
    	src/Symfony/Component/Translation/README.md
    	src/Symfony/Component/Translation/Translator.php
    	src/Symfony/Component/Validator/README.md
  3. @nicolas-grekas

    Merge branch '2.6' into 2.7

    nicolas-grekas authored
    * 2.6:
      [travis] Use container-based infrastructure
      [PropertyAccess] Fix setting public property on a class having a magic getter
      ContainerInterface: unused exception dropped
    
    Conflicts:
    	.travis.yml
  4. @nicolas-grekas

    Merge branch '2.3' into 2.6

    nicolas-grekas authored
    * 2.3:
      [travis] Use container-based infrastructure
      ContainerInterface: unused exception dropped
Commits on May 11, 2015
  1. @TomasVotruba
Commits on May 2, 2015
  1. @fabpot

    Merge branch '2.6' into 2.7

    fabpot authored
    * 2.6: (25 commits)
      [2.6] link to https://symfony.com where possible
      Do not override PHP constants, only use when available
      link to https://symfony.com where possible
      [FrameworkBundle] Added missing log in server:run command
      [Finder] Only use GLOB_BRACE when available
      [HttpFoundation] Allow curly braces in trusted host patterns
      Fix merge
      Fix typo in variable name
      [profiler][security] check authenticated user by tokenClass instead of username.
      [WebProfiler] fix html syntax for input types
      [TwigBundle] Fix deprecated use of FlattenException
      [DependencyInjection] Removed extra strtolower calls
      Use https://symfony.com/search for searching
      [Debug] PHP7 compatibility with BaseException
      [Validator] Fixed Choice when an empty array is used in the "choices" option
      Fixed tests
      [StringUtil] Fixed singularification of 'selfies'
      Fix Portuguese (Portugal) translation for Security
      improved exception when missing required component
      [DependencyInjection] resolve circular reference
      ...
    
    Conflicts:
    	src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/config.html.twig
    	src/Symfony/Component/Form/README.md
    	src/Symfony/Component/Intl/README.md
    	src/Symfony/Component/Security/README.md
    	src/Symfony/Component/Translation/README.md
    	src/Symfony/Component/Validator/README.md
  2. @fabpot

    Merge branch '2.3' into 2.6

    fabpot authored
    * 2.3:
      link to https://symfony.com where possible
      [FrameworkBundle] Added missing log in server:run command
      [HttpFoundation] Allow curly braces in trusted host patterns
      [profiler][security] check authenticated user by tokenClass instead of username.
      Use https://symfony.com/search for searching
    
    Conflicts:
    	src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php
    	src/Symfony/Component/Form/README.md
    	src/Symfony/Component/Intl/README.md
    	src/Symfony/Component/Routing/composer.json
    	src/Symfony/Component/Security/README.md
    	src/Symfony/Component/Translation/README.md
    	src/Symfony/Component/Validator/README.md
Commits on May 1, 2015
  1. @xabbuh
Commits on Apr 27, 2015
  1. @fabpot

    Merge branch '2.3' into 2.6

    fabpot authored
    * 2.3:
      [DependencyInjection] Removed extra strtolower calls
      [Validator] Fixed Choice when an empty array is used in the "choices" option
      Fixed tests
      [StringUtil] Fixed singularification of 'selfies'
      Fix Portuguese (Portugal) translation for Security
      improved exception when missing required component
      CS: unalign =
      Show a better error when the port is in use
      CS: unalign =>
      [FrameworkBundle] Check for 'xlf' instead of 'xliff'
      Add better phpdoc message for getListeners method of the EventDispatcher
    
    Conflicts:
    	src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php
    	src/Symfony/Bundle/TwigBundle/Command/LintCommand.php
    	src/Symfony/Component/DependencyInjection/ContainerBuilder.php
    	src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services11.php
    	src/Symfony/Component/Validator/Constraints/ChoiceValidator.php
  2. @fabpot

    minor #14470 [DependencyInjection] Removed extra strtolower calls (do…

    fabpot authored
    …sten)
    
    This PR was squashed before being merged into the 2.3 branch (closes #14470).
    
    Discussion
    ----------
    
    [DependencyInjection] Removed extra strtolower calls
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    `Alias` already lowercase the `$id` in the constructor. Using `ContainerBuilder::hasAlias()` and `ContainerBuilder::hasDefinition()` inside the code makes an extra strtolower call.
    
    Commits
    -------
    
    3bfbf45 [DependencyInjection] Removed extra strtolower calls
  3. @dosten @fabpot

    [DependencyInjection] Removed extra strtolower calls

    dosten authored fabpot committed
Commits on Apr 24, 2015
  1. @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
  2. @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
      ...
Commits on Apr 23, 2015
  1. @dosten

    Fixed tests

    dosten authored
Commits on Apr 22, 2015
  1. @xabbuh

    [DependencyInjection] resolve circular reference

    xabbuh authored
    This issue has been fixed in #11422. Due to a bad merge in
    3bed1b7988e94a897a64c6a2ad3bf70bde9005c1 it partially appeared again in
    Symfony 2.6 or higher.
Commits on Apr 18, 2015
  1. @nicolas-grekas

    Merge branch '2.6' into 2.7

    nicolas-grekas authored
    * 2.6:
      [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.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
      [Debug] Scream as LogLevel::DEBUG (but for fatal errors / uncaught exceptions)
      [2.3] Static Code Analysis for Components
      [WebProfilerBundle] Fix resiliency to exceptions thrown by the url generator
      [Translation] LoggingTranslator simplifications
      [Translation][fixed test] refresh cache when resources are no longer fresh.
      [FrameworkBundle] Fixed server:start --router relative path issue #14124
      [FrameworkBundle] improve usage of Table helper
      [Validator] Added missing Simplified Chinese (zh_CN) translations
      [FrameworkBundle] Workaround php -S ignoring auto_prepend_file
    
    Conflicts:
    	src/Symfony/Bundle/FrameworkBundle/Tests/Translation/TranslatorTest.php
    	src/Symfony/Component/Console/Helper/Table.php
    	src/Symfony/Component/Translation/LoggingTranslator.php
  2. @nicolas-grekas

    Merge branch '2.3' into 2.6

    nicolas-grekas authored
    * 2.3:
      [Routing][DependencyInjection] Support .yaml extension in YAML loaders
      [DX] improve file loader error for router/other resources in bundle
      [FrameworkBundle] Fix Routing\DelegatingLoader resiliency to fatal errors
      [HttpKernel] Cleanup ExceptionListener
      CS fixes
      [DependencyInjection] Show better error when the Yaml component is not installed
      [2.3] SCA for Components - reference mismatches
      [2.3] Static Code Analysis for Components
      [Translation][fixed test] refresh cache when resources are no longer fresh.
      [Validator] Added missing Simplified Chinese (zh_CN) translations
      [FrameworkBundle] Workaround php -S ignoring auto_prepend_file
    
    Conflicts:
    	src/Symfony/Bundle/FrameworkBundle/Tests/Translation/TranslatorTest.php
    	src/Symfony/Component/Config/Exception/FileLoaderLoadException.php
    	src/Symfony/Component/Console/Descriptor/TextDescriptor.php
    	src/Symfony/Component/Console/Helper/TableHelper.php
    	src/Symfony/Component/Console/Tests/Formatter/OutputFormatterTest.php
    	src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
    	src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php
    	src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php
    	src/Symfony/Component/HttpKernel/Tests/Debug/TraceableEventDispatcherTest.php
    	src/Symfony/Component/PropertyAccess/PropertyAccessor.php
    	src/Symfony/Component/Yaml/Tests/InlineTest.php
  3. @fabpot

    minor #14367 CS fixes (keradus)

    fabpot authored
    This PR was merged into the 2.3 branch.
    
    Discussion
    ----------
    
    CS fixes
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | N/A
    | License       | MIT
    | Doc PR        | N/A
    
    Update before releasing PHP CS Fixer 1.7.
    
    To keep fabbot.io happy ;)
    
    Commits
    -------
    
    cfa3e95 CS fixes
Commits on Apr 17, 2015
  1. @Tobion

    bug #14325 [Routing][DependencyInjection] Support .yaml extension in …

    Tobion authored
    …YAML loaders (thunderer)
    
    This PR was squashed before being merged into the 2.3 branch (closes #14325).
    
    Discussion
    ----------
    
    [Routing][DependencyInjection] Support .yaml extension in YAML loaders
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #14319
    | License       | MIT
    | Doc PR        | -
    
    YAML [FAQ](http://www.yaml.org/faq.html) states that .yaml file extension should be used whenever possible. I tweaked YamlFileLoader supports() method in Symfony Routing component to accept both .yml and .yaml and added some asserts in tests for that behavior.
    
    This PR replaces #14319 as it was based on 2.7. BTW Is there a way to "rebase" PR branch without redoing all the work?
    
    Commits
    -------
    
    dd5a811 [Routing][DependencyInjection] Support .yaml extension in YAML loaders
  2. @thunderer @Tobion
Commits on Apr 16, 2015
  1. @keradus

    CS fixes

    keradus authored
Commits on Apr 15, 2015
  1. @fabpot

    minor #14231 [DependencyInjection] Show better error when the Yaml co…

    fabpot authored
    …mponent is not installed (dosten)
    
    This PR was squashed before being merged into the 2.3 branch (closes #14231).
    
    Discussion
    ----------
    
    [DependencyInjection] Show better error when the Yaml component is not installed
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | License       | MIT
    
    As the Yaml component is a suggested dependency, if someone try to use the `YamlFileLoader` or the `YamlDumper` without the component will get an ugly message:
    ```
    PHP Fatal error:  Class 'Symfony\Component\Yaml\Dumper' not found in xxxx
    ```
    With this PR the error will be an exception with the message: `Unable to dump the container as the Symfony Yaml Component is not installed.` for `YamlDumper` and `Unable to load YAML files service definitions as the Symfony Yaml Component is not installed.'` for `YamlFileLoader`
    
    Commits
    -------
    
    870a299 [DependencyInjection] Show better error when the Yaml component is not installed
  2. @dosten @fabpot

    [DependencyInjection] Show better error when the Yaml component is no…

    dosten authored fabpot committed
    …t installed
  3. @kalessil @fabpot

    [2.3] Static Code Analysis for Components

    kalessil authored fabpot committed
Commits on Apr 11, 2015
  1. @Tobion
Commits on Apr 10, 2015
  1. @fabpot

    updated version to 2.8

    fabpot authored
  2. @fabpot

    Revert "removed 3.0 constraints from 2.7 composer files"

    fabpot authored
    This reverts commit 5503804cf91f4ede81b94b34609653c013139038.
  3. @fabpot
  4. @fabpot

    Merge branch '2.8'

    fabpot authored
    * 2.8:
      [Translation] avoid freshness check based on content *inside* the cache.
      [Translator] Cache does not take fallback locales into consideration
      [Translator] Cache does not take fallback locales into consideration
      [VarDumper] Fix call site detection
      [Form] Cleanup deprecation notices
      [Console] Made output docopt compatible
      [Process] Fix volatile test
      Remove some useless @group annotations
      Removed useless strtolower call
      [Validator] Use strict comparisons in loaders
      CS: Use "self" keyword instead of class name if possible
    
    Conflicts:
    	.travis.yml
    	src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php
    	src/Symfony/Component/Form/FormTypeExtensionInterface.php
    	src/Symfony/Component/Form/FormTypeInterface.php
  5. @fabpot
  6. @fabpot

    Merge branch '2.6' into 2.7

    fabpot authored
    * 2.6:
      [Translator] Cache does not take fallback locales into consideration
      [VarDumper] Fix call site detection
      [Process] Fix volatile test
      Remove some useless @group annotations
      Removed useless strtolower call
      [Validator] Use strict comparisons in loaders
      CS: Use "self" keyword instead of class name if possible
    
    Conflicts:
    	.travis.yml
    	src/Symfony/Component/Translation/Translator.php
Commits on Apr 8, 2015
  1. @fabpot

    Merge branch '2.3' into 2.6

    fabpot authored
    * 2.3:
      Remove some useless @group annotations
      Removed useless strtolower call
      [Validator] Use strict comparisons in loaders
      CS: Use "self" keyword instead of class name if possible
Commits on Apr 4, 2015
  1. @dosten
Something went wrong with that request. Please try again.