Skip to content

Commit

Permalink
Upgrade php, composer and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhramtsov committed Feb 21, 2019
1 parent 5387a0d commit 7eb89a3
Show file tree
Hide file tree
Showing 7 changed files with 178 additions and 109 deletions.
1 change: 0 additions & 1 deletion Resources/doc/01-installation-dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Install required php modules ``sudo apt-get update && sudo apt-get install -y ph
echo "short_open_tag=0" | sudo tee -a /etc/php/7.3/mods-available/common.ini > /dev/null
echo "xdebug.max_nesting_level=250" | sudo tee -a /etc/php/7.3/mods-available/xdebug.ini > /dev/null
echo "xdebug.var_display_max_depth=5" | sudo tee -a /etc/php/7.3/mods-available/xdebug.ini > /dev/null
echo "opcache.optimization_level=0x7FFFBBFF ; Remove some optimisations, otherwise php with xdebug will fail" | sudo tee -a /etc/php/7.3/mods-available/xdebug.ini > /dev/null
sudo phpenmod common


Expand Down
1 change: 0 additions & 1 deletion Resources/doc/todo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ Things to do

- Add tasks to build to execute tests, when they are appears
- Upgrade ``squizlabs/php_codesniffer`` to version 3 after solving https://github.com/phingofficial/phing/issues/716
- Remove optimization flags for opcache after fixing segfault with xdebug
4 changes: 2 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<SymfonyConsole command="ckeditor:install" checkReturn="true" console="${symfony-bin-console}" >
<arg value="-nq" />
</SymfonyConsole>
<exec command="${project.yarn-bin} install" />
<exec command="${project.yarn-bin} install" passthru="true" />
</target>

<target name="dependencies-install-prod" description="Install only prod dependencies using composer" depends="make-console-executable">
Expand All @@ -127,7 +127,7 @@
<SymfonyConsole command="ckeditor:install" checkReturn="true" console="${symfony-bin-console}" >
<arg value="-nq" />
</SymfonyConsole>
<exec command="${project.yarn-bin} install" />
<exec command="${project.yarn-bin} install" passthru="true" />
</target>

<target name="dependencies-list-updates" description="Check updates for all dependencies">
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
"config": {
"platform": {
"php": "7.3.1"
"php": "7.3.2"
},
"preferred-install": {
"*": "dist"
Expand Down
Loading

0 comments on commit 7eb89a3

Please sign in to comment.