Skip to content

Commit

Permalink
Update dependencies (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed May 20, 2021
1 parent 3214c59 commit f285645
Show file tree
Hide file tree
Showing 30 changed files with 3,159 additions and 1,015 deletions.
2 changes: 0 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# define your env variables for the test env here
KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
PANTHER_APP_ENV=panther
SYMFONY_DOCS_SECRET=''
SYMFONY_SECRET=''

Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: Set up PHP
uses: shivammathur/setup-php@2.7.0
Expand All @@ -39,17 +36,15 @@ jobs:
composer-
- name: Download dependencies
run: |
composer install --no-interaction --optimize-autoloader
./vendor/bin/simple-phpunit install
run: composer install --no-interaction --optimize-autoloader

- name: Setup database
run: |
bin/console doctrine:database:create
bin/console doctrine:schema:create
- name: Run tests
run: ./vendor/bin/simple-phpunit
run: ./vendor/bin/phpunit

- name: Upload log file
if: ${{ failure() }}
Expand Down
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
###> symfony/phpunit-bridge ###
.phpunit
.phpunit.result.cache
/phpunit.xml
###< symfony/phpunit-bridge ###

###> symfony/framework-bundle ###
/.env.local
/.env.local.php
Expand All @@ -15,3 +9,8 @@
###< symfony/framework-bundle ###

.php_cs.cache

###> phpunit/phpunit ###
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ help:
build: test ## Runs test targets

test: vendor/autoload.php ## Runs tests with phpunit
vendor/bin/simple-phpunit --testsuite Unit
vendor/bin/phpunit --testsuite Unit

vendor/autoload.php:
composer install --no-interaction
13 changes: 0 additions & 13 deletions bin/phpunit

This file was deleted.

30 changes: 16 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,30 @@
"doctrine/doctrine-migrations-bundle": "^3.0",
"doctrine/orm": "^2.7",
"incenteev/composer-parameter-handler": "~2.0",
"knplabs/github-api": "^2.16",
"knplabs/github-api": "^3.2",
"nyholm/psr7": "^1.3",
"sensio/framework-extra-bundle": "^5.1",
"symfony/console": "^5.1",
"symfony/dotenv": "^5.1",
"symfony/flex": "^1.8",
"symfony/framework-bundle": "^5.2@rc",
"symfony/http-client": "^5.2@rc",
"symfony/lock": "^5.2@rc",
"sensio/framework-extra-bundle": "^5.2",
"symfony/console": "^5.2",
"symfony/dotenv": "^5.2",
"symfony/flex": "^1.12",
"symfony/framework-bundle": "^5.2",
"symfony/http-client": "^5.2",
"symfony/lock": "^5.2",
"symfony/monolog-bundle": "~3.5",
"symfony/security-core": "5.1.*",
"symfony/twig-pack": "^1.0",
"symfony/yaml": "^5.1"
"symfony/security-core": "^5.2",
"symfony/twig-bundle": "^5.1",
"symfony/yaml": "^5.2",
"twig/extra-bundle": "^3.3",
"twig/twig": "^3.3"
},
"conflict": {
"symfony/symfony": "*"
},
"require-dev": {
"happyr/service-mocking": "^0.1.3",
"symfony/browser-kit": "^5.1",
"symfony/phpunit-bridge": "^5.1",
"symfony/web-profiler-bundle": "^5.1"
"symfony/browser-kit": "^5.2",
"phpunit/phpunit": "^9.5",
"symfony/web-profiler-bundle": "^5.2"
},
"config": {
"platform": {
Expand Down

0 comments on commit f285645

Please sign in to comment.