@@ -187,24 +187,24 @@ Loading development fixture data
187187To 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
194194To 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
198198To update all dependencies:
199199``composer update ``, this is useful before a new contest when there is enough time to fix possible issues.
200200
201201To 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
204204dependency ``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