Skip to content

Commit

Permalink
Upgrade dependencies in current setup to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhramtsov committed Jun 18, 2022
1 parent 9243487 commit c3112a2
Show file tree
Hide file tree
Showing 10 changed files with 1,195 additions and 1,181 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup node
run: curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash - && sudo apt-get install -y nodejs
run: curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - && sudo apt-get install -y nodejs
- name: Setup php 7.4
uses: shivammathur/setup-php@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: php

os: [linux]

dist: bionic
dist: focal

cache:
directories:
Expand All @@ -17,15 +17,15 @@ services:
- mysql

before_install:
- nvm install 12
- nvm install 18
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then openssl aes-256-cbc -K $encrypted_38f96163e3a4_key -iv $encrypted_38f96163e3a4_iv -in .travis/deploy.key.enc -out .travis/deploy.key -d; fi
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq python-docutils yarn

before_script:
- mysql -e "create database phpofby DEFAULT CHARACTER SET utf8; grant all on phpofby.* to 'symfony'@'localhost' identified by 'symfony';" -uroot
- mysql -e "CREATE DATABASE phpofby DEFAULT CHARACTER SET utf8; CREATE USER 'symfony'@'localhost' identified by 'symfony'; GRANT ALL ON phpofby.* TO 'symfony'@'localhost'" -uroot

script:
- php phing.phar build-ci
Expand Down
4 changes: 2 additions & 2 deletions Resources/doc/01-installation-dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ Restart ``php-fpm`` using command ``sudo service php7.4-fpm restart``.

Install node.js and Yarn
~~~~~~~~~~~~~~~~~~~~~~~~
Here we are using version 12 of Node.js.
We need to add repo via ``curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -``. After that install node via ``sudo apt-get install -y nodejs``.
Here we are using version 18 of Node.js.
We need to add repo via ``curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -``. After that install node via ``sudo apt-get install -y nodejs``.

Install Yarn:

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"require": {
"php": "^7.4.0",
"php": "^7.4.0|^8.0",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-pdo": "*",
Expand All @@ -31,7 +31,7 @@
"doctrine/doctrine-migrations-bundle": "^3.1",
"doctrine/orm": "^2.9",
"easycorp/easyadmin-bundle": "^3.1.3",
"friendsofsymfony/user-bundle": "2.2.*",
"friendsofsymfony/user-bundle": "^3.0",
"owenversteeg/min": "dev-gh-pages#fe73afc9e1a0ae3492ad3af2efeb0f4d47f967cc",
"pear/archive_tar": "1.4.*",
"pear/pear-core-minimal": "1.*",
Expand Down
Loading

0 comments on commit c3112a2

Please sign in to comment.