Comments (6)
re. the output; it's very verbose, but it is missing what seems to be essential; the file and line number for which the warning/ error was thrown?
@futtta That's just the raw console log output. Every warning/error is filed as an annotation directly in-line within each file. Very useful for PRs. See https://github.com/futtta/autoptimize/actions/runs/7432069708 for a list of files and each warning.
By the way some of the checks (e.g. the database query ones) are likely not accurate for your own project, especially when already using PHPCS anyway, so running the same checks twice would be redundant. You could exclude them from running if desired.
from autoptimize.
well, simply merging seems to have triggerer the plugin check :)
thanks for the suggestion, best wishes for 2024 @adamsilverstein !
from autoptimize.
I see the workflow hasn't run, maybe they aren't enabled on the repo?
what isn't enabled on the repo exactly @adamsilverstein ?
from autoptimize.
what isn't enabled on the repo exactly @adamsilverstein ?
Maybe running actions or workflows for the repository?
I was expecting the action I added in the PR to have run, even though it isn't merged yet. Maybe I have something wrong in the workflow file, I will try merging it to my fork to see what happens.
You can see a similar PR I opened in Yoast - Yoast/wordpress-seo#20808 and the resulting plugin checker run - https://github.com/Yoast/wordpress-seo/pull/20808/checks
from autoptimize.
The action does seem to run when I opened the PR against my fork, so it is either account or repo related: https://github.com/adamsilverstein/autoptimize/actions/runs/6897518991/job/18765843941?pr=2
from autoptimize.
No idea why it doesn't seem to work on my end (not into github that way), but wow that's a lot of errors/ warnings ...
Most are due to AO being kind of ancient and thus not using all the newer wordpress-specific alternative functions (e.g. WP_Filesystem functions or wp_json_encode
or wp_parse_url
), but most of those I'm not eager to change in the context of "don't fix what is not broken" ;-)
Will have to change a lot of _e
to _esc_html_e
though (and similar) ... ;-)
re. the output; it's very verbose, but it is missing what seems to be essential; the file and line number for which the warning/ error was thrown?
from autoptimize.
Related Issues (20)
- Undefined offset autoptimizeStyles.php HOT 3
- autoptimizecriticalcsscron PHP array key warnings HOT 5
- Avif support broken HOT 6
- Minified JS broken with private class identifiers HOT 4
- Disable emoji dns-prefetch in ClassicPress HOT 1
- PHP8 Warning HOT 1
- Optimized JS and inline script order HOT 3
- Problem with media="print" HOT 3
- Inline "background" not replaced with shortpixel HOT 5
- Security risk reported by Kaspersky HOT 6
- Proposal: stronger default settings HOT 9
- Optimised Google Fonts still blocking for 1.3s according to PageSpeed HOT 2
- Add: option to enable WebP as default output format HOT 1
- PHP Warning in cronjob: Trying to access array offset on value of type int in autoptimizeCacheChecker.php HOT 3
- Creation of dynamic property in autoptimizeProTab.php HOT 4
- Autoptimize deletes all subfolders in /cache/ HOT 3
- Incorrect cache size triggering unnecessary email warnings HOT 4
- WP CLI command does not take multisite into acocunt HOT 1
- Deprecation warning in jsmin.php HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoptimize.