mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Add required php extensions for psalm
Signed-off-by: jld3103 <jld3103yt@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@ Please make sure you have set up a :ref:`devenv`.
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
static-analysis
|
||||
unit-testing
|
||||
externalapi
|
||||
architecture/index
|
||||
|
||||
31
developer_manual/core/static-analysis.rst
Normal file
31
developer_manual/core/static-analysis.rst
Normal 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.
|
||||
Reference in New Issue
Block a user