-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: master
Are you sure you want to change the base?
migration to Symfony 3.4 for long-term support #124
Conversation
@@ -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 |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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) { | |||
|
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great 👍
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".