removed straying semicolon

This commit is contained in:
tracer 2022-01-23 18:45:55 +01:00
parent 537da5b530
commit 6f3686bbcb
7 changed files with 123 additions and 4 deletions

View File

@ -7,6 +7,40 @@
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/composer" /> <excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/composer" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phplucidframe/console-table" /> <excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phplucidframe/console-table" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpspec/prophecy" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/comparator" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/myclabs/deep-copy" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/symfony/polyfill-ctype" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpdocumentor/reflection-docblock" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpdocumentor/type-resolver" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpunit/php-file-iterator" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpdocumentor/reflection-common" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpunit/php-invoker" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/webmozart/assert" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpunit/php-code-coverage" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpunit/php-text-template" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpunit/phpunit" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phpunit/php-timer" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/doctrine/instantiator" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phar-io/version" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/phar-io/manifest" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/resource-operations" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/exporter" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/environment" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/code-unit" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/cli-parser" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/version" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/type" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/lines-of-code" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/recursion-context" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/nikic/php-parser" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/diff" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/code-unit-reverse-lookup" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/complexity" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/theseer/tokenizer" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/object-reflector" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/object-enumerator" />
<excludeFolder url="file://$MODULE_DIR$/bindAPI/vendor/sebastian/global-state" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />

View File

@ -34,9 +34,10 @@
</inspection_tool> </inspection_tool>
<inspection_tool class="PhpMethodNamingConventionInspection" enabled="true" level="WARNING" enabled_by_default="true"> <inspection_tool class="PhpMethodNamingConventionInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="m_minLength" value="2" /> <option name="m_minLength" value="2" />
<option name="m_maxLength" value="24" /> <option name="m_maxLength" value="48" />
</inspection_tool> </inspection_tool>
<inspection_tool class="PhpMissingDocCommentInspection" enabled="true" level="WARNING" enabled_by_default="true" /> <inspection_tool class="PhpMissingDocCommentInspection" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="PhpNoReturnAttributeCanBeAddedInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="PhpNonCanonicalElementsOrderInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" /> <inspection_tool class="PhpNonCanonicalElementsOrderInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="PhpPropertyNamingConventionInspection" enabled="true" level="WARNING" enabled_by_default="true"> <inspection_tool class="PhpPropertyNamingConventionInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="m_regex" value="[a-z][A-Z_a-z\d]*" /> <option name="m_regex" value="[a-z][A-Z_a-z\d]*" />

View File

@ -4,9 +4,48 @@
<include_path> <include_path>
<path value="$PROJECT_DIR$/bindAPI/vendor/composer" /> <path value="$PROJECT_DIR$/bindAPI/vendor/composer" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phplucidframe/console-table" /> <path value="$PROJECT_DIR$/bindAPI/vendor/phplucidframe/console-table" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpspec/prophecy" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/comparator" />
<path value="$PROJECT_DIR$/bindAPI/vendor/myclabs/deep-copy" />
<path value="$PROJECT_DIR$/bindAPI/vendor/symfony/polyfill-ctype" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpdocumentor/reflection-docblock" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpdocumentor/type-resolver" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpunit/php-file-iterator" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpdocumentor/reflection-common" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpunit/php-invoker" />
<path value="$PROJECT_DIR$/bindAPI/vendor/webmozart/assert" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpunit/php-code-coverage" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpunit/php-text-template" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpunit/phpunit" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phpunit/php-timer" />
<path value="$PROJECT_DIR$/bindAPI/vendor/doctrine/instantiator" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phar-io/version" />
<path value="$PROJECT_DIR$/bindAPI/vendor/phar-io/manifest" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/resource-operations" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/exporter" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/environment" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/code-unit" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/cli-parser" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/version" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/type" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/lines-of-code" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/recursion-context" />
<path value="$PROJECT_DIR$/bindAPI/vendor/nikic/php-parser" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/diff" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/code-unit-reverse-lookup" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/complexity" />
<path value="$PROJECT_DIR$/bindAPI/vendor/theseer/tokenizer" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/object-reflector" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/object-enumerator" />
<path value="$PROJECT_DIR$/bindAPI/vendor/sebastian/global-state" />
</include_path> </include_path>
</component> </component>
<component name="PhpProjectSharedConfiguration" php_language_level="8.1"> <component name="PhpProjectSharedConfiguration" php_language_level="8.1">
<option name="suggestChangeDefaultLanguageLevel" value="false" /> <option name="suggestChangeDefaultLanguageLevel" value="false" />
</component> </component>
<component name="PhpUnit">
<phpunit_settings>
<PhpUnitSettings custom_loader_path="$PROJECT_DIR$/bindAPI/vendor/autoload.php" />
</phpunit_settings>
</component>
</project> </project>

2
bindAPI/.gitignore vendored
View File

@ -1,4 +1,4 @@
.idea .idea/
/vendor/ /vendor/
/config.json /config.json

View File

@ -3,5 +3,5 @@
"dbPort": 3306, "dbPort": 3306,
"dbDatabase": "sampledb", "dbDatabase": "sampledb",
"dbUser": "sampleuser", "dbUser": "sampleuser",
"dbPassword": "secret", "dbPassword": "secret"
} }

View File

@ -0,0 +1,17 @@
<?php
namespace App\Controller;
use PHPUnit\Framework\TestCase;
/**
*
*/
class DatabaseConnectionTest extends TestCase
{
public function testGetConnection()
{
}
}

View File

@ -0,0 +1,28 @@
<?php
namespace App\Controller;
use PHPUnit\Framework\TestCase;
/**
*
*/
class NameserverControllerTest extends TestCase
{
public function setUp(): void
{
//$this->fixture =
}
public function tearDown(): void
{
}
public function testUpdate()
{
}
}