- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 27
Sylius 2.x compatibility #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.x
Are you sure you want to change the base?
Conversation
| The only thing "missing": I don't know how to trigger a change event in the Live component when the input was changed manually. | 
| Still need some more time to fix the build issues, will report back once it's done. | 
| Hi, @shochdoerfer I have the feeling it would make more sense to take such steps as this PR suggestions in more PRs, so we can get some changes into the  | 
| You mean, have a  The downside might be that some future PRs need to be added twice if they touch code that is fundamentally different in Sylius 1.x and 2.x (most likely the Twig stuff). The same should probably apply for the Terms Plugin, right? | 
3fd1853    to
    920e726      
    Compare
  
    920e726    to
    e33a3e2      
    Compare
  
    | Codecov ReportAttention: Patch coverage is  
 Additional details and impacted files@@            Coverage Diff             @@
##               3.x    #122      +/-   ##
==========================================
- Coverage     4.90%   4.51%   -0.39%     
- Complexity     163     183      +20     
==========================================
  Files           29      31       +2     
  Lines          510     554      +44     
==========================================
  Hits            25      25              
- Misses         485     529      +44     ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
 | 
1c3aefb    to
    e632afa      
    Compare
  
    481522b    to
    1abc93a      
    Compare
  
    1abc93a    to
    82edf4b      
    Compare
  
    | @loevgaard I managed to fix all dependencies issues that broke CI, except for one: psalm/plugin-symfony The issue is that the composer.json of  So we have 2 options: Either remove  I guess I'll run into the same issue fixing the build for the Terms plugin. | 
| 
 https://packagist.org/packages/psalm/plugin-symfony => It doesn't require  | 
| You are right, but still the code depends on it, see here https://github.com/psalm/psalm-plugin-symfony/blob/e5f97e1257a28602ecf6871a74d361fc43ae12e4/src/Plugin.php#L56 | 
| Which direction should we go? Temporarily remove the Psalm Symfony plugin until the issue is fixed? | 
| 
 Yes :-) | 
0b6323e    to
    5649d44      
    Compare
  
    5649d44    to
    1e88636      
    Compare
  
    | @loevgaard build is green for me. | 
| Nice contribution ! Thank you @shochdoerfer @loevgaard do you plan to merge it ? | 
| I think you have to allow also doctrine 3.0  | 
Updated dependencies and the code for Sylius 2.0 compatibility.
I was able to remove the JS logic, but not sure if the TwigComponent event logic is a bit too messy. Feels hackish, but I could not find a better way to hook into the Live Components for the Product and Taxon forms.