diff --git a/openapi-generator/templates/php/.gitattributes b/openapi-generator/templates/php/.gitattributes index ad8db7363..321917627 100644 --- a/openapi-generator/templates/php/.gitattributes +++ b/openapi-generator/templates/php/.gitattributes @@ -4,6 +4,5 @@ .gitattributes export-ignore .gitignore export-ignore .openapi-generator-ignore export-ignore -.php_cs export-ignore git_push.sh export-ignore phpunit.xml.dist export-ignore diff --git a/openapi-generator/templates/php/.php_cs b/openapi-generator/templates/php/.php_cs deleted file mode 100644 index 4fbe53ec5..000000000 --- a/openapi-generator/templates/php/.php_cs +++ /dev/null @@ -1,23 +0,0 @@ -setUsingCache(true) - ->setRules([ - '@PSR2' => true, - 'ordered_imports' => true, - 'phpdoc_order' => true, - 'array_syntax' => [ 'syntax' => 'short' ], - 'strict_comparison' => true, - 'strict_param' => true, - 'no_trailing_whitespace' => false, - 'no_trailing_whitespace_in_comment' => false, - 'braces' => false, - 'single_blank_line_at_eof' => false, - 'blank_line_after_namespace' => false, - ]) - ->setFinder( - PhpCsFixer\Finder::create() - ->exclude('test') - ->exclude('tests') - ->in(__DIR__) - ); diff --git a/openapi-generator/templates/php/composer.mustache b/openapi-generator/templates/php/composer.mustache index efa407b58..fa82e16f0 100644 --- a/openapi-generator/templates/php/composer.mustache +++ b/openapi-generator/templates/php/composer.mustache @@ -30,9 +30,7 @@ "guzzlehttp/guzzle": "^7.9" }, "require-dev": { - "phpunit/phpunit": "^12.1", - "squizlabs/php_codesniffer": "~2.6", - "friendsofphp/php-cs-fixer": "~2.12" + "phpunit/phpunit": "^12.1" }, "autoload": { "psr-4": { "{{escapedInvokerPackage}}\\" : "{{srcBasePath}}/" }