Permalink
Commits on Sep 20, 2017
  1. Merge branch '3.4'

    nicolas-grekas committed Sep 20, 2017
    * 3.4:
      [HttpKernel][DI] Enable Kernel to implement CompilerPassInterface
      [DI] Add "PHP fluent format" for configuring the container
      [Routing] Add PHP fluent DSL for configuring routes
      [Bridge\Doctrine] Add "DoctrineType::reset()" method
      [Serializer] Add local cache to normalizers
  2. feature #24180 [Routing] Add PHP fluent DSL for configuring routes (n…

    nicolas-grekas committed Sep 20, 2017
    …icolas-grekas)
    
    This PR was merged into the 3.4 branch.
    
    Discussion
    ----------
    
    [Routing] Add PHP fluent DSL for configuring routes
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    If we add a PHP DSL for DI config (#23834), we must have a similar one for routing. Here it is. See fixtures.
    
    So, you always start with a `RoutingConfigurator $routes`, which allows you to:
    ```php
    $routes->add($name, $path); // adds a route
    $routes->import($resource, $type = null, $ignoreErrors = false); // imports routes
    $routes->collection($name = ''); // starts a collection, all *names* might be prefixed
    ```
    
    then
    - for "import" and "collection", you can `->prefix($path)`;
    - for "add" and "collection", you can fluently "add" several times;
    - for "collection" you add sub"`->collection()`";
    - and on all, you can configure the route(s) with:
    ```php
    ->defaults(array $defaults)
    ->requirements(array $requirements)
    ->options(array $options)
    ->condition($condition)
    ->host($pattern)
    ->schemes(array $schemes)
    ->methods(array $methods)
    ->controller($controller)
    ```
    
    Commits
    -------
    
    f433c9a [Routing] Add PHP fluent DSL for configuring routes
Commits on Sep 15, 2017
  1. Merge branch '3.4'

    nicolas-grekas committed Sep 15, 2017
    * 3.4:
      [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
      Reset stopwatch.
      [Filesystem] mirror - fix copying content with same name as source/target.
      Removed unnecessary getDefinition() call.
      .php_cs.dist - simplify config
      [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
  2. Merge branch '3.3' into 3.4

    nicolas-grekas committed Sep 15, 2017
    * 3.3:
      [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
      [Filesystem] mirror - fix copying content with same name as source/target.
      Removed unnecessary getDefinition() call.
      .php_cs.dist - simplify config
      [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
  3. Merge branch '2.8' into 3.3

    nicolas-grekas committed Sep 15, 2017
    * 2.8:
      [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
      [Filesystem] mirror - fix copying content with same name as source/target.
      .php_cs.dist - simplify config
      [WebProfilerBundle] fixed TemplateManager when using Twig 2 without compat interfaces
  4. Merge branch '2.7' into 2.8

    nicolas-grekas committed Sep 15, 2017
    * 2.7:
      [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
  5. [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_met…

    SpacePossum committed with nicolas-grekas Sep 7, 2017
    …hod, semicolon_after_instruction
Commits on Sep 13, 2017
  1. Merge branch '3.4'

    nicolas-grekas committed Sep 13, 2017
    * 3.4:
      Fix travis php7.0
      fix oups
      Add support to environment variables APP_ENV/DEBUG in KernelTestCase
      [Routing] Cleanup apache fixtures
  2. Merge branch '3.3' into 3.4

    nicolas-grekas committed Sep 13, 2017
    * 3.3:
      Fix travis php7.0
      Add support to environment variables APP_ENV/DEBUG in KernelTestCase
      [Routing] Cleanup apache fixtures
Commits on Sep 12, 2017
Commits on Sep 11, 2017
  1. Merge branch '3.4'

    fabpot committed Sep 11, 2017
    * 3.4:
      fixed CS
      fixed CS
      fixed CS
  2. Merge branch '3.3' into 3.4

    fabpot committed Sep 11, 2017
    * 3.3:
      fixed CS
      fixed CS
  3. fixed CS

    fabpot committed Sep 11, 2017
  4. Merge branch '3.4'

    fabpot committed Sep 11, 2017
    * 3.4:
      [CS] Apply phpdoc_annotation_without_dot
      bumped Symfony version to 3.3.10
      updated VERSION for 3.3.9
      updated CHANGELOG for 3.3.9
      [DomCrawler] Fix conversion to int on GetPhpFiles
      Remove `protected_to_private` rule.
      Filtering empty uuids in ORMQueryBuilderLoader.
  5. Merge branch '3.3' into 3.4

    fabpot committed Sep 11, 2017
    * 3.3:
      [CS] Apply phpdoc_annotation_without_dot
      bumped Symfony version to 3.3.10
      updated VERSION for 3.3.9
      updated CHANGELOG for 3.3.9
      [DomCrawler] Fix conversion to int on GetPhpFiles
      Remove `protected_to_private` rule.
      Filtering empty uuids in ORMQueryBuilderLoader.
  6. Merge branch '2.8' into 3.3

    fabpot committed Sep 11, 2017
    * 2.8:
      [CS] Apply phpdoc_annotation_without_dot
  7. Merge branch '2.7' into 2.8

    fabpot committed Sep 11, 2017
    * 2.7:
      [CS] Apply phpdoc_annotation_without_dot
Commits on Sep 3, 2017
  1. feature #23262 Add scalar typehints/return types (chalasr, xabbuh)

    fabpot committed Sep 3, 2017
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Add scalar typehints/return types
    
    | Q             | A
    | ------------- | ---
    | Branch?       | master
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no (final, already breaks if doc not respected)
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | symfony/symfony#23242 (comment)
    | License       | MIT
    | Doc PR        | n/a
    
    Commits
    -------
    
    7b1715b078 [Yaml] use scalar type hints where possible
    6ce70e4bf9 Add scalar typehints/return types on final/internal/private code
  2. Merge branch '3.4'

    nicolas-grekas committed Sep 3, 2017
    * 3.4:
      Improved the design of the redirection method in the web toolbar
      Mark SemaphoreStore::isSupported() as internal
      [DI] Add ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE
      [FrameworkBundle] Fix form conflict rule
      [Security] add impersonator_user to "User was reloaded" log message
      [DI] Add upgrade note about case insenstive params
      add (pdo|chain) cache (adapter|simple) prune method
      Update NoSuchPropertyException message for writeProperty
      [Routing] added the possibility to define a prefix for all routes of a controller
      [DI] Don't track merged configs when the extension doesn't expose it
      [Cache] Use namespace versioning for backends that dont support clearing by keys
      [VarDumper] add force-collapse/expand + use it for traces
Commits on Aug 31, 2017
Commits on Aug 29, 2017
Commits on Aug 17, 2017
  1. Merge branch '3.4'

    nicolas-grekas committed Aug 17, 2017
    * 3.4:
      [VarDumper] Fix tests with phpredis 3.1.3
      [Routing] Use "controller" keyword for configuring routes controllers
      [VarDumper] Fix interval caster with PT3600S-like spec
      [DI] Fix reading env vars from fastcgi params
      [HttpKernel] Remove old container files
      Allow phpdocumentor/reflection-docblock 4.
      [VarDumper] play nice with open_basedir when looking for composer.json
Commits on Aug 16, 2017
Commits on Aug 3, 2017
  1. Merge branch '3.4'

    nicolas-grekas committed Aug 3, 2017
    * 3.4:
      [Yaml] Recommend using quotes instead of PARSE_KEYS_AS_STRINGS
      [DependencyInjection] Deprecate autowiring service auto-registration
      Removed useless argument $definition
      [DI] Generate shorter method names for class-based ids
      Fix comment
      [Config] Fix checking class existence freshness
      bumped Symfony version to 3.3.7
      updated VERSION for 3.3.6
      updated CHANGELOG for 3.3.6
      Autoconfigure instances of ArgumentValueResolverInterface
      Deprecate Filesystem/LockHandler
      improve sql explain table display
      Bump minimal PHP version to ^5.5.9|>=7.0.8
  2. Merge branch '3.3' into 3.4

    nicolas-grekas committed Aug 3, 2017
    * 3.3:
      Removed useless argument $definition
      Fix comment
      [Config] Fix checking class existence freshness
      bumped Symfony version to 3.3.7
      updated VERSION for 3.3.6
      updated CHANGELOG for 3.3.6
      Bump minimal PHP version to ^5.5.9|>=7.0.8
Commits on Jul 29, 2017
Commits on Jul 26, 2017
  1. Merge branch '3.4'

    nicolas-grekas committed Jul 26, 2017
    * 3.4:
      [DI] use assertStringEqualsFile when possible
      [VarDumper] Adapt to php 7.2 changes
      [DI] Fix using private services in expressions
      [Form][TwigBridge] Don't render _method in form_rest() for a child form
      [Form] Static call TimezoneType::getTimezones
      Removed references for non existent validator constraints
      Suggest using quotes instead of Yaml::PARSE_KEYS_AS_STRINGS
      [DI] Fix test
      [Cache] Handle unserialization failures for Memcached
      Remove unused prop + added @deprecated
      Remove unused mocks/vars
      feature #22317 [Console] Make SymfonyQuestionHelper::ask optional by default (ro0NL)
      [DoctrineBridge][PropertyInfo] Added support for Doctrine Embeddables
      [Validator] Fix IbanValidator for ukrainian IBANs
      Router: allow HEAD method to be defined first
      [WebProfilerBundle] Display trace and context in the logger profiler
      Fixing a bug where if a core class was autowired, autowiring tried to autowire optional args as if they were required
  2. Merge branch '3.3' into 3.4

    nicolas-grekas committed Jul 26, 2017
    * 3.3:
      [DI] use assertStringEqualsFile when possible
      [VarDumper] Adapt to php 7.2 changes
      [DI] Fix using private services in expressions
      [Form][TwigBridge] Don't render _method in form_rest() for a child form
      [Form] Static call TimezoneType::getTimezones
      Removed references for non existent validator constraints
      Suggest using quotes instead of Yaml::PARSE_KEYS_AS_STRINGS
      [DI] Fix test
      [Cache] Handle unserialization failures for Memcached
      Remove unused prop + added @deprecated
      Remove unused mocks/vars
      [DoctrineBridge][PropertyInfo] Added support for Doctrine Embeddables
      [Validator] Fix IbanValidator for ukrainian IBANs
      Router: allow HEAD method to be defined first
      [WebProfilerBundle] Display trace and context in the logger profiler
      Fixing a bug where if a core class was autowired, autowiring tried to autowire optional args as if they were required
Commits on Jul 21, 2017
Commits on Jul 11, 2017
  1. Merge branch '3.4'

    nicolas-grekas committed Jul 11, 2017
    * 3.4: (23 commits)
      Don't display the Symfony debug toolbar when printing the page
      [Routing] also add matched params for redirect due to trailing slash
      do not wire namespaces for the ArrayAdapter
      check _controller attribute is a string before parsing it
      [Cache] Added test for ApcuAdapter when using in CLI
      [Validator] sync upgrade file with latest code changes
      allow to configure custom formats in XML configs
      [HttpKernel] fix DumpDataCollector tests
      [FrameworkBundle] fix changelog
      [WebProfilerBundle] Cleanup profiler leftover
      [Routing] Add matched and default parameters to redirect responses
      [DotEnv] Fix variable substitution
      require the XML PHP extension
      Fix phpdoc for serializer normalizers exceptions
      Fixed absolute url generation for query strings and hash urls
      bumped Symfony version to 2.8.25
      updated VERSION for 2.8.24
      updated CHANGELOG for 2.8.24
      bumped Symfony version to 2.7.32
      [Filesystem] Dont copy perms when origin is remote
      ...
Commits on Jul 6, 2017