Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
UksusoFF committed Dec 3, 2024
1 parent 86be9c5 commit 6ccd884
Show file tree
Hide file tree
Showing 4 changed files with 1,195 additions and 612 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
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 6ccd884

Please sign in to comment.