Coder Social home page Coder Social logo

Comments (5)

DamienHarper avatar DamienHarper commented on May 24, 2024 1

@yivi Thanks for trying to bring sf6 compat to this lib, much appreciated 👍🏽
Here is my point on your first questions:

Would it be worth attempting to fix these issues on branch 1.x, and have support from Sf 3 to Sf 6 on this branch... or would this efforts better directed at the v2 Branch?

As I mentioned in the README.md on master branch (which is the v2 branch), v2 drops support of sf3.4 and PHP 7.2 (still thinking about dropping PHP 7.3 support as well as it is not supported anymore for quite a long time now).
1.x branch will only receive critical and/or security fixes so using master branch (v2) it is the way to go.

Do you consider v2 branch to be near enough to be released in the near future?

I hope so, I'd like to release v2 sometime in late January or February (no fixed date though).

Regarding external tools such as PHPStan and PHP-CS-Fixer, I know they become a blocker and should not belong to real dev dependencies so we have to find a way to workaround this. Right now, I do not have a preferred way of doing this but having them installed in a dedicated composer.json file (and dedicated bin folder) seems a good start.

Best wishes for this new year!

Edit:

  • doctrine/doctrine-migrations-bundle is not a dependency anymore with v2 (master branch)
  • doctrine/dbal v3 is not a problem anymore with v2 (master branch)

from auditor.

yivi avatar yivi commented on May 24, 2024

Great! Are there any tasks with which one could help? Any "help-wanted-accepted" issues where a PR would be welcome on the master branch?

from auditor.

DamienHarper avatar DamienHarper commented on May 24, 2024

@yivi I haven't tested sf6 compatibility, any help on this would be much appreciated :)

from auditor.

yivi avatar yivi commented on May 24, 2024

After setting the the symfony/* deps to ^6.0 and updating, all tests run fine without issue. I'll make more checks on the "bundle" package later.

What PHP version are you targeting for this release? On the readme it says >= 7.4, but I've seen a couple mixed return type-hint that would break on PHP < 8 (twice in AuditTrait, and twice in RangeFilter). Is that correct?

I'm fine with >= 8 if that's the case.

On another note, great thing moving the tools to tools. I would personally include the lock-files for each tool as well, so anyone testing the tool would use the exact same version of the tool than you or CI.

from auditor.

DamienHarper avatar DamienHarper commented on May 24, 2024

@yivi

After setting the the symfony/* deps to ^6.0 and updating, all tests run fine without issue. I'll make more checks on the "bundle" package later.

Great, thanks!

What PHP version are you targeting for this release? On the readme it says >= 7.4, but I've seen a couple mixed return type-hint that would break on PHP < 8 (twice in AuditTrait, and twice in RangeFilter). Is that correct?

I'm fine with >= 8 if that's the case.

As mentioned in the README.md I target PHP >= 7.4 so those mixed returns should be removed, you're right.

On another note, great thing moving the tools to tools. I would personally include the lock-files for each tool as well, so anyone testing the tool would use the exact same version of the tool than you or CI.

Yeah, this has to be done too ;)

from auditor.

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.