Skip to content

Commit

Permalink
drop support for php 7.4 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
akondas authored Jun 1, 2024
1 parent bc9e6c0 commit fbb4d25
Show file tree
Hide file tree
Showing 7 changed files with 860 additions and 578 deletions.
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
/.codecov.yml export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs.dist export-ignore
/buddy.yml export-ignore
/.php-cs-fixer.dist.php export-ignore
/phpunit.xml.dist export-ignore
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
uses: "ramsey/composer-install@v2"

- name: Run test suite
run: PHP_CS_FIXER_IGNORE_ENV=1 composer build
run: composer build
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/vendor/
/.php_cs
/.php_cs.cache
/.php-cs-fixer.php
/.php-cs-fixer.cache

/phpunit.xml
.phpunit.result.cache
Expand Down
11 changes: 6 additions & 5 deletions .php_cs.dist → .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
->in(__DIR__.'/tests')
;

return PhpCsFixer\Config::create()
return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'@PHP71Migration' => true,
Expand All @@ -19,18 +19,19 @@
'no_unused_imports' => true,
'declare_strict_types' => true,
'ordered_imports' => [
'importsOrder' => null,
'sortAlgorithm' => 'alpha',
'imports_order' => null,
'sort_algorithm' => 'alpha',
],
'phpdoc_order' => true,
'phpdoc_align' => true,
'phpdoc_no_access' => true,
'phpdoc_separation' => true,
'pre_increment' => true,
'increment_style' => ['style' => 'pre'],
'single_quote' => true,
'trim_array_spaces' => true,
'blank_lines_before_namespace' => false,
'single_blank_line_before_namespace' => true,
'yoda_style' => null,
'yoda_style' => false,
'global_namespace_import' => [
'import_classes' => false,
'import_constants' => false,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ChaosMonkeySymfonyBundle

[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.4-8892BF.svg)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%5E8.1-8892BF.svg)](https://php.net/)
![Symfony Versions Supported](https://img.shields.io/endpoint?url=https%3A%2F%2Fshields.mrgoodbytes.dev%2Fshield%2Fsymfony%2F%255E5.2&logoColor=FFF&style=flat)
[![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)
[![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)
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"chaos-php/chaos-monkey": "^1.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"friendsofphp/php-cs-fixer": "^3.58",
"phpunit/phpunit": "^9.5",
"symfony/browser-kit": "^5.2",
"symfony/framework-bundle": "^5.2",
Expand Down
Loading

0 comments on commit fbb4d25

Please sign in to comment.