First Commit

This commit is contained in:
marco
2026-09-01 10:46:29 -03:00
commit bf96b77e9c
10000 changed files with 3508600 additions and 0 deletions
@@ -0,0 +1,18 @@
<?php
/**
* Class containing no style errors according to the end-to-end tests phpcs.xml.dist.
*
* @copyright 2025 PHPCSStandards and contributors
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Tests\EndToEnd\Fixtures;
class ClassOneWithoutStyleError
{
private function foo()
{
return 'bar';
}
}
@@ -0,0 +1,20 @@
<?php
/**
* Class containing no style errors.
*
* @copyright 2025 PHPCSStandards and contributors
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Tests\EndToEnd\Fixtures;
class ClassTwoWithoutStyleError
{
/**
* A property.
*
* @var string
*/
private $bar = 'baz';
}
@@ -0,0 +1,22 @@
<?php
/**
* Class containing a simple style error that phpcbf can fix.
*
* @copyright 2025 PHPCSStandards and contributors
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Tests\EndToEnd\Fixtures;
class ClassWithStyleError
{
/**
* The bracket for this function is misaligned and this can be automatically fixed by phpcbf.
*
* @return string
*/
private function foo() {
return 'bar';
}
}
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="EndToEndTests" xsi:noNamespaceSchemaLocation="phpcs.xsd">
<description>The coding standard for end to end tests.</description>
<rule ref="PSR12"/>
<file>.</file>
<arg name="basepath" value="."/>
<arg name="colors"/>
<arg name="parallel" value="75"/>
<arg value="p"/>
</ruleset>