Skip to content

Commit fbb4d25

Browse files
authored
drop support for php 7.4 (#8)
1 parent bc9e6c0 commit fbb4d25

File tree

7 files changed

+860
-578
lines changed

7 files changed

+860
-578
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
/.codecov.yml export-ignore
55
/.gitattributes export-ignore
66
/.gitignore export-ignore
7-
/.php_cs.dist export-ignore
8-
/buddy.yml export-ignore
7+
/.php-cs-fixer.dist.php export-ignore
98
/phpunit.xml.dist export-ignore

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
uses: "ramsey/composer-install@v2"
3131

3232
- name: Run test suite
33-
run: PHP_CS_FIXER_IGNORE_ENV=1 composer build
33+
run: composer build

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/vendor/
2-
/.php_cs
3-
/.php_cs.cache
2+
/.php-cs-fixer.php
3+
/.php-cs-fixer.cache
44

55
/phpunit.xml
66
.phpunit.result.cache

.php_cs.dist renamed to .php-cs-fixer.dist.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
->in(__DIR__.'/tests')
66
;
77

8-
return PhpCsFixer\Config::create()
8+
return (new PhpCsFixer\Config())
99
->setRiskyAllowed(true)
1010
->setRules([
1111
'@PHP71Migration' => true,
@@ -19,18 +19,19 @@
1919
'no_unused_imports' => true,
2020
'declare_strict_types' => true,
2121
'ordered_imports' => [
22-
'importsOrder' => null,
23-
'sortAlgorithm' => 'alpha',
22+
'imports_order' => null,
23+
'sort_algorithm' => 'alpha',
2424
],
2525
'phpdoc_order' => true,
2626
'phpdoc_align' => true,
2727
'phpdoc_no_access' => true,
2828
'phpdoc_separation' => true,
29-
'pre_increment' => true,
29+
'increment_style' => ['style' => 'pre'],
3030
'single_quote' => true,
3131
'trim_array_spaces' => true,
32+
'blank_lines_before_namespace' => false,
3233
'single_blank_line_before_namespace' => true,
33-
'yoda_style' => null,
34+
'yoda_style' => false,
3435
'global_namespace_import' => [
3536
'import_classes' => false,
3637
'import_constants' => false,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ChaosMonkeySymfonyBundle
22

3-
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.4-8892BF.svg)](https://php.net/)
3+
[![Minimum PHP Version](https://img.shields.io/badge/php-%5E8.1-8892BF.svg)](https://php.net/)
44
![Symfony Versions Supported](https://img.shields.io/endpoint?url=https%3A%2F%2Fshields.mrgoodbytes.dev%2Fshield%2Fsymfony%2F%255E5.2&logoColor=FFF&style=flat)
55
[![Latest Stable Version](https://poser.pugx.org/chaos-php/chaos-monkey-symfony-bundle/v/stable?format=flat)](https://packagist.org/packages/chaos-php/chaos-monkey-symfony-bundle)
66
[![build](https://github.com/chaos-php/chaos-monkey-symfony-bundle/actions/workflows/ci.yml/badge.svg)](https://github.com/chaos-php/chaos-monkey/actions/workflows/build.yml)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^7.4 || ^8.0",
21+
"php": "^8.1",
2222
"chaos-php/chaos-monkey": "^1.1"
2323
},
2424
"require-dev": {
25-
"friendsofphp/php-cs-fixer": "^2.16",
25+
"friendsofphp/php-cs-fixer": "^3.58",
2626
"phpunit/phpunit": "^9.5",
2727
"symfony/browser-kit": "^5.2",
2828
"symfony/framework-bundle": "^5.2",

0 commit comments

Comments
 (0)