diff --git a/Helper/Php/findMissingNullModelTest.php b/Helper/Php/findMissingNullModelTest.php index cb4e370..831f8f8 100644 --- a/Helper/Php/findMissingNullModelTest.php +++ b/Helper/Php/findMissingNullModelTest.php @@ -29,7 +29,7 @@ foreach ($modules as $module) { foreach ($models as $model) { if ($model === '..' || $model === '.' - || \stripos($model, 'Null') !== 0 + || !\str_starts_with($model, 'Null') ) { continue; } diff --git a/Helper/Scripts/serverInstall.sh b/Helper/Scripts/serverInstall.sh index 1021607..32427f3 100644 --- a/Helper/Scripts/serverInstall.sh +++ b/Helper/Scripts/serverInstall.sh @@ -37,7 +37,7 @@ service fail2ban restart ## Web ############################################################### -apt-get install php8.1 php8.1-dev php8.1-cli php8.1-common php8.1-mysql php8.1-pgsql php8.1-xdebug php8.1-opcache php8.1-pdo php8.1-sqlite php8.1-mbstring php8.1-curl php8.1-imap php8.1-bcmath php8.1-zip php8.1-dom php8.1-xml php8.1-phar php8.1-gd php-pear apache2 libapache2-mpm-itk apache2-utils mariadb-server mariadb-client wkhtmltopdf tesseract-ocr poppler-utils +apt-get install php8.1 php8.1-dev php8.1-cli php8.1-common php8.1-mysql php8.1-pgsql php8.1-xdebug php8.1-opcache php8.1-pdo php8.1-sqlite php8.1-mbstring php8.1-curl php8.1-imap php8.1-bcmath php8.1-zip php8.1-dom php8.1-xml php8.1-phar php8.1-gd php-pear apache2 libapache2-mpm-itk apache2-utils mariadb-server mariadb-client wkhtmltopdf tesseract-ocr poppler-utils imagemagick pecl install pcov #echo "extension=pcov.so" > /etc/php/cli/conf.d/20-xdebug.ini