Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 3, 2015
  1. @fabpot

    Merge branch '2.3' into 2.5

    fabpot authored
    * 2.3:
      Use PHPUnit ini_set wrapper in tests
      [Process] Added a test skip check for Windows
      [Process] Removed unused variable assignment
      Fixes various phpdoc and coding standards.
      Fixes Issue #13184 - incremental output getters now return empty strings
      Updated copyright to 2015
    
    Conflicts:
    	src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityChoiceList.php
    	src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php
    	src/Symfony/Bundle/TwigBundle/Command/LintCommand.php
    	src/Symfony/Component/Debug/ExceptionHandler.php
    	src/Symfony/Component/Process/Tests/AbstractProcessTest.php
Commits on Dec 22, 2014
  1. @fabpot

    Merge branch '2.3' into 2.5

    fabpot authored
    * 2.3:
      [2.3] CS And DocBlock Fixes
      [2.3] CS Fixes
    
    Conflicts:
    	src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php
    	src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php
    	src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php
    	src/Symfony/Bundle/FrameworkBundle/EventListener/TestSessionListener.php
    	src/Symfony/Component/Config/Definition/ReferenceDumper.php
    	src/Symfony/Component/Console/Application.php
    	src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
    	src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
    	src/Symfony/Component/Form/Extension/Csrf/EventListener/CsrfValidationListener.php
    	src/Symfony/Component/Form/FormError.php
    	src/Symfony/Component/HttpFoundation/Request.php
    	src/Symfony/Component/HttpFoundation/Response.php
    	src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php
    	src/Symfony/Component/Process/ProcessUtils.php
    	src/Symfony/Component/PropertyAccess/PropertyAccessor.php
    	src/Symfony/Component/PropertyAccess/PropertyAccessorInterface.php
    	src/Symfony/Component/Serializer/Encoder/XmlEncoder.php
    	src/Symfony/Component/Validator/Constraints/CardSchemeValidator.php
    	src/Symfony/Component/Validator/Constraints/GroupSequence.php
    	src/Symfony/Component/Validator/Mapping/ClassMetadata.php
    	src/Symfony/Component/Validator/Mapping/ClassMetadataFactory.php
    	src/Symfony/Component/Validator/Mapping/MemberMetadata.php
    	src/Symfony/Component/Validator/Tests/Fixtures/StubGlobalExecutionContext.php
Commits on Dec 8, 2014
  1. @fabpot

    Merge branch '2.3' into 2.5

    fabpot authored
    * 2.3:
      fix phpdoc's alignment
      Minor phpcs fixes
      [ClassLoader] Fix undefined index in ClassCollectionLoader
    
    Conflicts:
    	src/Symfony/Component/Serializer/Encoder/XmlEncoder.php
Commits on Dec 2, 2014
  1. @fabpot

    Merge branch '2.3' into 2.5

    fabpot authored
    * 2.3:
      Configure firewall's kernel exception listener with configured entry point or a default entry point
      PSR-2 fixes
      [DependencyInjection] make paths relative to __DIR__ in the generated container
      Fixed the syntax of a composer.json file
      Fixed the symfony/config version constraint
      Tweaked the password-compat version constraint
      Docblock fixes
      define constant only if it wasn't defined before
      Fix incorrect spanish translation
      Fixed typos
    
    Conflicts:
    	composer.json
    	src/Symfony/Bridge/Twig/TwigEngine.php
    	src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php
    	src/Symfony/Bundle/FrameworkBundle/Templating/Loader/FilesystemLoader.php
    	src/Symfony/Bundle/FrameworkBundle/composer.json
    	src/Symfony/Component/Console/Descriptor/MarkdownDescriptor.php
    	src/Symfony/Component/Console/Helper/TableHelper.php
    	src/Symfony/Component/Console/Tests/Helper/HelperSetTest.php
    	src/Symfony/Component/Debug/ErrorHandler.php
    	src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
    	src/Symfony/Component/Finder/Tests/Iterator/RecursiveDirectoryIteratorTest.php
    	src/Symfony/Component/Form/Tests/Extension/Core/DataMapper/PropertyPathMapperTest.php
    	src/Symfony/Component/HttpFoundation/Response.php
    	src/Symfony/Component/HttpFoundation/StreamedResponse.php
    	src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php
    	src/Symfony/Component/HttpKernel/Controller/ControllerResolverInterface.php
    	src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php
    	src/Symfony/Component/HttpKernel/Fragment/RoutableFragmentRenderer.php
    	src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php
    	src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php
    	src/Symfony/Component/Process/Process.php
    	src/Symfony/Component/Process/Tests/AbstractProcessTest.php
    	src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php
    	src/Symfony/Component/Routing/Tests/Fixtures/validpattern.php
    	src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php
    	src/Symfony/Component/Security/composer.json
    	src/Symfony/Component/Serializer/Encoder/XmlEncoder.php
    	src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php
    	src/Symfony/Component/Stopwatch/StopwatchEvent.php
    	src/Symfony/Component/Stopwatch/StopwatchPeriod.php
    	src/Symfony/Component/Templating/PhpEngine.php
    	src/Symfony/Component/Templating/TemplateReference.php
    	src/Symfony/Component/Templating/TemplateReferenceInterface.php
    	src/Symfony/Component/Translation/TranslatorInterface.php
    	src/Symfony/Component/Validator/ConstraintViolation.php
    	src/Symfony/Component/Validator/ExecutionContextInterface.php
    	src/Symfony/Component/Validator/Mapping/ClassMetadata.php
    	src/Symfony/Component/Validator/MetadataFactoryInterface.php
Commits on Apr 16, 2014
  1. @fabpot

    Merge branch '2.3' into 2.4

    fabpot authored
    * 2.3:
      fixed types in phpdocs
    
    Conflicts:
    	src/Symfony/Bridge/Twig/TwigEngine.php
    	src/Symfony/Bundle/FrameworkBundle/Templating/Loader/FilesystemLoader.php
    	src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
    	src/Symfony/Component/Form/Extension/Core/ChoiceList/SimpleChoiceList.php
    	src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php
    	src/Symfony/Component/HttpKernel/Controller/ControllerResolverInterface.php
    	src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php
    	src/Symfony/Component/Serializer/Encoder/XmlEncoder.php
    	src/Symfony/Component/Stopwatch/StopwatchEvent.php
    	src/Symfony/Component/Templating/PhpEngine.php
  2. @fabpot

    fixed types in phpdocs

    fabpot authored
Commits on Sep 13, 2013
  1. @fabpot
Commits on Sep 30, 2012
  1. @fabpot

    Replaced ContainerAwareTraceableEventDispatcher with TraceableEventDi…

    fabpot authored
    …spatcher
    
    The ContainerAwareTraceableEventDispatcher class was tied to both the
    Symfony container and the HttpKernel profiler. It made it non reusable
    in another context.
    
    The new TraceableEventDispatcher only keeps the HttpKernel profiler
    integration and is able to wrap any other event dispatcher. It makes it
    reusable in frameworks using the Symfony HttpKernel component like
    Silex.
    
    The only drawback is that we don't have access to the listener
    priorities in the collected data anymore (but the listeners are still
    ordered correctly). The change is still worth it I think.
Commits on Dec 18, 2011
  1. @fabpot

    fixed CS

    fabpot authored
Commits on Dec 13, 2011
  1. @fabpot

    merged 2.0

    fabpot authored
  2. @fabpot

    [DoctrineBridge] fixed some CS

    fabpot authored
Commits on Jun 14, 2011
  1. @fabpot
Commits on Mar 17, 2011
  1. @fabpot

    fixed CS

    fabpot authored
Commits on Mar 6, 2011
  1. @fabpot
Commits on Jan 26, 2011
  1. @fabpot

    changed the EventDispatcher and Event interfaces

    fabpot authored
    The three notification methods do not return the Event instance anymore.
    
    notify() does not return anything
    notifyUntil() returns the returned value of the event that has processed the event
    filter() returns the filtered value
    
    Upgrading your listeners:
    Listeners for notify() and filter() events: nothing to change
    Listeners for notifyUntil() events:
    
    Before:
    
        $event->setReturnValue('foo');
        return true;
    
    After:
    
        $event->setProcessed();
        return 'foo';
    
    If you notify events, the processing also need to be changed:
    
    For filter() notifications: the filtered value is now available as
    the returned value of the filter() method.
    
    For notifyUntil() notifications:
    
    Before:
    
        $event = $dispatcher->notifyUntil($event);
        if ($event->isProcessed()) {
            $ret = $event->getReturnValue();
    
            // do something with $ret
        }
    
    After:
    
        $ret = $dispatcher->notifyUntil($event);
        if ($event->isProcessed()) {
            // do something with $ret
        }
Commits on Jan 25, 2011
  1. @fabpot
Commits on Nov 25, 2010
  1. @fabpot

    made some method name changes to have a better coherence throughout t…

    fabpot authored
    …he framework
    
    When an object has a "main" many relation with related "things" (objects,
    parameters, ...), the method names are normalized:
    
     * get()
     * set()
     * all()
     * replace()
     * remove()
     * clear()
     * isEmpty()
     * add()
     * register()
     * count()
     * keys()
    
    The classes below follow this method naming convention:
    
     * BrowserKit\CookieJar -> Cookie
     * BrowserKit\History -> Request
     * Console\Application -> Command
     * Console\Application\Helper\HelperSet -> HelperInterface
     * DependencyInjection\Container -> services
     * DependencyInjection\ContainerBuilder -> services
     * DependencyInjection\ParameterBag\ParameterBag -> parameters
     * DependencyInjection\ParameterBag\FrozenParameterBag -> parameters
     * DomCrawler\Form -> FormField
     * EventDispatcher\Event -> parameters
     * Form\FieldGroup -> Field
     * HttpFoundation\HeaderBag -> headers
     * HttpFoundation\ParameterBag -> parameters
     * HttpFoundation\Session -> attributes
     * HttpKernel\Profiler\Profiler -> DataCollectorInterface
     * Routing\RouteCollection -> Route
     * Security\Authentication\AuthenticationProviderManager -> AuthenticationProviderInterface
     * Templating\Engine -> HelperInterface
     * Translation\MessageCatalogue -> messages
    
    The usage of these methods are only allowed when it is clear that there is a
    main relation:
    
     * a CookieJar has many Cookies;
    
     * a Container has many services and many parameters (as services is the main
       relation, we use the naming convention for this relation);
    
     * a Console Input has many arguments and many options. There is no "main"
       relation, and so the naming convention does not apply.
    
    For many relations where the convention does not apply, the following methods
    must be used instead (where XXX is the name of the related thing):
    
     * get()      -> getXXX()
     * set()      -> setXXX()
     * all()      -> getXXXs()
     * replace()  -> setXXXs()
     * remove()   -> removeXXX()
     * clear()    -> clearXXX()
     * isEmpty()  -> isEmptyXXX()
     * add()      -> addXXX()
     * register() -> registerXXX()
     * count()    -> countXXX()
     * keys()
Commits on Aug 20, 2010
  1. @fabpot
Something went wrong with that request. Please try again.