Skip to content

Commit

Permalink
Lots of renaming and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadyita committed Apr 13, 2024
1 parent 7064ba4 commit b129d62
Show file tree
Hide file tree
Showing 75 changed files with 486 additions and 686 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.cache

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php declare(strict_types=1);

require_once __DIR__ . '/vendor/autoload.php';

$config = new Nadystyle\Config();

$config->getFinder()
->in(__DIR__ . '/src');

$config->setCacheFile(__DIR__ . '/.php-cs-fixer.cache');

return $config;
258 changes: 0 additions & 258 deletions .php-cs-fixer.php

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"simple-php-cs-fixer.config": ".php-cs-fixer.php",
"simple-php-cs-fixer.config": ".php-cs-fixer.dist.php",
"simple-php-cs-fixer.executablePath": "vendor/bin/php-cs-fixer.phar",
"simple-php-cs-fixer.save": true,
"simple-php-cs-fixer.useConfig": true,
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,18 @@
}
},
"repositories": [
{
"type": "git",
"url": "https://github.com/Nadybot/Nadystyle.git"
},
{
"type": "git",
"url": "https://github.com/Nadybot/leaky-bucket.git"
}
],

"require-dev": {
"nadybot/nadystyle": "dev-main",
"composer-phar/php-cs-fixer": "^3.51.0",
"squizlabs/php_codesniffer": "^3.8",
"composer-phar/phpstan": "^1.10",
Expand Down
Loading

0 comments on commit b129d62

Please sign in to comment.