JezK
Edit File: phpstan-baseline.neon
parameters: ignoreErrors: - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Plugin/Admin/NoticeSubscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 3 path: inc/Addon/Cloudflare/Subscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Addon/Sucuri/Subscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Addon/Varnish/Subscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 6 path: inc/Addon/Varnish/Varnish.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Addon/WebP/AbstractWebp.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Addon/WebP/AdminSubscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 6 path: inc/Addon/WebP/Subscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Admin/Deactivation/DeactivationIntent.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Admin/Deactivation/DeactivationIntent.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 4 path: inc/Engine/Admin/DomainChange/Subscriber.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/Engine/Admin/DomainChange/Subscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Admin/Metaboxes/PostEditOptionsSubscriber.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Admin/RocketInsights/Controller.php - rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 2 path: inc/Engine/Admin/RocketInsights/Database/Queries/RocketInsights.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 12 path: inc/Engine/Admin/Settings/Page.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/Engine/Admin/Settings/Page.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/Engine/Admin/Settings/Page.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Admin/Settings/Render.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 3 path: inc/Engine/Admin/Settings/Settings.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 6 path: inc/Engine/CDN/CDN.php - rawMessage: 'Variable $matches in empty() always exists and is not falsy.' identifier: empty.variable count: 1 path: inc/Engine/CDN/CDN.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/CDN/Render/Controller.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: inc/Engine/CDN/Render/Controller.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: inc/Engine/CDN/RocketCDN/APIClient.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/CDN/RocketCDN/APIHandler/CheckStatusAPIClient.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/CDN/RocketCDN/APIHandler/WebsiteSearch.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/CDN/RocketCDN/AdminPageSubscriber.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/CDN/RocketCDN/CDNOptionsManager.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/CDN/RocketCDN/CDNOptionsManager.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/CDN/RocketCDN/CDNOptionsManager.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/CDN/RocketCDN/DataManagerSubscriber.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: inc/Engine/CDN/RocketCDN/DataManagerSubscriber.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 4 path: inc/Engine/CDN/RocketCDN/DataManagerSubscriber.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: inc/Engine/CDN/RocketCDN/DataManagerSubscriber.php - rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 1 path: inc/Engine/CDN/RocketCDN/Database/Queries/RocketCDN.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 5 path: inc/Engine/CDN/RocketCDN/NoticesSubscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/CDN/Subscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 3 path: inc/Engine/Cache/AdvancedCache.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 4 path: inc/Engine/Cache/Purge.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Cache/PurgeActionsSubscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Cache/PurgeExpired/PurgeExpiredCache.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Cache/PurgeExpired/PurgeExpiredCache.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Cache/PurgeExpired/PurgeExpiredCache.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 6 path: inc/Engine/Cache/WPCache.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Common/Cache/FilesystemCache.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Common/Clock/WPRClock.php - rawMessage: 'Expression in empty() is not falsy.' identifier: empty.expr count: 1 path: inc/Engine/Common/Database/Queries/AbstractQuery.php - rawMessage: 'Method WP_Rocket\Dependencies\BerlinDB\Database\Query::query() invoked with 2 parameters, 0-1 required.' identifier: arguments.count count: 1 path: inc/Engine/Common/Database/Queries/AbstractQuery.php - rawMessage: 'Variable $db in empty() always exists and is not falsy.' identifier: empty.variable count: 1 path: inc/Engine/Common/Database/Queries/AbstractQuery.php - rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 3 path: inc/Engine/Common/Database/Tables/AbstractTable.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Common/Database/Tables/AbstractTable.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Common/ExtractCSS/ServiceProvider.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Common/Queue/Cleaner.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 4 path: inc/Engine/Common/Queue/RUCSSQueueRunner.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Common/Utils.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/CriticalPath/APIClient.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/CriticalPath/Admin/Admin.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/CriticalPath/Admin/Settings.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/Engine/CriticalPath/Admin/Settings.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 5 path: inc/Engine/CriticalPath/CriticalCSS.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 4 path: inc/Engine/CriticalPath/CriticalCSS.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/CriticalPath/CriticalCSSSubscriber.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/Engine/CriticalPath/CriticalCSSSubscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 5 path: inc/Engine/CriticalPath/DataManager.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Deactivation/Deactivation.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Heartbeat/HeartbeatSubscriber.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/License/Renewal.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Media/AboveTheFold/AJAX/Controller.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Media/AboveTheFold/Context/Context.php - rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 1 path: inc/Engine/Media/AboveTheFold/Database/Queries/AboveTheFold.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 5 path: inc/Engine/Media/ImageDimensions/ImageDimensions.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Media/Lazyload/CSS/Context/LazyloadCSSContext.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 5 path: inc/Engine/Media/Lazyload/CSS/Front/ContentFetcher.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Media/Lazyload/CSS/Front/Extractor.php - rawMessage: Assign to $block overwrites the last element from array. identifier: assign.byRefForeachExpr count: 1 path: inc/Engine/Media/Lazyload/CSS/Front/RuleFormatter.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 3 path: inc/Engine/Media/Lazyload/CSS/Subscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 9 path: inc/Engine/Media/Lazyload/Subscriber.php - rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 1 path: inc/Engine/Media/PreconnectExternalDomains/Database/Queries/PreconnectExternalDomains.php - rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 1 path: inc/Engine/Media/PreloadFonts/Database/Queries/PreloadFonts.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Optimization/AbstractOptimization.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Optimization/Buffer/Optimization.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 9 path: inc/Engine/Optimization/CacheDynamicResource.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 3 path: inc/Engine/Optimization/DeferJS/DeferJS.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Optimization/DeferJS/DeferJS.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Optimization/DeferJS/DeferJS.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Optimization/DelayJS/Admin/SiteList.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/Engine/Optimization/DelayJS/Admin/SiteList.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Optimization/DelayJS/Admin/SiteList.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Optimization/GoogleFonts/Admin/Settings.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Optimization/GoogleFonts/Admin/Settings.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Optimization/LazyRenderContent/Context/Context.php - rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 1 path: inc/Engine/Optimization/LazyRenderContent/Database/Queries/LazyRenderContent.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Optimization/Minify/AbstractMinifySubscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Optimization/Minify/CSS/AbstractCSSOptimization.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 6 path: inc/Engine/Optimization/Minify/CSS/Minify.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 3 path: inc/Engine/Optimization/Minify/JS/AbstractJSOptimization.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Optimization/Minify/JS/Combine.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Optimization/Minify/JS/Minify.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Optimization/Minify/JS/Subscriber.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Optimization/RUCSS/APIHandler/APIClient.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Optimization/RUCSS/Admin/Database.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/Engine/Optimization/RUCSS/Admin/Settings.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/Engine/Optimization/RUCSS/Admin/Settings.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Optimization/RUCSS/Admin/Subscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Optimization/RUCSS/Controller/Filesystem.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 13 path: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php - rawMessage: 'Variable $font_faces in empty() always exists and is not falsy.' identifier: empty.variable count: 1 path: inc/Engine/Optimization/RUCSS/Controller/UsedCSS.php - rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 1 path: inc/Engine/Optimization/RUCSS/Database/Queries/UsedCSS.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/Engine/Optimization/RUCSS/Frontend/Subscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 7 path: inc/Engine/Optimization/RUCSS/Jobs/Manager.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/Engine/Plugin/UpdaterSubscriber.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Preload/Controller/ClearCache.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Preload/Controller/CrawlHomepage.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 5 path: inc/Engine/Preload/Controller/LoadInitialSitemap.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Preload/Controller/LoadInitialSitemap.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 8 path: inc/Engine/Preload/Controller/PreloadUrl.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 5 path: inc/Engine/Preload/Cron/Subscriber.php - rawMessage: 'Hooks should not be used in ORM classes: WP_Rocket\Engine\Preload\Database\Queries\Cache::apply_filters' identifier: noHooksInORM count: 4 path: inc/Engine/Preload/Database/Queries/Cache.php - rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 6 path: inc/Engine/Preload/Database/Queries/Cache.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 4 path: inc/Engine/Preload/Database/Queries/Cache.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Preload/Database/Tables/Cache.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Preload/Frontend/FetchSitemap.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/Engine/Preload/Subscriber.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Saas/Admin/Notices.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/Engine/Tracking/Tracking.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Hostings/Godaddy.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/ThirdParty/Hostings/OneCom.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Hostings/ProIsp.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/Ads/Adthrive.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/Ads/Adthrive.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 7 path: inc/ThirdParty/Plugins/CDN/Cloudflare.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/ThirdParty/Plugins/ContactForm7.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/Cookie/Termly.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 13 path: inc/ThirdParty/Plugins/Ecommerce/BigCommerce.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 3 path: inc/ThirdParty/Plugins/Ecommerce/WooCommerceSubscriber.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: inc/ThirdParty/Plugins/Ecommerce/WooCommerceSubscriber.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/I18n/WPML.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/ThirdParty/Plugins/ModPagespeed.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/ThirdParty/Plugins/Optimization/AMP.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 5 path: inc/ThirdParty/Plugins/Optimization/Autoptimize.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/Optimization/Perfmatters.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/Optimization/RapidLoad.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/Optimization/WPMeteor.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/Optimization/WPMeteor.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/PageBuilder/Elementor.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 2 path: inc/ThirdParty/Plugins/SEO/AllInOneSEOPack.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/SEO/AllInOneSEOPack.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/ThirdParty/Plugins/SEO/Yoast.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/ThirdParty/Plugins/Security/WordFenceCompatibility.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 6 path: inc/ThirdParty/Plugins/SimpleCustomCss.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/SimpleCustomCss.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: inc/ThirdParty/Plugins/ThirstyAffiliates.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/ThirdParty/Plugins/WPGeotargeting.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/WPGeotargeting.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/WPGeotargeting.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Plugins/WPGeotargeting.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: inc/ThirdParty/Themes/Avada.php - rawMessage: 'Usage of apply_filters() is discouraged. Use wpm_apply_filters_typed() instead.' identifier: custom.rules.discourageApplyFilters count: 1 path: inc/ThirdParty/Themes/Divi.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 5 path: tests/Integration/bootstrap.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Addon/Cloudflare/Subscriber/deactivateDevMode.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Admin/Deactivation/DeactivationIntent/activateSafeMode.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Admin/Deactivation/Subscriber/addModalAssets.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Admin/Deactivation/Subscriber/insertDeactivationIntentForm.php - rawMessage: 'Property WP_Rocket\Tests\Integration\inc\Engine\Admin\RocketInsights\Render\Test_GetRocketInsightsColumn::$query is never read, only written.' identifier: property.onlyWritten count: 1 path: tests/Integration/inc/Engine/Admin/RocketInsights/Render/GetRocketInsightsColumn.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Admin/RocketInsights/Render/GetRocketInsightsColumn.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Admin/RocketInsights/Render/GetRocketInsightsColumn.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Admin/RocketInsights/Rest/UpdateItemTest.php - rawMessage: 'Property WP_Rocket\Tests\Integration\inc\Engine\Admin\RocketInsights\Subscriber\ResetGlobalScoreTest::$reset_called is never read, only written.' identifier: property.onlyWritten count: 1 path: tests/Integration/inc/Engine/Admin/RocketInsights/Subscriber/ResetGlobalScoreTest.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/Admin/Settings/Subscriber/enableMobileCache.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Admin/Settings/Subscriber/enableMobileCache.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/Admin/Settings/Subscriber/enableSeparateCacheFilesMobile.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Admin/Settings/Subscriber/enableSeparateCacheFilesMobile.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/Render/Controller/maybePauseCdnForInactiveSubscription.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/Render/Controller/shouldDisableElementForRocketcdn.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/AdminPageSubscriber/displayRocketcdnStatus.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/AdminPageSubscriber/preserveAuthorizationToken.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/CDNOptionsManager/TestCase.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/RocketCDN/CDNOptionsManager/TestCase.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/CDNOptionsManager/TestCase.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/CDNOptionsManager/disable.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/RocketCDN/DataManagerSubscriber/handleRocketcdnCheckoutParameter.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: tests/Integration/inc/Engine/CDN/RocketCDN/DataManagerSubscriber/handleRocketcdnCheckoutParameter.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/DataManagerSubscriber/handleRocketcdnCheckoutParameter.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/RocketCDN/DataManagerSubscriber/maybeRetryActivation.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: tests/Integration/inc/Engine/CDN/RocketCDN/DataManagerSubscriber/maybeRetryActivation.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/RocketCDN/DataManagerSubscriber/maybeRetryActivation.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/RocketCDN/DataManagerSubscriber/maybeSetRocketcdnAsCdnTypeOnUpgrade.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/DataManagerSubscriber/maybeSetRocketcdnAsCdnTypeOnUpgrade.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/NoticesSubscriber/activationFailedNotice.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/NoticesSubscriber/activationFailedNotice.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/disable.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/disable.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/enable.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/RESTSubscriber/enable.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CDN/RocketCDN/SubscriptionController/AbstractSubscriptionControllerTestCase.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/SubscriptionController/AbstractSubscriptionControllerTestCase.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CDN/RocketCDN/SubscriptionController/createSubscription.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Cache/PurgeActionsSubscriber/purgeCacheOnPublicSettingChange.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/Cache/PurgeActionsSubscriber/purgeCacheOnPublicSettingChange.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: tests/Integration/inc/Engine/Cache/PurgeExpired/Subscriber/getCacheLifespan.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/Cache/PurgeExpired/Subscriber/scheduleEvent.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/Cache/PurgeExpired/Subscriber/updateLifespanOptionOnUpdate.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CriticalPath/Admin/Subscriber/enableMobileCpcss.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CriticalPath/Admin/Subscriber/setAsyncCssMobileDefaultValue.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CriticalPath/CriticalCSS/getCriticalCssContent.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CriticalPath/CriticalCSS/getCriticalCssContent.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CriticalPath/CriticalCSSSubscriber/deleteCpcss.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CriticalPath/CriticalCSSSubscriber/deleteCpcss.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CriticalPath/CriticalCSSSubscriber/insertCriticalCssBuffer.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/CriticalPath/CriticalCSSSubscriber/insertCriticalCssBuffer.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CriticalPath/CriticalCSSSubscriber/stopCpcssProcess.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/CriticalPath/CriticalCSSSubscriber/stopCpcssProcess.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Media/PreconnectExternalDomains/Admin/Subscriber/maybeClearDnsPrefetchValues.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Media/PreloadFonts/Admin/Subscriber/MaybeEnableAutoPreloadTest.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DeferJS/AdminSubscriber/excludeJqueryDefer.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/Optimization/DeferJS/AdminSubscriber/excludeJqueryDefer.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DeferJS/AdminSubscriber/excludeJqueryDefer.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DeferJS/Subscriber/deferInlineJs.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DeferJS/Subscriber/deferInlineJs.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DeferJS/Subscriber/deferJs.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DeferJS/Subscriber/deferJs.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DeferJS/Subscriber/excludeJqueryCombine.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DeferJS/Subscriber/excludeJqueryCombine.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DelayJS/Admin/Subscriber/setOptionOnUpdate.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DelayJS/Subscriber/delayJs.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/DelayJS/Subscriber/delayJs.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/Optimization/GoogleFonts/Admin/Subscriber/enableGoogleFonts.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/GoogleFonts/Admin/Subscriber/enableGoogleFonts.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/Minify/CSS/AdminSubscriber/regenerateMinifyCssKey.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/RUCSS/Admin/Subscriber/updateSafelistItems.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/Optimization/RUCSS/Frontend/Subscriber/onUpdate.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/Optimization/RUCSS/Frontend/Subscriber/onUpdate.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/Plugin/Admin/NoticeSubscriber/MaybeDisplayPostActivationNotice.php - message: "#^Usage of get_option\\(\\) is discouraged\\. Use the Option object instead\\.$#" count: 1 path: tests/Integration/inc/Engine/Plugin/Admin/NoticeSubscriber/MaybeDisplayPostActivationNotice.php - message: "#^Usage of update_option\\(\\) is discouraged\\. Use the Option object instead\\.$#" count: 2 path: tests/Integration/inc/Engine/Plugin/Admin/NoticeSubscriber/MaybeDisplayPostActivationNotice.php - message: "#^Usage of delete_option\\(\\) is discouraged\\. Use the Option object instead\\.$#" count: 2 path: tests/Integration/inc/Engine/WPRocketUninstall/uninstall.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/Engine/WPRocketUninstall/uninstall.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/Engine/WPRocketUninstall/uninstall.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/Ads/Adthrive/addDelayJsExclusion.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/Optimization/AMP/disableOptionsOnAmp.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/Optimization/AMP/disableOptionsOnAmp.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/Optimization/AMP/isAmpCompatibleCallback.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/Optimization/AMP/isAmpCompatibleCallback.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: tests/Integration/inc/ThirdParty/Plugins/Optimization/Autoptimize/warnWhenAggregateInlineCssAndCPCSSActive.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/ThirdParty/Plugins/Optimization/Autoptimize/warnWhenJsAggregationAndDelayJsActive.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/Optimization/Hummingbird/warningNotice.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/Optimization/Hummingbird/warningNotice.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/Optimization/WPMeteor/disableDelayJs.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/PageBuilder/Elementor/clearCache.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/PageBuilder/Elementor/excludePostCss.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/SimpleCustomCss/updateCacheFile.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/ThirdParty/Plugins/Smush/maybeDeactivateRocketLazyload.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Plugins/Smush/maybeDeactivateRocketLazyload.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/ThirdParty/Themes/Bridge/maybeClearCache.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/admin/rocketAfterSaveOptions.php - rawMessage: 'Usage of delete_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/admin/rocketFirstInstall.php - rawMessage: 'Usage of get_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 3 path: tests/Integration/inc/admin/rocketFirstInstall.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 2 path: tests/Integration/inc/admin/rocketFirstInstall.php - rawMessage: 'Usage of update_option() is discouraged. Use the Option object instead.' identifier: custom.rules.discourageOptionUsage count: 1 path: tests/Integration/inc/functions/rocketIsPluginActive.php - rawMessage: 'Call to internal method PHPUnit\Framework\TestCase::addToAssertionCount() from outside its root namespace PHPUnit.' identifier: method.internal count: 3 path: tests/Unit/inc/Engine/Admin/RocketInsights/Recommendations/SettingsSubscriber/MaybeFetchAfterSettingsChangeTest.php - rawMessage: 'Call to internal method PHPUnit\Framework\TestCase::addToAssertionCount() from outside its root namespace PHPUnit.' identifier: method.internal count: 1 path: tests/Unit/inc/Engine/Admin/RocketInsights/Recommendations/Subscriber/MaybeClearRecommendationsTest.php - rawMessage: 'Call to method PHPUnit\Framework\Assert::assertEmpty() with array{} will always evaluate to true.' identifier: method.alreadyNarrowedType count: 2 path: tests/Unit/inc/ThirdParty/Plugins/Smush/isSmushIframesLazyloadActive.php