diff --git a/.github/workflows/grumphp.yml b/.github/workflows/grumphp.yml index 4ea9118..d29b133 100644 --- a/.github/workflows/grumphp.yml +++ b/.github/workflows/grumphp.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest, macos-latest, windows-latest] - php-versions: ['8.0', '8.1'] + php-versions: ['8.2', '8.3'] composer-options: ['', '--prefer-lowest'] name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} ${{ matrix.composer-options }} steps: diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index be0e89a..f44c4f7 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -27,7 +27,7 @@ 'doctrine_annotation_braces' => true, 'doctrine_annotation_indentation' => true, 'doctrine_annotation_spaces' => true, - 'escape_implicit_backslashes' => true, + 'string_implicit_backslashes' => true, 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_internal_class' => false, @@ -42,7 +42,7 @@ 'multiline_whitespace_before_semicolons' => true, 'native_function_invocation' => false, 'no_alias_functions' => true, - 'no_blank_lines_before_namespace' => false, + 'blank_lines_before_namespace' => true, 'no_extra_blank_lines' => true, 'no_null_property_initialization' => true, 'no_php4_constructor' => true, diff --git a/composer.json b/composer.json index cbd0b12..cc490c9 100644 --- a/composer.json +++ b/composer.json @@ -7,16 +7,15 @@ "prefer-stable": true, "require": { "php": "^8.0", - "symfony/http-kernel": "^4.3 || ~5.0 || ~6.0", - "symfony/messenger": "^4.3 || ~5.0 || ~6.0" + "symfony/http-kernel": "^4.3 || ~5.0 || ~6.0 || ~7.0", + "symfony/messenger": "^4.3 || ~5.0 || ~6.0 || ~7.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "~3.5", - "nikic/php-parser": "^4.0", - "phpro/grumphp": "^1.5", - "phpunit/phpunit": "^9.0", + "friendsofphp/php-cs-fixer": "~3.58", + "phpro/grumphp": "^2.0", + "phpunit/phpunit": "^9.0 || ^10.0 || ^11.0", "roave/security-advisories": "dev-master", - "symfony/process": "^4.0 || ~5.0 || ~6.0" + "symfony/process": "^4.0 || ~5.0 || ~6.0 || ~7.0" }, "autoload": { "psr-4": {