Skip to content

Instantly share code, notes, and snippets.

@dlsniper
Last active December 13, 2015 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlsniper/4952637 to your computer and use it in GitHub Desktop.
Save dlsniper/4952637 to your computer and use it in GitHub Desktop.
SF2.2 RC2 patch
Symfony\Component\ClassLoader\ClassCollectionLoader
Symfony\Bundle\FrameworkBundle\FrameworkBundle
Symfony\Bundle\SecurityBundle\SecurityBundle
Symfony\Bundle\TwigBundle\TwigBundle
Symfony\Bundle\MonologBundle\MonologBundle
Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle
Symfony\Bundle\AsseticBundle\AsseticBundle
Doctrine\Bundle\DoctrineBundle\DoctrineBundle
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle
JMS\AopBundle\JMSAopBundle
JMS\DiExtraBundle\JMSDiExtraBundle
JMS\SecurityExtraBundle\JMSSecurityExtraBundle
Acme\DemoBundle\AcmeDemoBundle
Symfony\Component\HttpKernel\EventListener\StreamedResponseListener
Symfony\Component\HttpKernel\EventListener\LocaleListener
Symfony\Component\HttpKernel\Fragment\FragmentHandler
Symfony\Component\HttpKernel\EventListener\FragmentListener
Symfony\Component\HttpKernel\EventListener\ProfilerListener
Symfony\Component\HttpKernel\DataCollector\RequestDataCollector
Symfony\Component\HttpKernel\DataCollector\DataCollector
Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface
Symfony\Component\Security\Http\RememberMe\ResponseListener
Symfony\Component\HttpKernel\EventListener\ExceptionListener
Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener
Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy
Monolog\Handler\FingersCrossed\ActivationStrategyInterface
Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer
Symfony\Component\HttpKernel\Fragment\RoutableFragmentRenderer
Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface
Symfony\Bundle\FrameworkBundle\Fragment\ContainerAwareHIncludeFragmentRenderer
Symfony\Component\HttpKernel\Fragment\HIncludeFragmentRenderer
Symfony\Component\HttpKernel\UriSigner
Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector
Symfony\Component\HttpKernel\Profiler\Profiler
Symfony\Component\HttpKernel\Profiler\FileProfilerStorage
Symfony\Component\HttpKernel\Profiler\ProfilerStorageInterface
Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector
Symfony\Component\HttpKernel\DataCollector\EventDataCollector
Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector
Symfony\Component\HttpKernel\DataCollector\TimeDataCollector
Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector
Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector
Symfony\Component\HttpKernel\DataCollector\RouterDataCollector
Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector
Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider
Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider
Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface
Symfony\Component\Security\Core\User\InMemoryUserProvider
Symfony\Component\Security\Core\User\User
Symfony\Component\Security\Core\User\AdvancedUserInterface
Symfony\Component\Security\Core\User\UserInterface
Symfony\Component\Security\Core\User\UserChecker
Symfony\Component\Security\Core\User\UserCheckerInterface
Symfony\Component\Security\Core\Encoder\EncoderFactory
Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface
JMS\SecurityExtraBundle\Security\Authorization\Expression\LazyLoadingExpressionVoter
JMS\SecurityExtraBundle\Security\Authorization\Expression\ExpressionVoter
JMS\SecurityExtraBundle\Security\Authorization\Expression\ContainerAwareExpressionHandler
JMS\SecurityExtraBundle\Security\Authorization\Expression\ExpressionHandlerInterface
JMS\SecurityExtraBundle\Security\Authorization\RememberingAccessDecisionManager
Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter
Symfony\Component\Security\Core\Authorization\Voter\RoleVoter
Symfony\Component\Security\Core\Role\RoleHierarchy
Symfony\Component\Security\Core\Role\RoleHierarchyInterface
Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter
Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver
Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface
Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector
Symfony\Bridge\Doctrine\DataCollector\DoctrineDataCollector
Doctrine\Bundle\DoctrineBundle\Registry
Symfony\Bridge\Doctrine\ManagerRegistry
Doctrine\Common\Persistence\AbstractManagerRegistry
Doctrine\Common\Persistence\ManagerRegistry
Doctrine\Common\Persistence\ConnectionRegistry
Symfony\Bridge\Doctrine\RegistryInterface
Symfony\Component\HttpFoundation\Session\Storage\MetadataBag
Symfony\Component\HttpFoundation\Session\SessionBagInterface
Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag
Symfony\Component\HttpFoundation\Session\Attribute\AttributeBagInterface
Symfony\Component\HttpFoundation\Session\Flash\FlashBag
Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface
Acme\DemoBundle\Controller\WelcomeController
Symfony\Bundle\FrameworkBundle\Controller\Controller
Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener
Doctrine\Common\Annotations\FileCacheReader
Doctrine\Common\Annotations\Reader
Doctrine\Common\Annotations\AnnotationReader
Doctrine\Common\Annotations\DocParser
Doctrine\Common\Annotations\DocLexer
Doctrine\Common\Lexer
Doctrine\Common\Annotations\Annotation\Target
Doctrine\Common\Annotations\PhpParser
Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener
Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager
Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter
Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterInterface
Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter
Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener
Acme\DemoBundle\EventListener\ControllerListener
Acme\DemoBundle\Twig\Extension\DemoExtension
Symfony\Bundle\TwigBundle\Loader\FilesystemLoader
Twig_Loader_Filesystem
Twig_ExistsLoaderInterface
Doctrine\Common\Util\ClassUtils
Doctrine\Common\Persistence\Proxy
Symfony\Bundle\TwigBundle\TwigEngine
Symfony\Bridge\Twig\TwigEngine
Symfony\Component\Templating\EngineInterface
Symfony\Component\Templating\StreamingEngineInterface
Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
Twig_Extension_Staging
Symfony\Bundle\SecurityBundle\Twig\Extension\LogoutUrlExtension
Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper
Symfony\Component\Templating\Helper\Helper
Symfony\Component\Templating\Helper\HelperInterface
Symfony\Bridge\Twig\Extension\SecurityExtension
Symfony\Bridge\Twig\Extension\TranslationExtension
Symfony\Component\Translation\IdentityTranslator
Symfony\Component\Translation\TranslatorInterface
Symfony\Component\Translation\MessageSelector
Symfony\Bridge\Twig\NodeVisitor\TranslationNodeVisitor
Twig_NodeVisitorInterface
Symfony\Bundle\TwigBundle\Extension\AssetsExtension
Symfony\Bundle\TwigBundle\Extension\ActionsExtension
Symfony\Bridge\Twig\Extension\CodeExtension
Symfony\Bridge\Twig\Extension\RoutingExtension
Symfony\Bridge\Twig\Extension\YamlExtension
Symfony\Bridge\Twig\Extension\HttpKernelExtension
Symfony\Bridge\Twig\Extension\FormExtension
Symfony\Bridge\Twig\Form\TwigRenderer
Symfony\Component\Form\FormRenderer
Symfony\Component\Form\FormRendererInterface
Symfony\Bridge\Twig\Form\TwigRendererInterface
Symfony\Bridge\Twig\Form\TwigRendererEngine
Symfony\Component\Form\AbstractRendererEngine
Symfony\Component\Form\FormRendererEngineInterface
Symfony\Bridge\Twig\Form\TwigRendererEngineInterface
Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider
Symfony\Component\Form\Extension\Csrf\CsrfProvider\DefaultCsrfProvider
Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface
Symfony\Bundle\AsseticBundle\Twig\AsseticExtension
Assetic\Extension\Twig\AsseticExtension
Symfony\Bundle\AsseticBundle\Factory\AssetFactory
Assetic\Factory\AssetFactory
Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag
Symfony\Component\DependencyInjection\ParameterBag\ParameterBag
Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
Symfony\Bundle\AsseticBundle\DefaultValueSupplier
Assetic\ValueSupplierInterface
Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension
JMS\SecurityExtraBundle\Twig\SecurityExtension
Twig_Error_Loader
Twig_Error
Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener
Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface
Assetic\Extension\Twig\ValueContainer
Symfony\Component\HttpKernel\Event\PostResponseEvent
diff -r -u sf22rc2_ori/app/AppKernel.php sf22rc2/app/AppKernel.php
--- sf22rc2_ori/app/AppKernel.php 2013-02-11 16:39:48.000000000 +0200
+++ sf22rc2/app/AppKernel.php 2013-02-14 10:53:32.528536331 +0200
@@ -21,8 +21,9 @@
new JMS\SecurityExtraBundle\JMSSecurityExtraBundle(),
);
+ $bundles[] = new Acme\DemoBundle\AcmeDemoBundle();
+
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
- $bundles[] = new Acme\DemoBundle\AcmeDemoBundle();
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
diff -r -u sf22rc2_ori/app/bootstrap.php.cache sf22rc2/app/bootstrap.php.cache
--- sf22rc2_ori/app/bootstrap.php.cache 2013-02-11 16:40:03.000000000 +0200
+++ sf22rc2/app/bootstrap.php.cache 2013-02-14 10:51:09.024533281 +0200
@@ -2,7 +2,7 @@
namespace { $loader = require_once __DIR__.'/autoload.php'; }
-
+
namespace Symfony\Component\DependencyInjection
{
interface ContainerAwareInterface
@@ -752,6 +752,7 @@
}
public function findFile($class)
{
+echo $class . '<br/>';
if (false === $file = apc_fetch($this->prefix.$class)) {
apc_store($this->prefix.$class, $file = $this->decorated->findFile($class));
}
@@ -1134,4 +1135,3 @@
}
namespace { return $loader; }
-
\ No newline at end of file
diff -r -u sf22rc2_ori/app/config/routing_dev.yml sf22rc2/app/config/routing_dev.yml
--- sf22rc2_ori/app/config/routing_dev.yml 2013-02-11 16:39:48.000000000 +0200
+++ sf22rc2/app/config/routing_dev.yml 2013-02-14 10:52:42.720535273 +0200
@@ -1,16 +1,3 @@
-_welcome:
- pattern: /
- defaults: { _controller: AcmeDemoBundle:Welcome:index }
-
-_demo_secured:
- resource: "@AcmeDemoBundle/Controller/SecuredController.php"
- type: annotation
-
-_demo:
- resource: "@AcmeDemoBundle/Controller/DemoController.php"
- type: annotation
- prefix: /demo
-
_wdt:
resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
prefix: /_wdt
diff -r -u sf22rc2_ori/app/config/routing.yml sf22rc2/app/config/routing.yml
--- sf22rc2_ori/app/config/routing.yml 2013-02-11 16:39:48.000000000 +0200
+++ sf22rc2/app/config/routing.yml 2013-02-14 10:52:47.520535375 +0200
@@ -0,0 +1,12 @@
+_welcome:
+ pattern: /
+ defaults: { _controller: AcmeDemoBundle:Welcome:index }
+
+_demo_secured:
+ resource: "@AcmeDemoBundle/Controller/SecuredController.php"
+ type: annotation
+
+_demo:
+ resource: "@AcmeDemoBundle/Controller/DemoController.php"
+ type: annotation
+ prefix: /demo
Only in sf22rc2/app/logs: prod.log
diff -r -u sf22rc2_ori/web/app.php sf22rc2/web/app.php
--- sf22rc2_ori/web/app.php 2013-02-11 16:39:48.000000000 +0200
+++ sf22rc2/web/app.php 2013-02-14 10:54:11.032537150 +0200
@@ -1,5 +1,7 @@
<?php
+ob_start();
+
use Symfony\Component\ClassLoader\ApcClassLoader;
use Symfony\Component\HttpFoundation\Request;
@@ -8,10 +10,10 @@
// Use APC for autoloading to improve performance.
// Change 'sf2' to a unique prefix in order to prevent cache key conflicts
// with other applications also using APC.
-/*
-$loader = new ApcClassLoader('sf2', $loader);
+/** */
+$loader = new ApcClassLoader('sf22rc2', $loader);
$loader->register(true);
-*/
+/**/
require_once __DIR__.'/../app/AppKernel.php';
//require_once __DIR__.'/../app/AppCache.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment