Skip to content

Commit

Permalink
webtrees 2.2 support added;
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
UksusoFF committed Dec 3, 2024
1 parent 565fb46 commit 20e8eca
Show file tree
Hide file tree
Showing 9 changed files with 1,240 additions and 626 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/node_modules/*
/mix-manifest.json
/vendor/*
.php_cs.cache
.php-cs-fixer.cache
4 changes: 3 additions & 1 deletion .php_cs → .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

$config = \UksusoFF\PhpCsFixer\Factory::fromRuleSet(new \UksusoFF\PhpCsFixer\RuleSet\Laravel());
$config = \UksusoFF\PhpCsFixer\Factory::fromRuleSet(new \UksusoFF\PhpCsFixer\RuleSet\Laravel(), [
'declare_strict_types' => false,
]);

$config->getFinder()->in(__DIR__);

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This module send message with list of the anniversaries that occur today.
## System requirements
Same as [webtrees#system-requirements](https://github.com/fisharebest/webtrees#system-requirements) and cron.

Tested with 2.1.1 version.
Works with 2.1.x and 2.2.x version.

## Installation
1. Download the [latest release](https://github.com/UksusoFF/webtrees-reminder/releases/latest)
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"phpstan/phpstan": "^0.12.75",
"uksusoff/php-cs-fixer-config": "^0.4.0"
"friendsofphp/php-cs-fixer": "^3.65",
"phpstan/phpstan": "^2.0",
"uksusoff/php-cs-fixer-config": "^0.14.0"
},
"config": {
"sort-packages": true
Expand All @@ -15,7 +15,7 @@
],
"scripts": {
"cs:fix": [
"vendor/bin/php-cs-fixer fix . --config=.php_cs --allow-risky=yes"
"vendor/bin/php-cs-fixer fix . --config=.php-cs-fixer.php --allow-risky=yes"
],
"ca:run": [
"vendor/bin/phpstan analyse src --autoload-file=../../vendor/autoload.php --level=5"
Expand Down
Loading

0 comments on commit 20e8eca

Please sign in to comment.