mirror of
https://github.com/Karaka-Management/oms-Shop.git
synced 2026-01-11 18:48:41 +00:00
fix build
This commit is contained in:
parent
8b6437ee3c
commit
c72b060def
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
|
@ -158,7 +158,10 @@ jobs:
|
||||||
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, imap, bcmath, redis, memcached
|
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, imap, bcmath, redis, memcached
|
||||||
ini-values: opcache.jit_buffer_size=256M, opcache.jit=1235, pcre.jit=1
|
ini-values: opcache.jit_buffer_size=256M, opcache.jit=1235, pcre.jit=1
|
||||||
- name: PHP linting
|
- name: PHP linting
|
||||||
run: find ./ -type f -name '*.php' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" )
|
run: |
|
||||||
|
find ./ -type f \
|
||||||
|
-not -path "./Admin/Install/Application/*" \
|
||||||
|
-name '*.php' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" )
|
||||||
- name: Php strict
|
- name: Php strict
|
||||||
run: if [[ $(grep -r -L "declare(strict_types=1);" --include=*.php --exclude={*.tpl.php,*Hooks.php,*Routes.php,*SearchCommands.php} ./) -ne "" ]]; then exit 1; fi
|
run: if [[ $(grep -r -L "declare(strict_types=1);" --include=*.php --exclude={*.tpl.php,*Hooks.php,*Routes.php,*SearchCommands.php} ./) -ne "" ]]; then exit 1; fi
|
||||||
- name: Html inspection
|
- name: Html inspection
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user