Skip to content

allow symfony 5 #346

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

Merged
merged 7 commits into from
Nov 29, 2019
Merged

allow symfony 5 #346

merged 7 commits into from
Nov 29, 2019

Conversation

Jeroeny
Copy link
Contributor

@Jeroeny Jeroeny commented Nov 23, 2019

#SymfonyHackday

@Nyholm
Copy link
Member

Nyholm commented Nov 23, 2019

Thank you. It seams like there are some updates in the translation component that we need to take care of. Check the PHPStan report.

@Jeroeny
Copy link
Contributor Author

Jeroeny commented Nov 23, 2019

Thank you. It seams like there are some updates in the translation component that we need to take care of. Check the PHPStan report.

It used a deprecated function indeed. I've added an if statement that checks if the function exists. However I'm not sure if an exception should be thrown or - like I've done now - the $names should be empty ([]).

Edit: And PhpStan still doesn't like it.

@welcoMattic
Copy link
Member

welcoMattic commented Nov 27, 2019

I fix a conflict on composer.json file directly on GitHub. The last thing is to fix cs 👍
@Jeroeny could you fix it please?

@odolbeau
Copy link
Member

I think we can safely ignore PHPStan errors WDYT?

 ------ ------------------------------------------------- 
  Line   Controller/WebUIController.php                   
 ------ ------------------------------------------------- 
  215    Call to an undefined static method               
         Symfony\Component\Intl\Intl::getLocaleBundle().  
 ------ ------------------------------------------------- 

 ------ ------------------------------------------------------------------ 
  Line   DependencyInjection/Configuration.php                             
 ------ ------------------------------------------------------------------ 
  39     Call to an undefined method                                       
         Symfony\Component\Config\Definition\Builder\TreeBuilder::root().  
 ------ ------------------------------------------------------------------ 

@odolbeau
Copy link
Member

Looks great! WDYT @welcoMattic?

@welcoMattic
Copy link
Member

LGTM too! Well done @Jeroeny, thank you!
@odolbeau do you think that we must merge #345 before?

@odolbeau
Copy link
Member

I tried to rebase #344 on master: this PR is not ready (yet) to be merged.
We should merge this one right now I think.

@welcoMattic
Copy link
Member

Ok, I let you merge this one 😉

@odolbeau odolbeau merged commit 649b4aa into php-translation:master Nov 29, 2019
@Nyholm
Copy link
Member

Nyholm commented Nov 29, 2019

Wohoo! Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants