Skip to content

Commit 0d7e3de

Browse files
Merge pull request #10373 from nextcloud/backport/10370/stable26
[stable26] Add required php extensions for psalm
2 parents 7321cf4 + a370bed commit 0d7e3de

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

developer_manual/core/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Please make sure you have set up a :ref:`devenv`.
99
.. toctree::
1010
:maxdepth: 2
1111

12+
static-analysis
1213
unit-testing
1314
externalapi
1415
architecture/index
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
===============
2+
Static analysis
3+
===============
4+
5+
PHP static analysis
6+
-------------------
7+
8+
In the server repository psalm is used for static analysis of the PHP code.
9+
10+
Required PHP extensions
11+
^^^^^^^^^^^^^^^^^^^^^^^
12+
13+
The following PHP extensions are required to be installed and enabled to make psalm work:
14+
15+
* acpu
16+
* curl
17+
* ftp
18+
* gd
19+
* iconv
20+
* json
21+
* ldap
22+
* libxml
23+
* mbstring
24+
* openssl
25+
* pdo
26+
* simplexml
27+
* sysvsem
28+
* xmlreader
29+
* zip
30+
31+
Some of these are for optional features, but are still required to validate the code.

0 commit comments

Comments
 (0)