Skip to content

Commit

Permalink
PHP 8.3 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
glo71317 committed Feb 1, 2024
1 parent 04f9858 commit 045aa29
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
34 changes: 34 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,38 @@
<exclude-pattern>src/Adapter/AdapterServiceFactory.php</exclude-pattern>
<exclude-pattern>src/Adapter/AdapterAbstractServiceFactory.php</exclude-pattern>
</rule>
<rule ref="WebimpressCodingStandard.Arrays.DoubleArrow.SpacesBefore">
<exclude-pattern>test/integration/Platform/SqlServerFixtureLoader.php</exclude-pattern>
<exclude-pattern>test/integration/Adapter/Platform/SqlServerTest.php</exclude-pattern>
<exclude-pattern>test/unit/Adapter/Driver/Sqlsrv/ConnectionIntegrationTest.php</exclude-pattern>
<exclude-pattern>src/Adapter/Driver/Sqlsrv/Connection.php</exclude-pattern>
<exclude-pattern>test/unit/Adapter/Driver/Sqlsrv/AbstractIntegrationTest.php</exclude-pattern>
<exclude-pattern>test/unit/Adapter/Driver/Sqlsrv/StatementIntegrationTest.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator.NullCoalesceOperatorNotUsed">
<exclude-pattern>src/Adapter/Platform/Sql92.php</exclude-pattern>
</rule>
<rule ref="WebimpressCodingStandard.Arrays.TrailingArrayComma.MissingTrailingComma">
<exclude-pattern>test/unit/Adapter/Driver/Sqlsrv/ConnectionIntegrationTest.php</exclude-pattern>
<exclude-pattern>test/integration/Platform/SqlServerFixtureLoader.php</exclude-pattern>
<exclude-pattern>test/integration/Adapter/Platform/SqlServerTest.php</exclude-pattern>
<exclude-pattern>src/Adapter/Driver/Sqlsrv/Connection.php</exclude-pattern>
<exclude-pattern>test/unit/Adapter/Driver/Sqlsrv/AbstractIntegrationTest.php</exclude-pattern>
<exclude-pattern>test/unit/Adapter/Driver/Sqlsrv/StatementIntegrationTest.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName">
<exclude-pattern>test/unit/RowGateway/RowGatewayTest.php</exclude-pattern>
<exclude-pattern>test/unit/Sql/Platform/Mysql/SelectDecoratorTest.php</exclude-pattern>
<exclude-pattern>test/unit/Adapter/Driver/IbmDb2/StatementTest.php</exclude-pattern>
<exclude-pattern>test/unit/TableGateway/AbstractTableGatewayTest.php</exclude-pattern>
</rule>
<rule ref="Squiz.PHP.NonExecutableCode.ReturnNotRequired">
<exclude-pattern>src/Adapter/Driver/IbmDb2/Connection.php</exclude-pattern>
<exclude-pattern>src/Adapter/Driver/Oci8/Connection.php</exclude-pattern>
<exclude-pattern>src/Adapter/Driver/Mysqli/Connection.php</exclude-pattern>
<exclude-pattern>src/Adapter/Driver/Pgsql/Connection.php</exclude-pattern>
</rule>
<rule ref="Generic.WhiteSpace.IncrementDecrementSpacing.SpaceAfterIncrement">
<exclude-pattern>src/Adapter/Driver/Pdo/Connection.php</exclude-pattern>
</rule>
</ruleset>
4 changes: 1 addition & 3 deletions test/integration/Adapter/Driver/Pdo/Mysql/AdapterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

trait AdapterTrait
{
/**
* @var Adapter
*/
/** @var Adapter */
protected $adapter;

protected function setUp(): void
Expand Down

0 comments on commit 045aa29

Please sign in to comment.