HEX
HEX
Server: Apache
System: Linux localhost.localdomain 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64
User: www (1001)
PHP: 8.1.32
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/ahmsolaiman.com/wp-content/plugins/types/phpstan.neon.dist
parameters:
    level: 5

    paths:
        - application
        - vendor/toolset/types
        - vendor/toolset/toolset-common
        - wpcf.php

    scanFiles:
        - wpcf.php
        - application/functions.php
        - application/functions_public.php

    scanDirectories:
        - vendor/toolset/types
        - vendor/toolset/toolset-common

    excludePaths:
        analyse:
            - vendor/toolset/types
            - vendor/toolset/toolset-common
            - application/legacy_aliases

    parallel:
        processTimeout: 300.0

    bootstrapFiles:
        - tests/phpstan/bootstrap.php

    ignoreErrors:
        # Still not fixed: https://github.com/php-stubs/wordpress-stubs/issues/2
        - '#^Function do_action(_ref_array)? invoked with [3456] parameters, 1-2 required\.$#'
        - '#^Function current_user_can invoked with 2 parameters, 1 required\.$#'
        - '#^Function apply_filters invoked with [3456789] parameters, 2 required\.$#'
        - '#^Function add_query_arg invoked with [123] parameters?, 0 required\.$#'
        - '#^Function wp_sprintf invoked with [23456] parameters, 1 required\.$#'
        - '#^Function add_post_type_support invoked with [345] parameters, 2 required\.$#'
        - '#^Function ((get|add)_theme_support|current_theme_supports) invoked with [2345] parameters, 1 required\.$#'

        # Code with hard dependencies that needs to be refactored.
        -
            message: '#Constant WPDDL_LAYOUTS_META_KEY not found.#'
            path: application/models/helper/create/layout.php
        -
            message: '#Constant WPDDL_LAYOUTS_POST_TYPE not found.#'
            path: application/models/helper/create/layout.php
        -
            message: '#Access to an undefined property WP_Views::\$users_data.#'
            path: application/models/user/service.php
        -
            message: '#Access to an undefined property WP_Views::\$taxonomy_data.#'
            path: application/models/term/service.php
        -
            message: '#Parameter \#1 \$wp_installer_instance of function WP_Installer_Setup expects string, null given.#'
            path: application/bootstrap.php


    reportUnmatchedIgnoredErrors: false

    dynamicConstantNames:
        - TOOLSET_TYPES_YOAST

    treatPhpDocTypesAsCertain: false