Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
511a85e
commit ebc4ed8
Showing
7 changed files
with
157 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env php | ||
<?php declare(strict_types=1); | ||
|
||
use Bruha\CodingStandard\CustomRules\Analyzer; | ||
|
||
require __DIR__ . (is_file(__DIR__ . '/../../../autoload.php') ? '/../../../autoload.php' : '/../vendor/autoload.php'); | ||
|
||
exit(Analyzer::phpUnit((string) stream_get_contents(STDIN))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites> | ||
<testsuite name="tests" tests="23" assertions="89" errors="0" failures="0" skipped="0" time="0.421923"> | ||
<testsuite name="Tests\Integration\CustomPatches\PatchesTest" file="/var/www/project/tests/Integration/CustomPatches/PatchesTest.php" tests="6" assertions="18" errors="0" failures="0" skipped="0" time="0.278887"> | ||
<testcase name="testPhpCodeSniffer" class="Tests\Integration\CustomPatches\PatchesTest" classname="Tests.Integration.CustomPatches.PatchesTest" file="/var/www/project/tests/Integration/CustomPatches/PatchesTest.php" line="18" assertions="2" time="0.080124"/> | ||
<testcase name="testPhpStan" class="Tests\Integration\CustomPatches\PatchesTest" classname="Tests.Integration.CustomPatches.PatchesTest" file="/var/www/project/tests/Integration/CustomPatches/PatchesTest.php" line="27" assertions="2" time="0.022571"/> | ||
<testcase name="testPhpUnit" class="Tests\Integration\CustomPatches\PatchesTest" classname="Tests.Integration.CustomPatches.PatchesTest" file="/var/www/project/tests/Integration/CustomPatches/PatchesTest.php" line="36" assertions="2" time="0.020889"/> | ||
<testcase name="testPhpParaTest" class="Tests\Integration\CustomPatches\PatchesTest" classname="Tests.Integration.CustomPatches.PatchesTest" file="/var/www/project/tests/Integration/CustomPatches/PatchesTest.php" line="45" assertions="1" time="0.013604"/> | ||
<testcase name="testPhpInfection" class="Tests\Integration\CustomPatches\PatchesTest" classname="Tests.Integration.CustomPatches.PatchesTest" file="/var/www/project/tests/Integration/CustomPatches/PatchesTest.php" line="53" assertions="9" time="0.117789"/> | ||
<testcase name="testDoctrineAnnotation" class="Tests\Integration\CustomPatches\PatchesTest" classname="Tests.Integration.CustomPatches.PatchesTest" file="/var/www/project/tests/Integration/CustomPatches/PatchesTest.php" line="96" assertions="2" time="0.023910"/> | ||
</testsuite> | ||
<testsuite name="Tests\Integration\CustomRules\AnalyzerTest" file="/var/www/project/tests/Integration/CustomRules/AnalyzerTest.php" tests="1" assertions="4" errors="0" failures="0" skipped="0" time="0.021894"> | ||
<testcase name="testAnalyze" class="Tests\Integration\CustomRules\AnalyzerTest" classname="Tests.Integration.CustomRules.AnalyzerTest" file="/var/www/project/tests/Integration/CustomRules/AnalyzerTest.php" line="19" assertions="4" time="0.021894"/> | ||
</testsuite> | ||
<testsuite name="Tests\Integration\CustomRules\Sniffs\Commenting\ClassSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/ClassSniffTest.php" tests="2" assertions="8" errors="0" failures="0" skipped="0" time="0.036216"> | ||
<testcase name="testSuccess" class="Tests\Integration\CustomRules\Sniffs\Commenting\ClassSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.ClassSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/ClassSniffTest.php" line="24" assertions="2" time="0.031264"/> | ||
<testcase name="testMissing" class="Tests\Integration\CustomRules\Sniffs\Commenting\ClassSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.ClassSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/ClassSniffTest.php" line="34" assertions="6" time="0.004952"/> | ||
</testsuite> | ||
<testsuite name="Tests\Integration\CustomRules\Sniffs\Commenting\ConstructorSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/ConstructorSniffTest.php" tests="2" assertions="11" errors="0" failures="0" skipped="0" time="0.012302"> | ||
<testcase name="testSuccess" class="Tests\Integration\CustomRules\Sniffs\Commenting\ConstructorSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.ConstructorSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/ConstructorSniffTest.php" line="24" assertions="2" time="0.008088"/> | ||
<testcase name="testMissing" class="Tests\Integration\CustomRules\Sniffs\Commenting\ConstructorSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.ConstructorSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/ConstructorSniffTest.php" line="34" assertions="9" time="0.004214"/> | ||
</testsuite> | ||
<testsuite name="Tests\Integration\CustomRules\Sniffs\Commenting\FunctionSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/FunctionSniffTest.php" tests="2" assertions="11" errors="0" failures="0" skipped="0" time="0.012158"> | ||
<testcase name="testSuccess" class="Tests\Integration\CustomRules\Sniffs\Commenting\FunctionSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.FunctionSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/FunctionSniffTest.php" line="24" assertions="2" time="0.007200"/> | ||
<testcase name="testMissing" class="Tests\Integration\CustomRules\Sniffs\Commenting\FunctionSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.FunctionSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/FunctionSniffTest.php" line="34" assertions="9" time="0.004958"/> | ||
</testsuite> | ||
<testsuite name="Tests\Integration\CustomRules\Sniffs\Commenting\InterfaceSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/InterfaceSniffTest.php" tests="2" assertions="8" errors="0" failures="0" skipped="0" time="0.011234"> | ||
<testcase name="testSuccess" class="Tests\Integration\CustomRules\Sniffs\Commenting\InterfaceSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.InterfaceSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/InterfaceSniffTest.php" line="24" assertions="2" time="0.006650"/> | ||
<testcase name="testMissing" class="Tests\Integration\CustomRules\Sniffs\Commenting\InterfaceSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.InterfaceSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/InterfaceSniffTest.php" line="34" assertions="6" time="0.004584"/> | ||
</testsuite> | ||
<testsuite name="Tests\Integration\CustomRules\Sniffs\Commenting\TraitSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/TraitSniffTest.php" tests="2" assertions="8" errors="0" failures="0" skipped="0" time="0.010816"> | ||
<testcase name="testSuccess" class="Tests\Integration\CustomRules\Sniffs\Commenting\TraitSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.TraitSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/TraitSniffTest.php" line="24" assertions="2" time="0.007150"/> | ||
<testcase name="testMissing" class="Tests\Integration\CustomRules\Sniffs\Commenting\TraitSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Commenting.TraitSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Commenting/TraitSniffTest.php" line="34" assertions="6" time="0.003666"/> | ||
</testsuite> | ||
<testsuite name="Tests\Integration\CustomRules\Sniffs\Functions\ParentSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Functions/ParentSniffTest.php" tests="2" assertions="8" errors="0" failures="0" skipped="0" time="0.015503"> | ||
<testcase name="testSuccess" class="Tests\Integration\CustomRules\Sniffs\Functions\ParentSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Functions.ParentSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Functions/ParentSniffTest.php" line="24" assertions="2" time="0.010618"/> | ||
<testcase name="testMissing" class="Tests\Integration\CustomRules\Sniffs\Functions\ParentSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Functions.ParentSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Functions/ParentSniffTest.php" line="34" assertions="6" time="0.004885"/> | ||
</testsuite> | ||
<testsuite name="Tests\Integration\CustomRules\Sniffs\Functions\TestSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Functions/TestSniffTest.php" tests="2" assertions="5" errors="0" failures="0" skipped="0" time="0.010865"> | ||
<testcase name="testSuccess" class="Tests\Integration\CustomRules\Sniffs\Functions\TestSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Functions.TestSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Functions/TestSniffTest.php" line="24" assertions="2" time="0.007289"/> | ||
<testcase name="testMissing" class="Tests\Integration\CustomRules\Sniffs\Functions\TestSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Functions.TestSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Functions/TestSniffTest.php" line="34" assertions="3" time="0.003576"/> | ||
</testsuite> | ||
<testsuite name="Tests\Integration\CustomRules\Sniffs\Strings\ConcatenationSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Strings/ConcatenationSniffTest.php" tests="2" assertions="8" errors="0" failures="0" skipped="0" time="0.012047"> | ||
<testcase name="testSuccess" class="Tests\Integration\CustomRules\Sniffs\Strings\ConcatenationSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Strings.ConcatenationSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Strings/ConcatenationSniffTest.php" line="24" assertions="2" time="0.008517"/> | ||
<testcase name="testMissing" class="Tests\Integration\CustomRules\Sniffs\Strings\ConcatenationSniffTest" classname="Tests.Integration.CustomRules.Sniffs.Strings.ConcatenationSniffTest" file="/var/www/project/tests/Integration/CustomRules/Sniffs/Strings/ConcatenationSniffTest.php" line="34" assertions="6" time="0.003530"/> | ||
</testsuite> | ||
</testsuite> | ||
</testsuites> |