From 01f5ede277a607d1a326c43538ab1f8860f99d0b Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 9 Oct 2019 16:00:28 +0100 Subject: [PATCH] fix(map.jinja): fix `salt-lint` errors ```bash Examining php/map.jinja of type state [204] Lines should be no longer that 160 chars php/map.jinja:25 'build_pkgs': ['libssl-dev', 'libcurl4-openssl-dev', 'pkg-config', 'libsslcommon2-dev', 'gcc', 'make', 'autoconf', 'libc-dev', 'pkg-config'], [204] Lines should be no longer that 160 chars php/map.jinja:191 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', [204] Lines should be no longer that 160 chars php/map.jinja:192 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', [204] Lines should be no longer that 160 chars php/map.jinja:520 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', [204] Lines should be no longer that 160 chars php/map.jinja:521 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', [204] Lines should be no longer that 160 chars php/map.jinja:896 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', [204] Lines should be no longer that 160 chars php/map.jinja:897 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', [204] Lines should be no longer that 160 chars php/map.jinja:1270 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', [204] Lines should be no longer that 160 chars php/map.jinja:1271 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', [204] Lines should be no longer that 160 chars php/map.jinja:1644 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', [204] Lines should be no longer that 160 chars php/map.jinja:1645 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', [204] Lines should be no longer that 160 chars php/map.jinja:2035 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', [204] Lines should be no longer that 160 chars php/map.jinja:2036 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', [204] Lines should be no longer that 160 chars php/map.jinja:2206 'build_pkgs': ['libssl-dev', 'libcurl4-openssl-dev', 'pkg-config', 'libsslcommon2-dev', 'gcc', 'make', 'autoconf', 'libc-dev', 'pkg-config'], [204] Lines should be no longer that 160 chars php/map.jinja:2375 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', [204] Lines should be no longer that 160 chars php/map.jinja:2376 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', ``` --- php/map.jinja | 199 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 176 insertions(+), 23 deletions(-) diff --git a/php/map.jinja b/php/map.jinja index 0b4cb18..fa5a068 100644 --- a/php/map.jinja +++ b/php/map.jinja @@ -22,7 +22,17 @@ 'apc': 'php-apcu', 'apcu': 'php-apcu-bc', 'bcmath': 'php' + php_version + '-bcmath', - 'build_pkgs': ['libssl-dev', 'libcurl4-openssl-dev', 'pkg-config', 'libsslcommon2-dev', 'gcc', 'make', 'autoconf', 'libc-dev', 'pkg-config'], + 'build_pkgs': [ + 'libssl-dev', + 'libcurl4-openssl-dev', + 'pkg-config', + 'libsslcommon2-dev', + 'gcc', + 'make', + 'autoconf', + 'libc-dev', + 'pkg-config', + ], 'bz2': 'php' + php_version + '-bz2', 'cache-lite': 'php-cache-lite', 'cgi': 'php' + php_version + '-cgi', @@ -188,9 +198,28 @@ 'auto_globals_jit': 'On', 'default_mimetype': '"text/html"', 'default_socket_timeout': 60, - 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', - 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', - 'pcntl_sigprocmask','pcntl_sigwaitinfo','pcntl_sigtimedwait','pcntl_exec','pcntl_getpriority','pcntl_setpriority'], + 'disable_functions': [ + 'pcntl_alarm', + 'pcntl_fork', + 'pcntl_waitpid', + 'pcntl_wait', + 'pcntl_wifexited', + 'pcntl_wifstopped', + 'pcntl_wifsignaled', + 'pcntl_wexitstatus', + 'pcntl_wtermsig', + 'pcntl_wstopsig', + 'pcntl_signal', + 'pcntl_signal_dispatch', + 'pcntl_get_last_error', + 'pcntl_strerror', + 'pcntl_sigprocmask', + 'pcntl_sigwaitinfo', + 'pcntl_sigtimedwait', + 'pcntl_exec', + 'pcntl_getpriority', + 'pcntl_setpriority', + ], 'display_errors': 'Off', 'display_startup_errors': 'Off', 'enable_dl': 'Off', @@ -517,9 +546,28 @@ 'auto_globals_jit': 'On', 'default_mimetype': '"text/html"', 'default_socket_timeout': 60, - 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', - 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', - 'pcntl_sigprocmask','pcntl_sigwaitinfo','pcntl_sigtimedwait','pcntl_exec','pcntl_getpriority','pcntl_setpriority'], + 'disable_functions': [ + 'pcntl_alarm', + 'pcntl_fork', + 'pcntl_waitpid', + 'pcntl_wait', + 'pcntl_wifexited', + 'pcntl_wifstopped', + 'pcntl_wifsignaled', + 'pcntl_wexitstatus', + 'pcntl_wtermsig', + 'pcntl_wstopsig', + 'pcntl_signal', + 'pcntl_signal_dispatch', + 'pcntl_get_last_error', + 'pcntl_strerror', + 'pcntl_sigprocmask', + 'pcntl_sigwaitinfo', + 'pcntl_sigtimedwait', + 'pcntl_exec', + 'pcntl_getpriority', + 'pcntl_setpriority', + ], 'display_errors': 'Off', 'display_startup_errors': 'Off', 'enable_dl': 'Off', @@ -893,9 +941,28 @@ 'auto_globals_jit': 'On', 'default_mimetype': '"text/html"', 'default_socket_timeout': 60, - 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', - 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', - 'pcntl_sigprocmask','pcntl_sigwaitinfo','pcntl_sigtimedwait','pcntl_exec','pcntl_getpriority','pcntl_setpriority'], + 'disable_functions': [ + 'pcntl_alarm', + 'pcntl_fork', + 'pcntl_waitpid', + 'pcntl_wait', + 'pcntl_wifexited', + 'pcntl_wifstopped', + 'pcntl_wifsignaled', + 'pcntl_wexitstatus', + 'pcntl_wtermsig', + 'pcntl_wstopsig', + 'pcntl_signal', + 'pcntl_signal_dispatch', + 'pcntl_get_last_error', + 'pcntl_strerror', + 'pcntl_sigprocmask', + 'pcntl_sigwaitinfo', + 'pcntl_sigtimedwait', + 'pcntl_exec', + 'pcntl_getpriority', + 'pcntl_setpriority', + ], 'display_errors': 'Off', 'display_startup_errors': 'Off', 'enable_dl': 'Off', @@ -1267,9 +1334,28 @@ 'auto_globals_jit': 'On', 'default_mimetype': '"text/html"', 'default_socket_timeout': 60, - 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', - 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', - 'pcntl_sigprocmask','pcntl_sigwaitinfo','pcntl_sigtimedwait','pcntl_exec','pcntl_getpriority','pcntl_setpriority'], + 'disable_functions': [ + 'pcntl_alarm', + 'pcntl_fork', + 'pcntl_waitpid', + 'pcntl_wait', + 'pcntl_wifexited', + 'pcntl_wifstopped', + 'pcntl_wifsignaled', + 'pcntl_wexitstatus', + 'pcntl_wtermsig', + 'pcntl_wstopsig', + 'pcntl_signal', + 'pcntl_signal_dispatch', + 'pcntl_get_last_error', + 'pcntl_strerror', + 'pcntl_sigprocmask', + 'pcntl_sigwaitinfo', + 'pcntl_sigtimedwait', + 'pcntl_exec', + 'pcntl_getpriority', + 'pcntl_setpriority', + ], 'display_errors': 'Off', 'display_startup_errors': 'Off', 'enable_dl': 'Off', @@ -1641,9 +1727,28 @@ 'auto_globals_jit': 'On', 'default_mimetype': '"text/html"', 'default_socket_timeout': 60, - 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', - 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', - 'pcntl_sigprocmask','pcntl_sigwaitinfo','pcntl_sigtimedwait','pcntl_exec','pcntl_getpriority','pcntl_setpriority'], + 'disable_functions': [ + 'pcntl_alarm', + 'pcntl_fork', + 'pcntl_waitpid', + 'pcntl_wait', + 'pcntl_wifexited', + 'pcntl_wifstopped', + 'pcntl_wifsignaled', + 'pcntl_wexitstatus', + 'pcntl_wtermsig', + 'pcntl_wstopsig', + 'pcntl_signal', + 'pcntl_signal_dispatch', + 'pcntl_get_last_error', + 'pcntl_strerror', + 'pcntl_sigprocmask', + 'pcntl_sigwaitinfo', + 'pcntl_sigtimedwait', + 'pcntl_exec', + 'pcntl_getpriority', + 'pcntl_setpriority', + ], 'display_errors': 'Off', 'display_startup_errors': 'Off', 'enable_dl': 'Off', @@ -2032,9 +2137,28 @@ 'auto_globals_jit': 'On', 'default_mimetype': '"text/html"', 'default_socket_timeout': 60, - 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', - 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', - 'pcntl_sigprocmask','pcntl_sigwaitinfo','pcntl_sigtimedwait','pcntl_exec','pcntl_getpriority','pcntl_setpriority'], + 'disable_functions': [ + 'pcntl_alarm', + 'pcntl_fork', + 'pcntl_waitpid', + 'pcntl_wait', + 'pcntl_wifexited', + 'pcntl_wifstopped', + 'pcntl_wifsignaled', + 'pcntl_wexitstatus', + 'pcntl_wtermsig', + 'pcntl_wstopsig', + 'pcntl_signal', + 'pcntl_signal_dispatch', + 'pcntl_get_last_error', + 'pcntl_strerror', + 'pcntl_sigprocmask', + 'pcntl_sigwaitinfo', + 'pcntl_sigtimedwait', + 'pcntl_exec', + 'pcntl_getpriority', + 'pcntl_setpriority', + ], 'display_errors': 'Off', 'display_startup_errors': 'Off', 'enable_dl': 'Off', @@ -2203,7 +2327,17 @@ 'apcu': 'php-apcu-bc', 'bcmath': 'php' + php_version + '-bcmath', 'bz2': 'php' + php_version + '-bz2', - 'build_pkgs': ['libssl-dev', 'libcurl4-openssl-dev', 'pkg-config', 'libsslcommon2-dev', 'gcc', 'make', 'autoconf', 'libc-dev', 'pkg-config'], + 'build_pkgs': [ + 'libssl-dev', + 'libcurl4-openssl-dev', + 'pkg-config', + 'libsslcommon2-dev', + 'gcc', + 'make', + 'autoconf', + 'libc-dev', + 'pkg-config', + ], 'cache-lite': 'php-cache-lite', 'cgi': 'php' + php_version + '-cgi', 'cli': 'php' + php_version + '-cli', @@ -2372,9 +2506,28 @@ 'auto_globals_jit': 'On', 'default_mimetype': '"text/html"', 'default_socket_timeout': 60, - 'disable_functions': ['pcntl_alarm','pcntl_fork','pcntl_waitpid','pcntl_wait','pcntl_wifexited','pcntl_wifstopped','pcntl_wifsignaled', - 'pcntl_wexitstatus','pcntl_wtermsig','pcntl_wstopsig','pcntl_signal','pcntl_signal_dispatch','pcntl_get_last_error','pcntl_strerror', - 'pcntl_sigprocmask','pcntl_sigwaitinfo','pcntl_sigtimedwait','pcntl_exec','pcntl_getpriority','pcntl_setpriority'], + 'disable_functions': [ + 'pcntl_alarm', + 'pcntl_fork', + 'pcntl_waitpid', + 'pcntl_wait', + 'pcntl_wifexited', + 'pcntl_wifstopped', + 'pcntl_wifsignaled', + 'pcntl_wexitstatus', + 'pcntl_wtermsig', + 'pcntl_wstopsig', + 'pcntl_signal', + 'pcntl_signal_dispatch', + 'pcntl_get_last_error', + 'pcntl_strerror', + 'pcntl_sigprocmask', + 'pcntl_sigwaitinfo', + 'pcntl_sigtimedwait', + 'pcntl_exec', + 'pcntl_getpriority', + 'pcntl_setpriority', + ], 'display_errors': 'Off', 'display_startup_errors': 'Off', 'enable_dl': 'Off',