|
| 1 | +Note: Using configuration file /home/runner/work/accessibility-checker/accessibility-checker/phpstan.neon. |
| 2 | + 0/124 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% |
| 3 | + 124/124 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% |
| 4 | + |
| 5 | +::error file=admin/class-ajax.php,line=277,col=0::Variable $error_rules might not be defined. |
| 6 | +::error file=admin/class-ajax.php,line=286,col=0::Variable $warning_rules might not be defined. |
| 7 | +::error file=admin/class-ajax.php,line=295,col=0::Variable $passed_rules might not be defined. |
| 8 | +::error file=admin/class-ajax.php,line=519,col=0::Variable $controls_id might not be defined. |
| 9 | +::error file=admin/class-settings.php,line=70,col=0::Call to static method get_scannable_post_types() on an unknown class EqualizeDigital\AccessibilityCheckerPro\Admin\Settings. |
| 10 | +::error file=admin/class-settings.php,line=71,col=0::Call to static method get_scannable_post_types() on an unknown class EDACP\Settings. |
| 11 | +::error file=includes/classes/Fixes/Fix/SkipLinkFix.php,line=144,col=0::Variable $targets might not be defined. |
| 12 | +::error file=includes/classes/Fixes/FixesManager.php,line=307,col=0::Undefined variable: $enabled |
| 13 | +::error file=includes/classes/WPCLI/BootstrapCLI.php,line=36,col=0::Property EqualizeDigital\AccessibilityChecker\WPCLI\BootstrapCLI::$wp_cli has unknown class WP_CLI as its type. |
| 14 | +::error file=includes/classes/WPCLI/BootstrapCLI.php,line=59,col=0::Parameter $wp_cli of method EqualizeDigital\AccessibilityChecker\WPCLI\BootstrapCLI::__construct() has invalid type WP_CLI. |
| 15 | +::error file=includes/classes/WPCLI/BootstrapCLI.php,line=60,col=0::Instantiated class WP_CLI not found. |
| 16 | +::error file=includes/classes/WPCLI/Command/CleanupOrphanedIssues.php,line=35,col=0::Instantiated class WP_CLI not found. |
| 17 | +::error file=includes/classes/WPCLI/Command/DeleteStats.php,line=38,col=0::Instantiated class WP_CLI not found. |
| 18 | +::error file=includes/classes/WPCLI/Command/DeleteStats.php,line=79,col=0::PHPDoc tag @throws with type WP_CLI\ExitException is not subtype of Throwable |
| 19 | +::error file=includes/classes/WPCLI/Command/GetSiteStats.php,line=40,col=0::Instantiated class WP_CLI not found. |
| 20 | +::error file=includes/classes/WPCLI/Command/GetSiteStats.php,line=94,col=0::PHPDoc tag @throws with type WP_CLI\ExitException is not subtype of Throwable |
| 21 | +::error file=includes/classes/WPCLI/Command/GetStats.php,line=58,col=0::Instantiated class WP_CLI not found. |
| 22 | +::error file=includes/classes/WPCLI/Command/GetStats.php,line=117,col=0::PHPDoc tag @throws with type WP_CLI\ExitException is not subtype of Throwable |
| 23 | +::error file=includes/classes/class-rest-api.php,line=213,col=0::Parameter $request of method EDAC\Inc\REST_Api::clear_issues_for_post() has invalid type EDAC\Inc\WP_REST_Request. |
| 24 | +::error file=includes/classes/class-rest-api.php,line=219,col=0::Call to method get_json_params() on an unknown class EDAC\Inc\WP_REST_Request. |
| 25 | +::error file=includes/classes/class-rest-api.php,line=286,col=0::Parameter $request of method EDAC\Inc\REST_Api::set_post_scan_results() has invalid type EDAC\Inc\WP_REST_Request. |
| 26 | +::error file=includes/classes/class-rest-api.php,line=549,col=0::Parameter $request of method EDAC\Inc\REST_Api::get_scans_stats_by_post_type() has invalid type EDAC\Inc\WP_REST_Request. |
| 27 | +::error file=includes/classes/class-rest-api.php,line=590,col=0::Parameter $request of method EDAC\Inc\REST_Api::get_scans_stats_by_post_types() has invalid type EDAC\Inc\WP_REST_Request. |
| 28 | +::error file=includes/deprecated/class-issues-query.php,line=37,col=0::Property EDAC\Issues_Query::$instance has unknown class EDAC\class as its type. |
| 29 | +::error file=includes/deprecated/class-issues-query.php,line=62,col=0::Method EDAC\Issues_Query::__call() has invalid return type EDAC\function. |
| 30 | +::error file=includes/deprecated/class-issues-query.php,line=77,col=0::Method EDAC\Issues_Query::__callStatic() has invalid return type EDAC\function. |
| 31 | +::error file=includes/deprecated/class-issues-query.php,line=81,col=0::Static access to instance property EDAC\Issues_Query::$instance. |
| 32 | +::error file=includes/deprecated/class-issues-query.php,line=91,col=0::Method EDAC\Issues_Query::__get() has invalid return type EDAC\function. |
| 33 | +::error file=includes/deprecated/class-scans-stats.php,line=28,col=0::Property EDAC\Scans_Stats::$instance has unknown class EDAC\class as its type. |
| 34 | +::error file=includes/deprecated/class-scans-stats.php,line=51,col=0::Method EDAC\Scans_Stats::__call() has invalid return type EDAC\function. |
| 35 | +::error file=includes/deprecated/class-scans-stats.php,line=66,col=0::Method EDAC\Scans_Stats::__callStatic() has invalid return type EDAC\function. |
| 36 | +::error file=includes/deprecated/class-scans-stats.php,line=70,col=0::Static access to instance property EDAC\Scans_Stats::$instance. |
| 37 | +::error file=includes/deprecated/class-scans-stats.php,line=80,col=0::Method EDAC\Scans_Stats::__get() has invalid return type EDAC\function. |
| 38 | +::error file=includes/helper-functions.php,line=668,col=0::Function wc_get_page_id not found. |
| 39 | + ------ ----------------------------------------------- |
| 40 | + Line admin/class-ajax.php |
| 41 | + ------ ----------------------------------------------- |
| 42 | + 277 Variable $error_rules might not be defined. |
| 43 | + 286 Variable $warning_rules might not be defined. |
| 44 | + 295 Variable $passed_rules might not be defined. |
| 45 | + 519 Variable $controls_id might not be defined. |
| 46 | + ------ ----------------------------------------------- |
| 47 | + |
| 48 | + ------ -------------------------------------------------------------------------------------- |
| 49 | + Line admin/class-settings.php |
| 50 | + ------ -------------------------------------------------------------------------------------- |
| 51 | + 70 Call to static method get_scannable_post_types() on an unknown class |
| 52 | + EqualizeDigital\AccessibilityCheckerPro\Admin\Settings. |
| 53 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 54 | + 71 Call to static method get_scannable_post_types() on an unknown class EDACP\Settings. |
| 55 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 56 | + ------ -------------------------------------------------------------------------------------- |
| 57 | + |
| 58 | + ------ -------------------------------------------- |
| 59 | + Line includes/classes/Fixes/Fix/SkipLinkFix.php |
| 60 | + ------ -------------------------------------------- |
| 61 | + 144 Variable $targets might not be defined. |
| 62 | + ------ -------------------------------------------- |
| 63 | + |
| 64 | + ------ ----------------------------------------- |
| 65 | + Line includes/classes/Fixes/FixesManager.php |
| 66 | + ------ ----------------------------------------- |
| 67 | + 307 Undefined variable: $enabled |
| 68 | + ------ ----------------------------------------- |
| 69 | + |
| 70 | + ------ ----------------------------------------------------------------------------------------------------------- |
| 71 | + Line includes/classes/WPCLI/BootstrapCLI.php |
| 72 | + ------ ----------------------------------------------------------------------------------------------------------- |
| 73 | + 36 Property EqualizeDigital\AccessibilityChecker\WPCLI\BootstrapCLI::$wp_cli has unknown class WP_CLI as its |
| 74 | + type. |
| 75 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 76 | + 59 Parameter $wp_cli of method EqualizeDigital\AccessibilityChecker\WPCLI\BootstrapCLI::__construct() has |
| 77 | + invalid type WP_CLI. |
| 78 | + 60 Instantiated class WP_CLI not found. |
| 79 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 80 | + ------ ----------------------------------------------------------------------------------------------------------- |
| 81 | + |
| 82 | + ------ --------------------------------------------------------------------- |
| 83 | + Line includes/classes/WPCLI/Command/CleanupOrphanedIssues.php |
| 84 | + ------ --------------------------------------------------------------------- |
| 85 | + 35 Instantiated class WP_CLI not found. |
| 86 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 87 | + ------ --------------------------------------------------------------------- |
| 88 | + |
| 89 | + ------ ------------------------------------------------------------------------------- |
| 90 | + Line includes/classes/WPCLI/Command/DeleteStats.php |
| 91 | + ------ ------------------------------------------------------------------------------- |
| 92 | + 38 Instantiated class WP_CLI not found. |
| 93 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 94 | + 79 PHPDoc tag @throws with type WP_CLI\ExitException is not subtype of Throwable |
| 95 | + ------ ------------------------------------------------------------------------------- |
| 96 | + |
| 97 | + ------ ------------------------------------------------------------------------------- |
| 98 | + Line includes/classes/WPCLI/Command/GetSiteStats.php |
| 99 | + ------ ------------------------------------------------------------------------------- |
| 100 | + 40 Instantiated class WP_CLI not found. |
| 101 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 102 | + 94 PHPDoc tag @throws with type WP_CLI\ExitException is not subtype of Throwable |
| 103 | + ------ ------------------------------------------------------------------------------- |
| 104 | + |
| 105 | + ------ ------------------------------------------------------------------------------- |
| 106 | + Line includes/classes/WPCLI/Command/GetStats.php |
| 107 | + ------ ------------------------------------------------------------------------------- |
| 108 | + 58 Instantiated class WP_CLI not found. |
| 109 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 110 | + 117 PHPDoc tag @throws with type WP_CLI\ExitException is not subtype of Throwable |
| 111 | + ------ ------------------------------------------------------------------------------- |
| 112 | + |
| 113 | + ------ -------------------------------------------------------------------------------------------------- |
| 114 | + Line includes/classes/class-rest-api.php |
| 115 | + ------ -------------------------------------------------------------------------------------------------- |
| 116 | + 213 Parameter $request of method EDAC\Inc\REST_Api::clear_issues_for_post() has invalid type |
| 117 | + EDAC\Inc\WP_REST_Request. |
| 118 | + 219 Call to method get_json_params() on an unknown class EDAC\Inc\WP_REST_Request. |
| 119 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 120 | + 286 Parameter $request of method EDAC\Inc\REST_Api::set_post_scan_results() has invalid type |
| 121 | + EDAC\Inc\WP_REST_Request. |
| 122 | + 549 Parameter $request of method EDAC\Inc\REST_Api::get_scans_stats_by_post_type() has invalid type |
| 123 | + EDAC\Inc\WP_REST_Request. |
| 124 | + 590 Parameter $request of method EDAC\Inc\REST_Api::get_scans_stats_by_post_types() has invalid type |
| 125 | + EDAC\Inc\WP_REST_Request. |
| 126 | + ------ -------------------------------------------------------------------------------------------------- |
| 127 | + |
| 128 | + ------ --------------------------------------------------------------------------------- |
| 129 | + Line includes/deprecated/class-issues-query.php |
| 130 | + ------ --------------------------------------------------------------------------------- |
| 131 | + 37 Property EDAC\Issues_Query::$instance has unknown class EDAC\class as its type. |
| 132 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 133 | + 62 Method EDAC\Issues_Query::__call() has invalid return type EDAC\function. |
| 134 | + 77 Method EDAC\Issues_Query::__callStatic() has invalid return type EDAC\function. |
| 135 | + 81 Static access to instance property EDAC\Issues_Query::$instance. |
| 136 | + 91 Method EDAC\Issues_Query::__get() has invalid return type EDAC\function. |
| 137 | + ------ --------------------------------------------------------------------------------- |
| 138 | + |
| 139 | + ------ -------------------------------------------------------------------------------- |
| 140 | + Line includes/deprecated/class-scans-stats.php |
| 141 | + ------ -------------------------------------------------------------------------------- |
| 142 | + 28 Property EDAC\Scans_Stats::$instance has unknown class EDAC\class as its type. |
| 143 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 144 | + 51 Method EDAC\Scans_Stats::__call() has invalid return type EDAC\function. |
| 145 | + 66 Method EDAC\Scans_Stats::__callStatic() has invalid return type EDAC\function. |
| 146 | + 70 Static access to instance property EDAC\Scans_Stats::$instance. |
| 147 | + 80 Method EDAC\Scans_Stats::__get() has invalid return type EDAC\function. |
| 148 | + ------ -------------------------------------------------------------------------------- |
| 149 | + |
| 150 | + ------ --------------------------------------------------------------------- |
| 151 | + Line includes/helper-functions.php |
| 152 | + ------ --------------------------------------------------------------------- |
| 153 | + 668 Function wc_get_page_id not found. |
| 154 | + 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols |
| 155 | + ------ --------------------------------------------------------------------- |
| 156 | + |
| 157 | + [ERROR] Found 34 errors |
| 158 | + |
0 commit comments