-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raise PHPStan level for the AmpProject\AmpWP
package to 4
#4733
Labels
Changelogged
Whether the issue/PR has been added to release notes.
Groomed
P1
Medium priority
Tech Debt
Deprecations, inefficiencies, code health
WS:Perf
Work stream for Metrics, Performance and Optimizer
Milestone
Comments
includes/admin/class-amp-post-meta-box.php
includes/amp-helper-functions.php
includes/class-amp-theme-support.php
includes/cli/class-amp-cli-validation-command.php
includes/embeds/class-amp-facebook-embed-handler.php
includes/embeds/class-amp-playlist-embed-handler.php
includes/embeds/class-amp-tiktok-embed-handler.php
includes/options/class-amp-options-manager.php
includes/sanitizers/class-amp-base-sanitizer.php
includes/sanitizers/class-amp-core-theme-sanitizer.php
includes/sanitizers/class-amp-iframe-sanitizer.php
includes/sanitizers/class-amp-img-sanitizer.php
includes/sanitizers/class-amp-meta-sanitizer.php
includes/sanitizers/class-amp-style-sanitizer.php
includes/sanitizers/class-amp-tag-and-attribute-sanitizer.php
includes/templates/class-amp-post-template.php
includes/utils/class-amp-image-dimension-extractor.php
includes/validation/class-amp-validation-error-taxonomy.php
includes/validation/class-amp-validation-manager.php
src/Admin/SiteHealth.php
|
2 tasks
Performed smoke testing on the plugin and the features are working as expected ✅ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Changelogged
Whether the issue/PR has been added to release notes.
Groomed
P1
Medium priority
Tech Debt
Deprecations, inefficiencies, code health
WS:Perf
Work stream for Metrics, Performance and Optimizer
Feature description
The plugin package (
AmpProject\AmpWP
) is currently sitting at and enforcing level 3 of PHPStan static analysis.There are 27 errors that need to be fixed so that we can raise the level to 4 and enforce this new quality level in Travis CI.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
4
in the filephpstan.neon.dist
.composer analyze
.QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: