Code Monkey home page Code Monkey logo

Comments (2)

Wirone avatar Wirone commented on June 9, 2024

I've asked the same question on our chat 2 months ago 😅. In general, the way how cache is calculated now does not support development - after changes in the fixer(s), files defined in the finder won't be analysed again because config and files' content did not change. This would lead to situation where analysis' result would be wrong or --using-cache=no had to be passed all the time. That's why it is hard-disabled.

But I am going to leave this feature request open as I agree with it and this would be really helpful. It just requires different approach to calculating cache, that has to be discussed and implemented. It could be done by calculating hash for the content of all configured fixers - if it changes, all files should be analysed again. More complex version, that would support per-file/per-fixer cache info, so only modified fixer would be run against files, is rather not possible because of fixers' dependency graph (other fixers could probably modify file after changes done by modified fixer, but these wouldn't be run if they weren't modified too).

For those curious, check for the self-usage is done here.

from php-cs-fixer.

github-actions avatar github-actions commented on June 9, 2024

Since this issue has not had any activity within the last 90 days, I have marked it as stale.

The purpose of this action is to enforce backlog review once in a while. This is mostly for maintainers and helps with keeping repository in good condition, because stale issues and PRs can accumulate over time and make it harder for others to find relevant information. It is also possible that some changes has been made to the repo already, and issue or PR became outdated, but wasn't closed for some reason. This action helps with periodic review and closing of such stale items in automated way.

You may let maintainers handle this or verify current relevancy by yourself, to help with re-triage. Any activity will remove stale label so it won't be automatically closed at this point.

I will close it if no further activity occurs within the next 30 days.

from php-cs-fixer.

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.