Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 4ec9c1e

Browse files
committed
Merge branch '1.2'
Conflicts: .travis.yml bundles/phpcr_odm/configuration.rst requirements.txt
2 parents 40b44e0 + aa122c4 commit 4ec9c1e

File tree

7 files changed

+28
-43
lines changed

7 files changed

+28
-43
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
language: python
22

3-
python:
4-
- "2.7"
3+
python: 2.7
54

65
sudo: false
76

7+
cache:
8+
directories:
9+
- $HOME/.cache/pip
10+
- _build
11+
812
addons:
913
apt:
1014
packages: [enchant]
1115

12-
install: "pip install -q -r requirements.txt --use-mirrors"
16+
install: pip install sphinx~=1.3 git+https://github.com/fabpot/sphinx-php.git sphinxcontrib-spelling pyenchant
1317

1418
script:
1519
- sphinx-build -nW -b html -d _build/doctrees . _build/html

_exts

Lines changed: 0 additions & 1 deletion
This file was deleted.

book/handling_multilang.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Now what is left to do is to update the sonata routes to become locale aware:
259259
<route id="admin_dashboard" pattern="/{_locale}/admin/">
260260
<default key="_controller">FrameworkBundle:Redirect:redirect</default>
261261
<default key="route">sonata_admin_dashboard</default>
262-
<default "permanent">true</default>
262+
<default key="permanent">true</default>
263263
</route>
264264
265265
<import resource="@SonataAdminBundle/Resources/config/routing/sonata_admin.xml"
@@ -272,19 +272,19 @@ Now what is left to do is to update the sonata routes to become locale aware:
272272
<route id="admin_without_locale" pattern="/admin">
273273
<default key="_controller">FrameworkBundle:Redirect:redirect</default>
274274
<default key="route">sonata_admin_dashboard</default>
275-
<default "permanent">true</default>
275+
<default key="permanent">true</default>
276276
</route>
277+
277278
<route id="admin_dashboard_without_locale" pattern="/admin/dashboard">
278279
<default key="_controller">FrameworkBundle:Redirect:redirect</default>
279280
<default key="route">sonata_admin_dashboard</default>
280-
<default "permanent">true</default>
281+
<default key="permanent">true</default>
281282
</route>
282283
</routes>
283284
284285
.. code-block:: php
285286
286287
// app/config/routing.php
287-
288288
$collection = new RouteCollection();
289289
290290
$collection->add('admin_dashboard', new Route('/{_locale}/admin/', array(

bundles/blog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ You can include the default in the main configuration file as follows:
118118
# app/config/config.yml
119119
imports:
120120
# ...
121-
- { resource: @CmfBlogBundle/Resources/config/routing/autoroute_default.yml }
121+
- { resource: '@CmfBlogBundle/Resources/config/routing/autoroute_default.yml' }
122122
# ...
123123
124124
.. code-block:: xml

bundles/create/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ Metadata Handling
236236
cmf_create:
237237
auto_mapping: true
238238
rdf_config_dirs:
239-
- "%kernel.root_dir%/Resources/rdf-mappings"
239+
- '%kernel.root_dir%/Resources/rdf-mappings'
240240
map:
241-
"<http://rdfs.org/sioc/ns#Post>": "Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent"
241+
'<http://rdfs.org/sioc/ns#Post>': 'Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent'
242242
243243
.. code-block:: xml
244244

bundles/phpcr_odm/configuration.rst

Lines changed: 14 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -43,29 +43,19 @@ Configuration
4343
.. code-block:: xml
4444
4545
<!-- app/config/config.xml -->
46-
<?xml version="1.0" encoding="UTF-8" ?>
46+
<?xml version="1.0" charset="UTF-8" ?>
4747
<container xmlns="http://symfony.com/schema/dic/services">
4848
4949
<config xmlns="http://doctrine-project.org/schema/symfony-dic/odm/phpcr">
50-
51-
<session
52-
workspace="default"
53-
username="admin"
54-
password="admin"
55-
>
56-
57-
<backend
58-
type="X"
59-
>
50+
<session workspace="default" username="admin" password="admin">
51+
<backend type="X">
6052
<parameter key="jackalope.factory">Jackalope\Factory</parameter>
6153
<parameter key="jackalope.check_login_on_server">false</parameter>
6254
<parameter key="jackalope.disable_stream_wrapper">false</parameter>
6355
<parameter key="jackalope.auto_lastmodified">true</parameter>
6456
</backend>
6557
66-
<options
67-
jackalope.fetch_depth="1"
68-
/>
58+
<options jackalope.fetch_depth="1" />
6959
</session>
7060
</config>
7161
</container>
@@ -473,13 +463,10 @@ not configure anything here, the ODM services will not be loaded.
473463
.. code-block:: xml
474464
475465
<!-- app/config/config.xml -->
476-
<?xml version="1.0" encoding="UTF-8" ?>
466+
<?xml version="1.0" charset="UTF-8" ?>
477467
<container xmlns="http://symfony.com/schema/dic/services">
478-
479468
<config xmlns="http://doctrine-project.org/schema/symfony-dic/odm/phpcr">
480-
481-
<odm
482-
configuration-id="null"
469+
<odm configuration-id="null"
483470
auto-mapping="true"
484471
auto-generate-proxy-classes="%kernel.debug%"
485472
proxy-dir="%kernel.cache_dir%/doctrine/PHPCRProxies"
@@ -489,16 +476,14 @@ not configure anything here, the ODM services will not be loaded.
489476
<translation alias="phpcr_locale" />
490477
</namespaces>
491478
492-
<mappings>
493-
<"name"
494-
mapping="true"
495-
type="null"
496-
dir="null"
497-
alias="null"
498-
prefix="null"
499-
is-bundle="null"
500-
/>
501-
</mappings>
479+
<mapping name="<name>">
480+
mapping="true"
481+
type="null"
482+
dir="null"
483+
alias="null"
484+
prefix="null"
485+
is-bundle="null"
486+
/>
502487
503488
<metadata-cache-driver
504489
type="array"

requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)