Files
nextcloud-docs/developer_manual/core/static-analysis.rst
jld3103 6ecd1e2a5d Add OpenAPI tutorial
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-07 13:10:21 +02:00

34 lines
544 B
ReStructuredText

===============
Static analysis
===============
PHP static analysis
-------------------
In the server repository psalm is used for static analysis of the PHP code.
.. _psalm-php-extensions:
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.