Add required php extensions for psalm

Signed-off-by: jld3103 <jld3103yt@gmail.com>
This commit is contained in:
jld3103
2023-05-11 11:48:05 +02:00
parent bb96d2dc46
commit 04e0fb8d48
2 changed files with 32 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ Please make sure you have set up a :ref:`devenv`.
.. toctree::
:maxdepth: 2
static-analysis
unit-testing
externalapi
architecture/index

View File

@@ -0,0 +1,31 @@
===============
Static analysis
===============
PHP static analysis
-------------------
In the server repository psalm is used for static analysis of the PHP code.
Required PHP extensions
^^^^^^^^^^^^^^^^^^^^^^^
The following PHP extensions are required to be installed and enabled to make psalm work:
* acpu
* curl
* ftp
* gd
* iconv
* json
* ldap
* libxml
* mbstring
* openssl
* pdo
* simplexml
* sysvsem
* xmlreader
* zip
Some of these are for optional features, but are still required to validate the code.