Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TavoNiievez committed Dec 7, 2023
1 parent 7b6f6d7 commit 8566919
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 153 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ name: CI
on:
push:
branches:
- '6.0'
- '6.1'
pull_request:
branches:
- '6.0'
- '6.1'

env:
APP_ENV: test

jobs:
symfony:
name: Symfony 5.4 (PHP ${{ matrix.php-versions }})
name: Symfony 6.1 (PHP ${{ matrix.php-versions }})
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/doctrine-bundle": "2.6",
"sensio/framework-extra-bundle": "^6.2",
"symfony/apache-pack": "^1.0",
"symfony/console": "6.1.*",
"symfony/dotenv": "6.1.*",
"symfony/cache": "5.4.*",
"symfony/flex": "^2.1",
"symfony/form": "6.1.*",
"symfony/framework-bundle": "6.1.*",
Expand Down
168 changes: 47 additions & 121 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
Expand Down
12 changes: 0 additions & 12 deletions config/packages/sensio_framework_extra.php

This file was deleted.

2 changes: 1 addition & 1 deletion public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DirectoryIndex index.php
RewriteRule ^index\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ %{ENV:BASE}/index.php [L]
RewriteRule ^(.*)$ %{ENV:BASE}/index.php [QSA,L]
</IfModule>

<IfModule !mod_rewrite.c>
Expand Down
12 changes: 0 additions & 12 deletions symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -297,18 +297,6 @@
"sebastian/version": {
"version": "3.0.x-dev"
},
"sensio/framework-extra-bundle": {
"version": "6.2",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "5.2",
"ref": "fb7e19da7f013d0d422fa9bce16f5c510e27609b"
},
"files": [
"./config/packages/sensio_framework_extra.yaml"
]
},
"squizlabs/php_codesniffer": {
"version": "4.0",
"recipe": {
Expand Down
3 changes: 1 addition & 2 deletions tests/Functional/EventsCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ public function dontSeeOrphanEvent(FunctionalTester $I)
public function seeEventTriggered(FunctionalTester $I)
{
$I->amOnPage('/');
$I->seeEventTriggered(SecurityListener::class);
$I->seeEventTriggered(new RouterDataCollector());
$I->seeEventTriggered([SecurityListener::class, RouterDataCollector::class]);
$I->seeEventTriggered([RouterDataCollector::class]);
}

public function seeOrphanEvent(FunctionalTester $I)
Expand Down

0 comments on commit 8566919

Please sign in to comment.