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 926d740 commit 943ad0e
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 148 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
symfony:
name: Symfony 5.4 (PHP ${{ matrix.php-versions }})
name: Symfony 6.0 (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,8 +15,8 @@
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/doctrine-bundle": "2.6",
"sensio/framework-extra-bundle": "^6.2",
"symfony/apache-pack": "^1.0",
"symfony/cache": "5.4.*",
"symfony/console": "6.0.*",
"symfony/dotenv": "6.0.*",
"symfony/flex": "^2.1",
Expand Down
162 changes: 44 additions & 118 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 943ad0e

Please sign in to comment.