Skip to content

migration to Symfony 3.4 for long-term support#124

Open
michelphp wants to merge 6 commits into
siwapp:masterfrom
michelphp:feature/migration-to-Symfony3.4
Open

migration to Symfony 3.4 for long-term support#124
michelphp wants to merge 6 commits into
siwapp:masterfrom
michelphp:feature/migration-to-Symfony3.4

Conversation

@michelphp

Copy link
Copy Markdown

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".

Comment thread app/config/config.yml
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
Copy Markdown
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 :)

@michelphp michelphp Jun 21, 2018

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

ok no problem.

Comment thread app/config/config.yml
# 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
Copy Markdown
Member

Choose a reason for hiding this comment

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

^^

protected $bundles;

public function __construct(array $bundles) {

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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