Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/code_style_and_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,15 @@ jobs:
continue-on-error: true
strategy:
matrix:
php: ['7.3', '8.1', '8.2', '8.3']
symfony: ['~5.0', '~6.0', '~7.0']
php: ['8.2', '8.3', '8.4', '8.5']
symfony: ['^6.4', '^7.0', '^8.0']
dependencies:
- 'highest'
exclude:
- php: '7.3'
symfony: '~6.0'
- php: '7.3'
symfony: '~7.0'
- php: '8.1'
symfony: '~7.0'
- php: '8.2'
symfony: '^8.0'
- php: '8.3'
symfony: '^8.0'
fail-fast: false
steps:
- name: 'Start ClamAV daemon (clamd)'
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
],
"require": {
"php": "^7.3 || ^8.0",
"symfony/http-kernel": "~4.0 || ~5.0 || ~6.0 || ~7.0",
"symfony/config": "~4.0 || ~5.0 || ~6.0 || ~7.0",
"symfony/dependency-injection": "~4.0 || ~5.0 || ~6.0 || ~7.0",
"symfony/yaml": "~4.0 || ~5.0 || ~6.0 || ~7.0",
"symfony/http-kernel": "^5.4 || ^6.4 || ^7.0 || ^8.0",
"symfony/config": "^5.4 || ^6.4 || ^7.0 || ^8.0",
"symfony/dependency-injection": "^5.4 || ^6.4 || ^7.0 || ^8.0",
"symfony/yaml": "^5.4 || ^6.4 || ^7.0 || ^8.0",
"ext-sockets": "*"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Bundle/DependencyInjection/SineflowClamAVExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class SineflowClamAVExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/BundleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function registerBundles(): iterable
new SineflowClamAVBundle(),
];
}
public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/Functional/ScannerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ public function validFilesToCheckProvider()
{
return [
[realpath(__DIR__.'/../Files/clean.txt'), false, ''],
[realpath(__DIR__.'/../Files/eicar.txt'), true, 'Win.Test.EICAR_HDB-1'],
[realpath(__DIR__.'/../Files/eicar.txt'), true, 'Eicar-Test-Signature'],
[realpath(__DIR__.'/../Files/eicar-dropper.pdf'), true, 'Pdf.Dropper.Agent-6299400-0'],
[realpath(__DIR__.'/../Files/infected-archive.zip'), true, 'Win.Test.EICAR_HDB-1'],
[realpath(__DIR__.'/../Files/infected-archive.zip'), true, 'Eicar-Test-Signature'],
];
}

Expand Down