Skip to content
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

migration to Symfony 3.4 for long-term support #124

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

migration to Symfony 3.4 for long-term support #124

wants to merge 6 commits into from

Conversation

phpdevcommunity
Copy link

i fixed all dépraciation for a migration to Symfony 3.4.
I modified some files css for a more modern look.
I fixed some bugs like for "class LoadEstimate".

@@ -113,5 +117,5 @@ knp_snappy:
pdf:
enabled: true
# Edit this to change the location of wkhtmltopdf binary.
#binary: /usr/local/bin/wkhtmltopdf #"\"C:\\Program Files\\wkhtmltopdf\\bin\\wkhtmltopdf.exe\"" for Windows users
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please undo these changes before i can merge the PR :)

Copy link
Author

@phpdevcommunity phpdevcommunity Jun 21, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok no problem.

@@ -113,5 +117,5 @@ knp_snappy:
pdf:
enabled: true
# Edit this to change the location of wkhtmltopdf binary.
#binary: /usr/local/bin/wkhtmltopdf #"\"C:\\Program Files\\wkhtmltopdf\\bin\\wkhtmltopdf.exe\"" for Windows users
options: []
binary: /usr/bin/xvfb-run /usr/bin/wkhtmltopdf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^^

@@ -9,6 +9,7 @@ class SiwappCoreTwigExtension extends \Twig_Extension
protected $bundles;

public function __construct(array $bundles) {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed change

protected $em;

public function __construct(EntityManager $em)
public function __construct(EntityManagerInterface $em)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

*/
public function __construct()
{
$this->reference = 'P'.date("Y").mt_rand(10000,99999);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also irrelevant i think? Can we please get this in a separate PR and discuss there?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok no problem.

*/
private $session;

public function __construct(Session $session)
public function __construct(SessionInterface $session)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 👍

@ParisLiakos ParisLiakos added this to the v1.1 milestone Mar 23, 2018
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.

2 participants