phpmyadmin/test/ci-phpstan
William Desportes 7b13da98cd
Added phpstan
- Added phpstan/phpstan
- Added bootstrap file
- Added phpstan config
- Added ci file
- Added to CI matrix

Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-06-15 23:18:01 +02:00

8 lines
239 B
Bash
Executable File

#!/bin/sh
cd $(dirname $0)/../
echo "Running in : $(pwd)"
# 1G is a litte high, should use < 512M (less ram + a lot of code = bigger risk of crash)
./vendor/bin/phpstan analyse ./ --configuration=phpstan.neon --level=0 --memory-limit=1G