Skip to content

Commit 5fd2b55

Browse files
authored
Merge pull request #2344 from dafriend/setup.vs.set_up
Setup vs Set Up
2 parents 3ffedff + e75844b commit 5fd2b55

20 files changed

Lines changed: 43 additions & 44 deletions

user_guide_src/source/concepts/structure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ non-writable as an added security measure.
7171

7272
tests
7373
-----
74-
This directory is setup to hold your test files. The ``_support`` directory holds various mock classes and other
74+
This directory is set up to hold your test files. The ``_support`` directory holds various mock classes and other
7575
utilities that you can use while writing your tests. This directory does not need to be transferred to your
7676
production servers.
7777

user_guide_src/source/general/errors.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Error Handling
44

55
CodeIgniter builds error reporting into your system through Exceptions, both the `SPL collection <http://php.net/manual/en/spl.exceptions.php>`_, as
66
well as a few custom exceptions that are provided by the framework. Depending on your environment's setup, the
7-
default action when an error or exception is thrown is to display a detailed error report, unless the application
7+
the default action when an error or exception is thrown is to display a detailed error report unless the application
88
is running under the ``production`` environment. In this case, a more generic message is displayed to
99
keep the best user experience for your users.
1010

@@ -82,7 +82,7 @@ To ignore logging on other status codes, you can set the status code to ignore i
8282
}
8383

8484
.. note:: It is possible that logging still will not happen for exceptions if your current Log settings
85-
are not setup to log **critical** errors, which all exceptions are logged as.
85+
are not set up to log **critical** errors, which all exceptions are logged as.
8686

8787
Custom Exceptions
8888
=================

user_guide_src/source/general/helpers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Loading from Non-standard Locations
6666

6767
Helpers can be loaded from directories outside of **app/Helpers** and
6868
**system/Helpers**, as long as that path can be found through a namespace that
69-
has been setup within the PSR-4 section of the :doc:`Autoloader config file <../concepts/autoloader>`.
69+
has been set up within the PSR-4 section of the :doc:`Autoloader config file <../concepts/autoloader>`.
7070
You would prefix the name of the Helper with the namespace that it can be located
7171
in. Within that namespaced directory, the loader expects it to live within a
7272
sub-directory named ``Helpers``. An example will help understand this.

user_guide_src/source/general/modules.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ Open **app/Config/Autoload.php** and add the **Acme** namespace to the ``psr4``
3939
'Acme' => ROOTPATH.'acme'
4040
];
4141

42-
Now that this is setup we can access any file within the **acme** folder through the ``Acme`` namespace. This alone
43-
takes care of 80% of what is needed for modules to work, so you should be sure to familiarize yourself within namespaces
44-
and become comfortable with their use. A number of the file types will be scanned for automatically through all defined
45-
namespaces here, making this crucial to working with modules at all.
42+
Now that this is set up, we can access any file within the **acme** folder through the ``Acme`` namespace. This alone
43+
takes care of 80% of what is needed for modules to work, so you should be sure to familiarize yourself with namespaces
44+
and become comfortable with their use. Several file types will be scanned for automatically through all defined namespaces - a crucial ingredient for working with modules.
4645

4746
A common directory structure within a module will mimic the main application folder::
4847

user_guide_src/source/installation/installing_composer.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ the latest released version of the framework.
2727
This installation technique would suit a developer who wishes to start
2828
a new CodeIgniter4 based project.
2929

30-
Installation & Setup
30+
Installation & Set Up
3131
-------------------------------------------------------
3232

3333
In the folder above your project root::
@@ -75,7 +75,7 @@ You still need to check for ``app/Config`` changes after updating
7575
Structure
7676
-------------------------------------------------------
7777

78-
Folders in your project after setup:
78+
Folders in your project after set up:
7979

8080
- app, public, tests, writable
8181
- vendor/codeigniter4/framework/system
@@ -84,7 +84,7 @@ Folders in your project after setup:
8484
Dev Starter
8585
============================================================
8686

87-
Installation & Setup
87+
Installation & Set Up
8888
-------------------------------------------------------
8989

9090
The `CodeIgniter 4 dev starter <https://github.com/codeigniter4/devstarter>`_
@@ -140,7 +140,7 @@ You still need to check for ``app/Config`` changes after updating.
140140
Structure
141141
-------------------------------------------------------
142142

143-
Folders in your project after setup:
143+
Folders in your project after set up:
144144

145145
- app, public, tests, writable
146146
- vendor/codeigniter4/codeigniter4/system
@@ -163,7 +163,7 @@ In your project root::
163163
As with the earlier two composer install methods, you can omit installing
164164
phpunit and its dependencies by adding the "--no-dev" argument to the "composer require" command.
165165

166-
Setup
166+
Set Up
167167
-------------------------------------------------------
168168

169169
Copy the app, public, tests and writable folders from ``vendor/codeigniter4/framework``
@@ -198,7 +198,7 @@ You still need to check for ``app/Config`` changes after updating
198198
Structure
199199
-------------------------------------------------------
200200

201-
Folders in your project after setup:
201+
Folders in your project after set up:
202202

203203
- app, public, tests, writable
204204
- vendor/codeigniter4/framework/system

user_guide_src/source/installation/installing_git.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Install the latest version of the codebase by
1212
- forking the `codebase <https://github.com/codeigniter4/CodeIgniter4>`_ to your github account
1313
- cloning **your** forked repository locally
1414

15-
Setup
15+
Setting Up
1616
-------------------------------------------------------
1717

1818
The command above will create a "CodeIgniter4" folder.
1919
Feel free to rename that as you see fit.
2020

21-
You will want to setup a remote repository alias, so you can synchronize
21+
You will want to set up a remote repository alias, so you can synchronize
2222
your repository with the main one::
2323

2424
git remote add upstream https://github.com/codeigniter4/CodeIgniter4.git
@@ -59,7 +59,7 @@ You would not use this technique for app development.
5959
Structure
6060
-------------------------------------------------------
6161

62-
Folders in your project after setup:
62+
Folders in your project after set up:
6363

6464
- app, public, system, tests, user_guide_src, writable
6565

user_guide_src/source/installation/installing_manual.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Installation
1818
Download the `latest version <https://github.com/CodeIgniter4/framework/releases/latest>`_,
1919
and extract it to become your project root.
2020

21-
Setup
21+
Setting Up
2222
-------------------------------------------------------
2323

2424
None
@@ -45,7 +45,7 @@ You are responsible for merge conflicts when updating
4545
Structure
4646
-------------------------------------------------------
4747

48-
Folders in your project after setup:
48+
Folders in your project after set up:
4949
app, public, system, writable
5050

5151

user_guide_src/source/installation/running.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This section addresses how to use each technique, and explains some of the pros
1212
If you’re new to CodeIgniter, please read the :doc:`Getting Started </intro/index>`
1313
section of the User Guide to begin learning how to build dynamic PHP applications. Enjoy!
1414

15-
Initial Configuration & Setup
15+
Initial Configuration & Set Up
1616
=================================================
1717

1818
#. Open the **app/Config/App.php** file with a text editor and
@@ -102,7 +102,7 @@ Virtual Hosting
102102
-------------------------------------------------------
103103

104104
We recommend using “virtual hosting” to run your apps.
105-
You can setup different aliases for each of the apps you work on,
105+
You can set up different aliases for each of the apps you work on,
106106

107107
Make sure that the virtual hosting module is enabled (uncommented) in the main
108108
configuration file, eg. ``apache2/conf/httpd.conf``::
@@ -147,22 +147,22 @@ isolated environment for testing.
147147
The codebase comes with a ``VagrantFile.dist``, that can be copied to ``VagrantFile``
148148
and tailored for your system, for instance enabling access to specific database or caching engines.
149149

150-
Setup
150+
Setting Up
151151
-------------------------------------------------------
152152

153153
It assumes that you have installed `VirtualBox <https://www.virtualbox.org/wiki/Downloads>`_ and
154154
`Vagrant <https://www.vagrantup.com/downloads.html>`_
155155
for your platform.
156156

157-
The Vagrant configuration file assumes you have the `ubuntu/bionic64 Vagrant box
158-
<https://app.vagrantup.com/ubuntu/boxes/bionic64>`_ setup on your system::
157+
The Vagrant configuration file assumes you have set up a `ubuntu/bionic64 Vagrant box
158+
<https://app.vagrantup.com/ubuntu/boxes/bionic64>`_ on your system::
159159

160160
vagrant box add ubuntu/bionic64
161161

162162
Testing
163163
-------------------------------------------------------
164164

165-
Once setup, you can then launch your webapp inside a VM, with the command::
165+
Once set up, you can then launch your webapp inside a VM, with the command::
166166

167167
vagrant up
168168

user_guide_src/source/installation/troubleshooting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ I have to include index.php in my URL
2121

2222
If a URL like ``/mypage/find/apple`` doesn't work, but the similar
2323
URL ``/index.php/mypage/find/apple`` does, that sounds like your ``.htaccess`` rules
24-
(for Apache) are not setup properly, or the ``mod_rewrite`` extension
24+
(for Apache) are not set up properly, or the ``mod_rewrite`` extension
2525
in Apache's ``httpd.conf`` is commented out.
2626

2727
Only the default page loads

user_guide_src/source/libraries/pagination.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Paginating Database Results
2020

2121
In most cases, you will be using the Pager library in order to paginate results that you retrieve from the database.
2222
When using the :doc:`Model </models/model>` class, you can use its built-in ``paginate()`` method to automatically
23-
retrieve the current batch of results, as well as setup the Pager library so it's ready to use in your controllers.
23+
retrieve the current batch of results, as well as set up the Pager library so it's ready to use in your controllers.
2424
It even reads the current page it should display from the current URL via a ``page=X`` query variable.
2525

2626
To provide a paginated list of users in your application, your controller's method would look something like::

0 commit comments

Comments
 (0)