Skip to content

Commit e3a6ad0

Browse files
committed
Merge pull request #15 from cordoval/fix-typos
fixed some typos
2 parents cdb882d + 5e43717 commit e3a6ad0

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

book/getting_started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The shortest self-contained example should output a line with 'value':
4949
$repository = $factory->getRepository($parameters);
5050
5151
// create the credentials object to authenticate with the repository
52-
$credentials = new \PHPCR\SimpleCredentials('admin','admin');
52+
$credentials = new \PHPCR\SimpleCredentials('admin', 'admin');
5353
5454
// login to the repository and retrieve the session
5555
$session = $repository->login($credentials, 'default');
@@ -77,7 +77,7 @@ Get some data into the repository
7777
---------------------------------
7878

7979
We will discuss the import feature in more detail later, but to have some
80-
data, we just import something here. Create an XML file called `test.xml``:
80+
data now for the example, we just import something here. Create an XML file called `test.xml``:
8181

8282
.. code-block:: xml
8383

book/import_export.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ an SQL table into a ``csv`` file. You can restore the data from both, but the SQ
1515
dump knows every detail about your field types and so on while the CSV just
1616
knows the data.
1717

18-
When exporting, you explictly call a method corresponding to the desired
18+
When exporting, you explicitly call a method corresponding to the desired
1919
format:
2020

2121
.. code-block:: php

book/reading_data_and_traversal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Reading properties
4343
fpassthru($stream);
4444
fclose($stream);
4545
46-
// the above in short if you just want to dump a file that is in a binary propery:
46+
// the above in short if you just want to dump a file that is in a binary property:
4747
// fpassthru($node->getPropertyValue('binary-prop'));
4848
4949
Note: the backend stores the property types. When getting property values, they are returned

book/transactions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Transactions
33

44
The PHPCR API in itself uses some sort of 'transaction' model by only
55
persisting changes on session save. If you need transactions over more than one
6-
save operation or including workspace operations that are dispatched immediatly,
6+
save operation or including workspace operations that are dispatched immediately,
77
you can use transactions.
88

99
Note that Jackalope does not support the full transactions:

phpcr-shell/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ commands:
1313
PHPCRSH> shell:config:init
1414
PHPCRSH> shell:config:reload
1515
16-
At time of writing the only configuration file affected by these commands is
16+
At the time of writing the only configuration file affected by these commands is
1717
the ``aliases.yml`` file detailed below.
1818

1919
.. _phpcrsh_configuration_aliases:
@@ -39,7 +39,7 @@ For example:
3939
4040
Are all examples of aliases.
4141

42-
Below is the distribution version of this file at time of writing:
42+
Below is the distribution version of this file at the time of writing:
4343

4444
.. code-block:: yaml
4545

phpcr-shell/connecting.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Doctrine-Dbal
2929
General connections
3030
"""""""""""""""""""
3131

32-
The following is the minimal required to connect to a MySQL database:
32+
The following is the minimal required parameters to connect to a MySQL database:
3333

3434
.. code-block:: bash
3535
@@ -39,7 +39,7 @@ Parameters:
3939

4040
- **db-name**: Name of database to connect to
4141
- **db-user**: Username for database, default ``root``
42-
- **db-password**: Password for datanase, default empty
42+
- **db-password**: Password for database, default empty
4343
- **db-host**: Host for database, default ``localhost``
4444
- **db-path**: Path to sqlite database
4545

phpcr-shell/installation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Installation
22
============
33

44
You can install PHPCR Shell either as an embedded application or as a PHAR, or
5-
you can built it your self (for instance if you want the latest version).
5+
you can build it yourself (when you want the latest version).
66

77
.. _phpcrsh-connecting-installation-as-phar:
88

@@ -12,7 +12,7 @@ Install as a PHAR
1212
The latest release can be downloaded from the `Github releases page
1313
<https://github.com/doctrine/DoctrinePHPCRBundle/>`_.
1414

15-
After downloading it it is recommended to install it in a path accessible
15+
After downloading it is recommended to install it in a path accessible
1616
by the system, for example:
1717

1818
.. code-block:: bash
@@ -43,7 +43,7 @@ Simply add the shell to your ``composer.json`` file
4343
...
4444
require: {
4545
...
46-
"phpcr-shell": "<lastest version here>"
46+
"phpcr-shell": "<latest version here>"
4747
}
4848
...
4949
}
@@ -57,7 +57,7 @@ And you can connect directly:
5757
Build it from source
5858
--------------------
5959

60-
PHPSH uses the box PHAR building tool, install it `here <http://box-project.org>`_.
60+
PHPCRSH uses the box PHAR building tool, install it `here <http://box-project.org>`_.
6161

6262
Build the PHAR:
6363

phpcr-shell/interacting.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Interacting
22
===========
33

4-
The PHPCRSH is designed to be a hybrid of a filesystem and RDBMS shell. You can
4+
The PHPCRSH is designed to be a hybrid of a filesystem and an RDBMS shell. You can
55
both navigate the content hierarchy and execute queries.
66

77
.. note::
88

99
PHPCRSH supports "aliases". In this chapter we will use aliases rather than the full
10-
commands, for example "ls" instead of "node:list", "rm" instead of "node:remove" etc.
10+
version of the commands, for example "ls" instead of "node:list", "rm" instead of "node:remove" etc.
1111
See the chapter on :ref:`phpcrsh_configuration_aliases` for more information.
1212

1313
This chapter aims to highlight some but not all of the features of the shell. For a full
@@ -16,7 +16,7 @@ list of features use the ``list`` command.
1616
The current path
1717
----------------
1818

19-
You can navigate the content heriarchy using the :ref:`phpcr_shell_command_shellpathchange` (or `cd` for short). The
19+
You can navigate the content hierarchy using the :ref:`phpcr_shell_command_shellpathchange` (or `cd` for short). The
2020
`pwd` command is the alias for :ref:`phpcr_shell_command_shellpathshow` and displays the current working path:
2121

2222
.. code-block:: bash
@@ -80,7 +80,7 @@ And a depth:
8080
| jcr:primaryType | NAME | nt:unstructured |
8181
+--------------------------------------------------------------------------+-----------------+-----------------------------------+
8282
83-
In addtion to listing the actual node content, you can also show the
83+
In addition to listing the actual node content, you can also show the
8484
node properties and children which are defined in the schema with the ``-t`` option
8585
(**t** for template). The second of the following two examples illustrates this option:
8686

@@ -109,7 +109,7 @@ many.
109109
Editing nodes
110110
-------------
111111

112-
You can edit nodes simply using your systems default editor (as defined by the ``$EDITOR`` environment
112+
You can edit nodes simply by using your system's default editor (as defined by the ``$EDITOR`` environment
113113
variable).
114114

115115

0 commit comments

Comments
 (0)