fair-plugin/tests/phpstan-baseline.neon
Carrie Dils 701d07e85c
Release: merge 1.4.0 into development for BETA testing (#469)
Signed-off-by: John Blackbourn <john@johnblackbourn.com>
Signed-off-by: Andy Fragen <andy@thefragens.com>
Signed-off-by: Carrie Dils <carriedils@gmail.com>
Signed-off-by: Norcross <andrew.norcross@gmail.com>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: joedolson <joedolson@users.noreply.github.com>
Signed-off-by: Joe Dolson <design@joedolson.com>
Signed-off-by: Shadi Sharaf <shady@sharaf.me>
Signed-off-by: Chuck Adams <chaz@chaz.works>
Signed-off-by: Mika Ipstenu Epstein <ipstenu@halfelf.org>
Signed-off-by: Ipstenu (Mika Epstein) <Ipstenu@users.noreply.github.com>
Signed-off-by: Mika <ipstenu@halfelf.org>
Signed-off-by: Mika Epstein <ipstenu@halfelf.org>
Signed-off-by: Marc Armengou <83702259+marcarmengou@users.noreply.github.com>
Signed-off-by: Carrie Dils <cdils@users.noreply.github.com>
Co-authored-by: John Blackbourn <john@johnblackbourn.com>
Co-authored-by: Chuck Adams <chaz@chaz.works>
Co-authored-by: Andy Fragen <andy@thefragens.com>
Co-authored-by: Norcross <andrew.norcross@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: rmccue <21655+rmccue@users.noreply.github.com>
Co-authored-by: cdils <3099408+cdils@users.noreply.github.com>
Co-authored-by: joedolson <joedolson@users.noreply.github.com>
Co-authored-by: Joe Dolson <design@joedolson.com>
Co-authored-by: Shady Sharaf <shady@sharaf.me>
Co-authored-by: Mika Ipstenu Epstein <ipstenu@halfelf.org>
Co-authored-by: Ipstenu (Mika Epstein) <Ipstenu@users.noreply.github.com>
Co-authored-by: Marc Armengou <83702259+marcarmengou@users.noreply.github.com>
Co-authored-by: Namith Jawahar <48271037+namithj@users.noreply.github.com>
Co-authored-by: Kaspars Dambis <hi@kaspars.net>
2026-04-13 11:42:06 -05:00

109 lines
3.1 KiB
Text

parameters:
ignoreErrors:
-
message: '#^Function sanitize_hex_color\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: ../inc/icons/svg.php
-
message: '#^Action callback returns bool but should not return anything\.$#'
identifier: return.void
count: 1
path: ../inc/packages/admin/namespace.php
-
message: '#^Callback expects 0 parameters, \$accepted_args is set to 3\.$#'
identifier: arguments.count
count: 1
path: ../inc/packages/admin/namespace.php
-
message: '#^Class FAIR\\Updater\\Updater does not have a constructor and must be instantiated without any parameters\.$#'
identifier: new.noConstructor
count: 1
path: ../inc/packages/admin/namespace.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: ../inc/packages/class-metadatadocument.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: ../inc/packages/class-releasedocument.php
-
message: '#^Call to static method add_hook\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 1
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method get_runner\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 1
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method halt\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 5
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 1
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method run_command\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 3
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 3
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Caught class WP_CLI\\ExitException not found\.$#'
identifier: class.notFound
count: 2
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Function WP_CLI\\Utils\\get_flag_value not found\.$#'
identifier: function.notFound
count: 3
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Used function WP_CLI\\Utils\\get_flag_value not found\.$#'
identifier: function.notFound
count: 1
path: ../inc/packages/wp-cli/compat/namespace.php
-
message: '#^Action callback returns string but should not return anything\.$#'
identifier: return.void
count: 1
path: ../inc/pings/namespace.php
-
message: '#^Found usage of constant MULTISITE\. Use is_multisite\(\) instead\.$#'
identifier: phpstanWP.wpConstant.fetch
count: 1
path: ../inc/settings/namespace.php
-
message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
identifier: class.notFound
count: 1
path: ../inc/updater/namespace.php