https://github.com/wiz-develop/php-cs-fixer-config
🛠 php-cs-fixer configuration for wiz-develop.
https://github.com/wiz-develop/php-cs-fixer-config
php php-cs-fixer
Last synced: 11 months ago
JSON representation
🛠 php-cs-fixer configuration for wiz-develop.
- Host: GitHub
- URL: https://github.com/wiz-develop/php-cs-fixer-config
- Owner: wiz-develop
- License: mit
- Created: 2024-05-02T15:22:33.000Z (about 2 years ago)
- Default Branch: 8.3
- Last Pushed: 2024-05-14T15:44:08.000Z (about 2 years ago)
- Last Synced: 2024-05-15T20:04:15.750Z (about 2 years ago)
- Topics: php, php-cs-fixer
- Language: PHP
- Homepage: https://packagist.org/packages/wiz-develop/php-cs-fixer-config
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 🛠 wiz-develop/php-cs-fixer-config



[](https://github.com/wiz-develop/php-cs-fixer-config/blob/main/LICENSE)
wiz-develop 用 php-cs-fixer 設定
## ✨ Features
- **Strict**: コードベースを厳格に保護します。
- **Modern**: 最新のPHP ver.に最適化されます。
## 📦 Installation
```shell
composer require --dev wiz-develop/php-cs-fixer-config
```
設定を有効にするためには `.php-cs-fixer.php` をプロジェクトに追加してください。
```php
setFinder(
(new Finder())
->in(__DIR__),
);
```
リスクの高いルールを許可したい場合は、コンストラクタで `$allowRisky` を true に設定してください。
```php
new Config(allowRisky: true)
```
## ✅ Versioning
このパッケージのバージョン x.y.z は PHP x.y で動作します (例: 8.3.x は PHP 8.3 で動作します)。
ルールセットが変更されると、z の数値が増加します。
| Package Version | PHP Version | Maintained? |
|-----------------|-------------|-------------|
| 8.4.x | ^8.4 | Yes |
| 8.3.x | ^8.3 | Yes |