Skip to content

Commit

Permalink
Remove FOSUser bundle from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed Jul 29, 2021
1 parent a6e0912 commit 6acc6d1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 47 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ jobs:
extensions: curl, openssl, mbstring
ini-values: memory_limit=-1
tools: composer
- name: Remove FOSUser
run: composer remove friendsofsymfony/user-bundle --no-update --no-interaction --dev
- name: Update project dependencies
run: composer update --no-interaction --no-progress --ansi
- name: Run phpstan
Expand Down Expand Up @@ -135,40 +133,3 @@ jobs:
run: composer update --no-interaction --no-progress --ansi --prefer-lowest
- name: Run PHPUnit tests
run: vendor/bin/phpunit

phpunit-fosuserbundle:
name: PHPUnit (PHP ${{ matrix.php }} FOSUserBundle)
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
php:
- '7.4'
fail-fast: false
env:
SYMFONY_DEPRECATIONS_HELPER: 'weak'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: pecl, composer
extensions: curl, openssl, mbstring
ini-values: memory_limit=-1
- name: Get composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: Update project dependencies
run: composer update --no-interaction --no-progress --ansi --prefer-lowest
- name: Install PHPUnit
run: vendor/bin/phpunit --version
- name: Run PHPUnit tests
run: vendor/bin/phpunit
8 changes: 0 additions & 8 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,5 @@ parameters:
- .
excludePaths:
- vendor/*

# todo: remove when FOSUserBundle support is dropped
- ./Tests/Form/FOSUBRegistrationFormHandlerTest.php
- ./Tests/Fixtures/FOSUser.php
- ./Tests/Fixtures/CustomOAuthToken.php
- ./Security/Core/User/FOSUBUserProvider.php
- ./Form/FOSUBRegistrationFormHandler.php
- ./Tests/Security/Core/User/FOSUBUserProviderTest.php
ignoreErrors:
- '#Parameter \$event of method HWI\\Bundle\\OAuthBundle\\Controller\\ConnectController::dispatch\(\) has invalid typehint type Symfony\\Component\\EventDispatcher\\Event#'

0 comments on commit 6acc6d1

Please sign in to comment.