Skip to content

Commit 51bee50

Browse files
committed
Merge pull request #111 from FriendsOfSymfony/refactor-docs
Refactor docs
2 parents d22a5e3 + 308be68 commit 51bee50

40 files changed

+1362
-947
lines changed

DependencyInjection/Configuration.php

-4
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,6 @@ private function addFlashMessageSection(ArrayNodeDefinition $rootNode)
464464
->defaultFalse()
465465
->info('Whether the cookie should only be transmitted over a secure HTTPS connection from the client.')
466466
->end()
467-
->scalarNode('httpOnly')
468-
->defaultTrue()
469-
->info('Whether the cookie will be made accessible only through the HTTP protocol.')
470-
->end()
471467
->end()
472468
->end()
473469
->end();

EventListener/FlashMessageSubscriber.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function onKernelResponse(FilterResponseEvent $event)
9898
$this->options['path'],
9999
$this->options['host'],
100100
$this->options['secure'],
101-
$this->options['httpOnly']
101+
false
102102
);
103103

104104
$response->headers->setCookie($cookie);

Resources/doc/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@
225225
# (source start file, target name, title, author,
226226
# dir menu entry, description, category)
227227
texinfo_documents = [
228-
('index', 'FOSHttptpCacheBundle', 'FOSHttptpCacheBundle Documentation',
229-
'David de Boer, David Buchmann', 'FOSHttptpCacheBundle', 'One line description of project.',
228+
('index', 'FOSHttpCacheBundle', 'FOSHttpCacheBundle Documentation',
229+
'David de Boer, David Buchmann', 'FOSHttpCacheBundle', 'A Symfony bundle to help with HTTP caching and invalidation',
230230
'Miscellaneous'),
231231
]
232232

Resources/doc/configuration/debug.rst

-32
This file was deleted.

Resources/doc/configuration/index.rst

-64
This file was deleted.

Resources/doc/configuration/proxy-client.rst

-92
This file was deleted.

Resources/doc/event-subscribers.rst

-8
This file was deleted.

0 commit comments

Comments
 (0)