Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
php-version: [ '8.1' ]
php-version: [ '8.2' ]

steps:
- name: Checkout code
Expand Down
16 changes: 11 additions & 5 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
<?php

use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;

$finder = PhpCsFixer\Finder::create()
->exclude(['vendor'])
->exclude(['node_modules', 'var', 'vendor'])
->in(__DIR__)
->ignoreDotFiles(true)
->ignoreVCS(true)
->files()
->name('*.php')
;
->name('*.php');

$config = new PhpCsFixer\Config();

return $config
->setParallelConfig(ParallelConfigFactory::detect())
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
'global_namespace_import' => [
'import_classes' => true,
'import_constants' => false,
'import_functions' => false,
],
'heredoc_to_nowdoc' => true,
'increment_style' => false,
'mb_str_functions' => true,
Expand All @@ -31,5 +38,4 @@
'strict_comparison' => true,
'strict_param' => true,
])
->setFinder($finder)
;
->setFinder($finder);
15 changes: 8 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
| Version | Date | Comment |
|---------|------------|----------------------------------------------------------------------|
| 2.0.0 | 2022-09-07 | Updated Monolog to version 3 (BC break) |
| 1.3.0 | 2022-03-01 | Updates dependencies and possible Symfony versions |
| 1.2.0 | 2021-08-31 | Updates dependencies |
| 1.1.0 | 2020-08-06 | Added service definition for dependency injection |
| 1.0.0 | 2020-08-06 | Initial release |
| Version | Date | Comment |
|---------|------------|----------------------------------------------------|
| 2.1.0 | 2024-07-04 | Added compatibility with Symfony 7 |
| 2.0.0 | 2022-09-07 | Updated Monolog to version 3 (BC break) |
| 1.3.0 | 2022-03-01 | Updates dependencies and possible Symfony versions |
| 1.2.0 | 2021-08-31 | Updates dependencies |
| 1.1.0 | 2020-08-06 | Added service definition for dependency injection |
| 1.0.0 | 2020-08-06 | Initial release |
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
},
"prefer-stable": true,
"require": {
"php": ">=8.1",
"php": ">=8.2",
"monolog/monolog": "^3.0",
"symfony/config": "^6.0",
"symfony/dependency-injection": "^6.0",
"symfony/http-foundation": "^6.0",
"symfony/security-bundle": "^6.0"
"symfony/config": "^6.0 || ^7.0",
"symfony/dependency-injection": "^6.0 || ^7.0",
"symfony/http-foundation": "^6.0 || ^7.0",
"symfony/security-bundle": "^6.0 || ^7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.11",
"phpunit/phpunit": "^9.5",
"symfony/phpunit-bridge": "^6.0"
"phpunit/phpunit": "^9.6",
"symfony/phpunit-bridge": "^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading