Code Monkey home page Code Monkey logo

Comments (6)

swissspidy avatar swissspidy commented on June 24, 2024 4

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.

futtta avatar futtta commented on June 24, 2024 1

well, simply merging seems to have triggerer the plugin check :)

thanks for the suggestion, best wishes for 2024 @adamsilverstein !

from autoptimize.

futtta avatar futtta commented on June 24, 2024

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.

adamsilverstein avatar adamsilverstein commented on June 24, 2024

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.

adamsilverstein avatar adamsilverstein commented on June 24, 2024

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.

futtta avatar futtta commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.