Skip to content

Commit a20c5ff

Browse files
elderingvmcj
authored andcommitted
Small language improvements and typo fix
1 parent 5f3388f commit a20c5ff

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/manual/develop.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,24 +187,24 @@ Loading development fixture data
187187
To debug failing Unit tests the fixtures can be loaded with:
188188
``./webapp/bin/console domjudge:load-development-data SampleSubmissionsFixture`` in the current database.
189189

190-
Installing, uppdating & upgrading dependencies
191-
-----------------------------------
192-
To manage the PHP dependencies start from ``/webapp``.
190+
Installing, updating & upgrading dependencies
191+
---------------------------------------------
192+
To manage the PHP dependencies, use the commands below from the ``webapp`` directory.
193193

194194
To require a new dependency/library:
195195
``composer require package/name`` or ``composer require package/name:version``, this is most often needed
196-
when a newer version is broken, is needed because you need a specific new feature or when you need a new library.
196+
when a newer version is broken, or when you need a specific new feature or new library.
197197

198198
To update all dependencies:
199199
``composer update``, this is useful before a new contest when there is enough time to fix possible issues.
200200

201201
To update a single dependency:
202202
``composer update package/name`` and ``composer update -W package/name`` for either a single package upgrade or
203-
also the other requirements if needed. For the second case ``composer`` is allowed to update a dependency in case the
203+
also the other requirements if needed. In the second case, ``composer`` is allowed to update a dependency in case the
204204
dependency ``package/name`` requires a higher version.
205205

206-
When you expect a dependency to upgrade and it doesn't you can check on `Packagist`_ if a newer version exists
207-
and change the version in `composer.json`, or use `composer require package/name:version`` and rerun the commands above.
206+
When you expect a dependency to upgrade and it doesn't, you can check on `Packagist`_ if a newer version exists
207+
and change the version in `composer.json`, or use ``composer require package/name:version`` and rerun the commands above.
208208

209209
.. _CCS Contest API specification: https://ccs-specs.icpc.io/2021-11/contest_api
210210
.. _OpenAPI Specification ver. 3: https://swagger.io/specification/

0 commit comments

Comments
 (0)