-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c2ad8f
commit 80bff39
Showing
10 changed files
with
6,626 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.idea | ||
.github | ||
var | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PHPyh\CodingStandard\PhpCsFixerCodingStandard; | ||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->in([ | ||
__DIR__ . '/src', | ||
__DIR__ . '/tests', | ||
]) | ||
->append([ | ||
__FILE__, | ||
]) | ||
->notPath([ | ||
'benchmark.php', | ||
]); | ||
|
||
$config = (new PhpCsFixer\Config()) | ||
->setFinder($finder) | ||
->setCacheFile(__DIR__ . '/var/.php-cs-fixer.cache'); | ||
|
||
(new PhpCsFixerCodingStandard())->applyTo($config); | ||
|
||
return $config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,47 @@ | |
"name": "rosven9856/composer-package-action", | ||
"description": "", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "rosven9856", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require-dev": { | ||
"ergebnis/composer-normalize": "^2.42", | ||
"friendsofphp/php-cs-fixer": "^3.57", | ||
"icanhazstring/composer-unused": "^0.8.11", | ||
"maglnet/composer-require-checker": "^4.11", | ||
"phpunit/phpunit": "^10.4.2", | ||
"phpyh/coding-standard": "^2.6", | ||
"psalm/plugin-phpunit": "^0.18.4", | ||
"rector/rector": "^1.1", | ||
"vimeo/psalm": "^5.24" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"App\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"App\\": "tests/" | ||
} | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"ergebnis/composer-normalize": true, | ||
"infection/extension-installer": true | ||
}, | ||
"sort-packages": true | ||
}, | ||
"scripts": { | ||
"require-checker": "composer-require-checker check --config-file=composer-require-checker.json composer.json", | ||
"check-unused": "composer-unused", | ||
"fixcs": "php-cs-fixer fix --diff --verbose", | ||
"infection": "infection --threads=max --show-mutations", | ||
"pre-command-run": "mkdir -p var", | ||
"psalm": "psalm --show-info=true --no-diff", | ||
"rector": "rector process", | ||
"test": "phpunit" | ||
}, | ||
"require-dev": { | ||
"maglnet/composer-require-checker": "^4.11" | ||
"require-checker": "composer-require-checker check --config-file=composer-require-checker.json composer.json", | ||
"test": "phpunit", | ||
"unused": "composer-unused" | ||
} | ||
} |
Oops, something went wrong.