* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Symfony\CS\Tests\Fixer\PSR2; use Symfony\CS\Tests\Fixer\AbstractFixerTestBase; class VisibilityFixerTest extends AbstractFixerTestBase { public function testFixProperties() { $expected = <<<'EOF' makeTest($expected, $input); } public function testFixPropertiesAfterMethod() { $expected = <<<'EOF' makeTest($expected); } public function testFixMethods() { $expected = <<<'EOF' makeTest($expected, $input); } public function testLeaveFunctionsAlone() { $expected = <<<'EOF' makeTest($expected); } public function testLeaveFunctionsAloneWithVariablesMatchingOopWords() { $expected = <<<'EOF' makeTest($expected); } public function testLeaveFunctionsAloneInsideConditionals() { $expected = <<<'EOF' makeTest($expected); } public function testLeaveFunctionsAloneInsideConditionalsWithOopWordInComment() { $expected = <<<'EOF' makeTest($expected); } public function testLeaveFunctionsAloneWithOopWordInComment() { $expected = <<<'EOF' makeTest($expected); } public function testLeaveFunctionsAloneOutsideClassesWithOopWordInInlineHtml() { $expected = <<<'EOF'
makeTest($expected); } public function testLeaveFunctionsAloneOutsideClassesWithOopWordInStringValue() { $expected = <<<'EOF' makeTest($expected); } public function testLeaveFunctionsAloneOutsideClassesWithOopWordInFunctionName() { $expected = <<<'EOF' makeTest($expected); } /** * @author Dariusz Rumiński