|
| 1 | +<?php |
| 2 | + |
| 3 | +use Phan\Issue; |
| 4 | + |
| 5 | +return [ |
| 6 | + |
| 7 | + 'target_php_version' => null, |
| 8 | + 'allow_missing_properties' => false, |
| 9 | + 'null_casts_as_any_type' => true, |
| 10 | + 'null_casts_as_array' => true, |
| 11 | + 'array_casts_as_null' => true, |
| 12 | + 'scalar_implicit_cast' => true, |
| 13 | + 'scalar_array_key_cast' => true, |
| 14 | + 'scalar_implicit_partial' => [], |
| 15 | + 'strict_method_checking' => false, |
| 16 | + 'strict_object_checking' => false, |
| 17 | + 'strict_param_checking' => false, |
| 18 | + 'strict_property_checking' => false, |
| 19 | + 'strict_return_checking' => false, |
| 20 | + 'ignore_undeclared_variables_in_global_scope' => false, |
| 21 | + 'ignore_undeclared_functions_with_known_signatures' => true, |
| 22 | + 'backward_compatibility_checks' => true, // this is valid for 5.6 -> 7 only |
| 23 | + 'check_docblock_signature_return_type_match' => true, |
| 24 | + 'phpdoc_type_mapping' => [], |
| 25 | + 'dead_code_detection' => false, |
| 26 | + 'unused_variable_detection' => false, |
| 27 | + 'redundant_condition_detection' => false, |
| 28 | + 'assume_real_types_for_internal_functions' => false, |
| 29 | + 'quick_mode' => false, |
| 30 | + 'globals_type_map' => [], |
| 31 | + 'minimum_severity' => Issue::SEVERITY_LOW, |
| 32 | + 'suppress_issue_types' => [ |
| 33 | + ], |
| 34 | + 'exclude_file_regex' => '@^vendor/.*/(tests?|Tests?)/|^tests/@', |
| 35 | + 'exclude_file_list' => [], |
| 36 | + 'exclude_analysis_directory_list' => [ |
| 37 | + 'vendor/', |
| 38 | + ], |
| 39 | + 'enable_include_path_checks' => false, |
| 40 | + 'processes' => 1, |
| 41 | + 'analyzed_file_extensions' => [ |
| 42 | + 'php', |
| 43 | + ], |
| 44 | + 'autoload_internal_extension_signatures' => [], |
| 45 | + 'plugins' => [], |
| 46 | + 'directory_list' => [ |
| 47 | + 'src', |
| 48 | + 'vendor', |
| 49 | + ], |
| 50 | + 'whitelist_issue_types' => [], |
| 51 | + 'file_list' => [], |
| 52 | +]; |
0 commit comments