An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# 🛠 wiz-develop/php-cs-fixer-config

![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/wiz-develop/php-cs-fixer-config/phpstan_and_phpunit.yml)
![Packagist Version](https://img.shields.io/packagist/v/wiz-develop/php-cs-fixer-config)
![Packagist Downloads](https://img.shields.io/packagist/dt/wiz-develop/php-cs-fixer-config)
[![License](https://img.shields.io/github/license/wiz-develop/php-cs-fixer-config.svg?style=flat-square)](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 |