forked from loafle/openapi-generator-original
* Upgrade PHPCS-Fixer to 3.5 version This version requires PHP 7.4 or 8.0 which perfectly meets our supported PHP right now. * Rename config file to .php-cs-fixer.dist.php This way it can be overwritten with local file(same name without "dist" part). Also it's recommended filename from the package doc. * Add PSR12 rule set to config I've changed config file a bit to look like example from the doc. Ref: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst * Ignore new cache format * Remove blank line after class opening * Set constants in models public * Refresh samples
16 lines
444 B
Plaintext
16 lines
444 B
Plaintext
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore
|
|
|
|
composer.phar
|
|
/vendor/
|
|
|
|
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
|
|
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
|
# composer.lock
|
|
|
|
# php-cs-fixer cache
|
|
.php_cs.cache
|
|
.php-cs-fixer.cache
|
|
|
|
# PHPUnit cache
|
|
.phpunit.result.cache
|