for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Copyright MediaCT. All rights reserved.
* https://www.mediact.nl
*/
declare(strict_types=1);
namespace Mediact\CodingStandard\PhpStorm\Patcher;
use Mediact\CodingStandard\PhpStorm\EnvironmentInterface;
class CodeStylePatcher implements ConfigPatcherInterface
{
use CopyFilesTrait;
* Patch the config.
*
* @param EnvironmentInterface $environment
* @return void
public function patch(
EnvironmentInterface $environment
): void {
$this->copyFile(
$environment->getDefaultsFilesystem(),
$environment->getIdeConfigFilesystem(),
'codeStyleSettings.xml'
);
}