Git Product home page Git Product logo

Comments (3)

samtuke avatar samtuke commented on July 20, 2024

@soullivaneuh Thanks for the suggestion. Currently phpList 4 uses the following (visible in .travis.yml):

  • phpcs
  • phpmd
  • phpstan
  • php cli for linting
  • composer self validation

An automated fixing tool was previously used with phpList 3 but introduced a lot of issues by making a large number of changes to the codebase which were not compatible with all supported of PHP.

There is not yet any JS in phpList 4 but adding ESLint pre-emptively may still be a good idea.

Thoughts @oliverklee ?

from core.

oliverklee avatar oliverklee commented on July 20, 2024

I think we're fine with the current CI setup using Travis. I don't think we'd get much benefit from adding a web service for this.

I'd like to add JavaScript linting once we have some JavaScript (most probably in the web-frontend package).

So @soullivaneuh, thanks for the proposal and the offer anyway!

from core.

soullivaneuh avatar soullivaneuh commented on July 20, 2024

I don't think we'd get much benefit from adding a web service for this.

The benefits I see:

  • Having PR comments to make contribution fix easier to the contributor.
  • Having code auto-fixing (optional).
  • Reducing Travis jobs duration.

An automated fixing tool was previously used with phpList 3 but introduced a lot of issues by making a large number of changes to the codebase which were not compatible with all supported of PHP

@samtuke What was the tool? About mine, it is just running the service with the configuration you setup, so you should not have any issue.

I won't insist anymore. Don't hesitate to contact me if you change your mind. 👍

Regards.

from core.

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.