-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#42: PHP 8.1 compatibility fixes, unit tests updates, codebase cleanu…
…p with PHPCS, improved error handling, several minor fixes
- Loading branch information
1 parent
3442bc9
commit d780e6d
Showing
97 changed files
with
1,304 additions
and
2,774 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
commands: | ||
pipeline: | ||
class: \Driver\Pipeline\Command | ||
connect: | ||
class: \Driver\Engines\MySql | ||
check-filesystem: | ||
|
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ composer.lock | |
/vagrant/ | ||
.DS_Store | ||
sample/ | ||
.phpunit.result.cache |
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,40 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="SwiftOtter.Driver"> | ||
<file>src</file> | ||
<rule ref="PSR12"/> | ||
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint"> | ||
<severity>7</severity> | ||
<type>warning</type> | ||
</rule> | ||
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint"> | ||
<severity>7</severity> | ||
<type>warning</type> | ||
</rule> | ||
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint"> | ||
<severity>7</severity> | ||
<type>warning</type> | ||
</rule> | ||
<rule ref="SlevomatCodingStandard.TypeHints.UselessConstantTypeHint"> | ||
<severity>7</severity> | ||
<type>warning</type> | ||
</rule> | ||
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"> | ||
<severity>7</severity> | ||
<type>warning</type> | ||
<properties> | ||
<property name="newlinesCountBetweenOpenTagAndDeclare" value="2"/> | ||
<property name="newlinesCountAfterDeclare" value="2"/> | ||
<property name="spacesCountAroundEqualsSign" value="0"/> | ||
</properties> | ||
</rule> | ||
<rule ref="Squiz.NamingConventions.ValidVariableName"> | ||
<severity>7</severity> | ||
<type>warning</type> | ||
<exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore" /> | ||
</rule> | ||
<rule ref="Squiz.NamingConventions.ValidFunctionName"> | ||
<severity>7</severity> | ||
<type>warning</type> | ||
<exclude name="Squiz.NamingConventions.ValidFunctionName.PrivateNoUnderscore" /> | ||
</rule> | ||
</ruleset> |
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 |
---|---|---|
@@ -1,10 +1,9 @@ | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xml:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd" | ||
bootstrap="phpunit.bootstrap.php"> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="phpunit.bootstrap.php"> | ||
<testsuites> | ||
<testsuite name="Unit Tests"> | ||
<directory>src/Tests/Unit/**</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> | ||
</phpunit> |
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
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
Oops, something went wrong.