From ad57040113d10072c22125430ad891a615628c6d Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 30 Mar 2022 09:32:32 +0200 Subject: [PATCH] Revert "Bump `laminas/laminas-coding-standard` to `^2.3.0`" --- .github/workflows/auto-close.yml | 21 -- .laminas-ci/phpunit.xml | 6 +- README.md | 8 - composer.json | 8 +- composer.lock | 191 ++++++++++++------ phpunit.xml.dist | 6 +- src/Adapter/Adapter.php | 2 - src/Adapter/AdapterAbstractServiceFactory.php | 2 - src/Adapter/AdapterAwareInterface.php | 2 - src/Adapter/AdapterAwareTrait.php | 2 - src/Adapter/AdapterInterface.php | 2 - src/Adapter/AdapterServiceDelegator.php | 2 - src/Adapter/AdapterServiceFactory.php | 2 - src/Adapter/Driver/AbstractConnection.php | 2 - src/Adapter/Driver/ConnectionInterface.php | 2 - src/Adapter/Driver/DriverInterface.php | 2 - .../Driver/Feature/AbstractFeature.php | 2 - .../Driver/Feature/DriverFeatureInterface.php | 2 - src/Adapter/Driver/IbmDb2/Connection.php | 2 - src/Adapter/Driver/IbmDb2/IbmDb2.php | 2 - src/Adapter/Driver/IbmDb2/Result.php | 2 - src/Adapter/Driver/IbmDb2/Statement.php | 2 - src/Adapter/Driver/Mysqli/Connection.php | 2 - src/Adapter/Driver/Mysqli/Mysqli.php | 2 - src/Adapter/Driver/Mysqli/Result.php | 2 - src/Adapter/Driver/Mysqli/Statement.php | 2 - src/Adapter/Driver/Oci8/Connection.php | 2 - .../Driver/Oci8/Feature/RowCounter.php | 2 - src/Adapter/Driver/Oci8/Oci8.php | 2 - src/Adapter/Driver/Oci8/Result.php | 2 - src/Adapter/Driver/Oci8/Statement.php | 2 - src/Adapter/Driver/Pdo/Connection.php | 2 - .../Driver/Pdo/Feature/OracleRowCounter.php | 2 - .../Driver/Pdo/Feature/SqliteRowCounter.php | 2 - src/Adapter/Driver/Pdo/Pdo.php | 2 - src/Adapter/Driver/Pdo/Result.php | 2 - src/Adapter/Driver/Pdo/Statement.php | 2 - src/Adapter/Driver/Pgsql/Connection.php | 2 - src/Adapter/Driver/Pgsql/Pgsql.php | 2 - src/Adapter/Driver/Pgsql/Result.php | 2 - src/Adapter/Driver/Pgsql/Statement.php | 2 - src/Adapter/Driver/ResultInterface.php | 2 - src/Adapter/Driver/Sqlsrv/Connection.php | 2 - .../Sqlsrv/Exception/ErrorException.php | 2 - .../Sqlsrv/Exception/ExceptionInterface.php | 2 - src/Adapter/Driver/Sqlsrv/Result.php | 2 - src/Adapter/Driver/Sqlsrv/Sqlsrv.php | 2 - src/Adapter/Driver/Sqlsrv/Statement.php | 2 - src/Adapter/Driver/StatementInterface.php | 2 - src/Adapter/Exception/ErrorException.php | 2 - src/Adapter/Exception/ExceptionInterface.php | 2 - .../Exception/InvalidArgumentException.php | 2 - .../InvalidConnectionParametersException.php | 2 - .../Exception/InvalidQueryException.php | 2 - src/Adapter/Exception/RuntimeException.php | 2 - .../Exception/UnexpectedValueException.php | 2 - src/Adapter/ParameterContainer.php | 2 - src/Adapter/Platform/AbstractPlatform.php | 2 - src/Adapter/Platform/IbmDb2.php | 2 - src/Adapter/Platform/Mysql.php | 2 - src/Adapter/Platform/Oracle.php | 2 - src/Adapter/Platform/PlatformInterface.php | 2 - src/Adapter/Platform/Postgresql.php | 2 - src/Adapter/Platform/Sql92.php | 2 - src/Adapter/Platform/SqlServer.php | 2 - src/Adapter/Platform/Sqlite.php | 2 - src/Adapter/Profiler/Profiler.php | 2 - .../Profiler/ProfilerAwareInterface.php | 2 - src/Adapter/Profiler/ProfilerInterface.php | 2 - src/Adapter/StatementContainer.php | 2 - src/Adapter/StatementContainerInterface.php | 2 - src/ConfigProvider.php | 2 - src/Exception/ErrorException.php | 2 - src/Exception/ExceptionInterface.php | 2 - src/Exception/InvalidArgumentException.php | 2 - src/Exception/RuntimeException.php | 2 - src/Exception/UnexpectedValueException.php | 2 - src/Metadata/Metadata.php | 2 - src/Metadata/MetadataInterface.php | 2 - src/Metadata/Object/AbstractTableObject.php | 2 - src/Metadata/Object/ColumnObject.php | 2 - src/Metadata/Object/ConstraintKeyObject.php | 2 - src/Metadata/Object/ConstraintObject.php | 2 - src/Metadata/Object/TableObject.php | 2 - src/Metadata/Object/TriggerObject.php | 2 - src/Metadata/Object/ViewObject.php | 2 - src/Metadata/Source/AbstractSource.php | 2 - src/Metadata/Source/Factory.php | 2 - src/Metadata/Source/MysqlMetadata.php | 2 - src/Metadata/Source/OracleMetadata.php | 2 - src/Metadata/Source/PostgresqlMetadata.php | 2 - src/Metadata/Source/SqlServerMetadata.php | 2 - src/Metadata/Source/SqliteMetadata.php | 2 - src/Module.php | 2 - src/ResultSet/AbstractResultSet.php | 2 - .../Exception/ExceptionInterface.php | 2 - .../Exception/InvalidArgumentException.php | 2 - src/ResultSet/Exception/RuntimeException.php | 2 - src/ResultSet/HydratingResultSet.php | 2 - src/ResultSet/ResultSet.php | 2 - src/ResultSet/ResultSetInterface.php | 2 - src/RowGateway/AbstractRowGateway.php | 2 - .../Exception/ExceptionInterface.php | 2 - .../Exception/InvalidArgumentException.php | 2 - src/RowGateway/Exception/RuntimeException.php | 2 - src/RowGateway/Feature/AbstractFeature.php | 2 - src/RowGateway/Feature/FeatureSet.php | 2 - src/RowGateway/RowGateway.php | 2 - src/RowGateway/RowGatewayInterface.php | 2 - src/Sql/AbstractExpression.php | 2 - src/Sql/AbstractPreparableSql.php | 2 - src/Sql/AbstractSql.php | 2 - src/Sql/Combine.php | 2 - src/Sql/Ddl/AlterTable.php | 2 - src/Sql/Ddl/Column/AbstractLengthColumn.php | 2 - .../Ddl/Column/AbstractPrecisionColumn.php | 2 - .../Ddl/Column/AbstractTimestampColumn.php | 2 - src/Sql/Ddl/Column/BigInteger.php | 2 - src/Sql/Ddl/Column/Binary.php | 2 - src/Sql/Ddl/Column/Blob.php | 2 - src/Sql/Ddl/Column/Boolean.php | 2 - src/Sql/Ddl/Column/Char.php | 2 - src/Sql/Ddl/Column/Column.php | 2 - src/Sql/Ddl/Column/ColumnInterface.php | 2 - src/Sql/Ddl/Column/Date.php | 2 - src/Sql/Ddl/Column/Datetime.php | 2 - src/Sql/Ddl/Column/Decimal.php | 2 - src/Sql/Ddl/Column/Floating.php | 2 - src/Sql/Ddl/Column/Integer.php | 2 - src/Sql/Ddl/Column/Text.php | 2 - src/Sql/Ddl/Column/Time.php | 2 - src/Sql/Ddl/Column/Timestamp.php | 2 - src/Sql/Ddl/Column/Varbinary.php | 2 - src/Sql/Ddl/Column/Varchar.php | 2 - src/Sql/Ddl/Constraint/AbstractConstraint.php | 2 - src/Sql/Ddl/Constraint/Check.php | 2 - .../Ddl/Constraint/ConstraintInterface.php | 2 - src/Sql/Ddl/Constraint/ForeignKey.php | 2 - src/Sql/Ddl/Constraint/PrimaryKey.php | 2 - src/Sql/Ddl/Constraint/UniqueKey.php | 2 - src/Sql/Ddl/CreateTable.php | 2 - src/Sql/Ddl/DropTable.php | 2 - src/Sql/Ddl/Index/AbstractIndex.php | 2 - src/Sql/Ddl/Index/Index.php | 2 - src/Sql/Ddl/SqlInterface.php | 2 - src/Sql/Delete.php | 2 - src/Sql/Exception/ExceptionInterface.php | 2 - .../Exception/InvalidArgumentException.php | 2 - src/Sql/Exception/RuntimeException.php | 2 - src/Sql/Expression.php | 2 - src/Sql/ExpressionInterface.php | 2 - src/Sql/Having.php | 2 - src/Sql/Insert.php | 2 - src/Sql/InsertIgnore.php | 2 - src/Sql/Join.php | 2 - src/Sql/Literal.php | 2 - src/Sql/Platform/AbstractPlatform.php | 2 - src/Sql/Platform/IbmDb2/IbmDb2.php | 2 - src/Sql/Platform/IbmDb2/SelectDecorator.php | 2 - .../Mysql/Ddl/AlterTableDecorator.php | 2 - .../Mysql/Ddl/CreateTableDecorator.php | 2 - src/Sql/Platform/Mysql/Mysql.php | 2 - src/Sql/Platform/Mysql/SelectDecorator.php | 2 - src/Sql/Platform/Oracle/Oracle.php | 2 - src/Sql/Platform/Oracle/SelectDecorator.php | 2 - src/Sql/Platform/Platform.php | 2 - .../Platform/PlatformDecoratorInterface.php | 2 - .../SqlServer/Ddl/CreateTableDecorator.php | 2 - .../Platform/SqlServer/SelectDecorator.php | 2 - src/Sql/Platform/SqlServer/SqlServer.php | 2 - src/Sql/Platform/Sqlite/SelectDecorator.php | 2 - src/Sql/Platform/Sqlite/Sqlite.php | 2 - src/Sql/Predicate/Between.php | 2 - src/Sql/Predicate/Expression.php | 2 - src/Sql/Predicate/In.php | 2 - src/Sql/Predicate/IsNotNull.php | 2 - src/Sql/Predicate/IsNull.php | 2 - src/Sql/Predicate/Like.php | 2 - src/Sql/Predicate/Literal.php | 2 - src/Sql/Predicate/NotBetween.php | 2 - src/Sql/Predicate/NotIn.php | 2 - src/Sql/Predicate/NotLike.php | 2 - src/Sql/Predicate/Operator.php | 2 - src/Sql/Predicate/Predicate.php | 2 - src/Sql/Predicate/PredicateInterface.php | 2 - src/Sql/Predicate/PredicateSet.php | 2 - src/Sql/PreparableSqlInterface.php | 2 - src/Sql/Select.php | 2 - src/Sql/Sql.php | 2 - src/Sql/SqlInterface.php | 2 - src/Sql/TableIdentifier.php | 2 - src/Sql/Update.php | 2 - src/Sql/Where.php | 2 - src/TableGateway/AbstractTableGateway.php | 2 - .../Exception/ExceptionInterface.php | 2 - .../Exception/InvalidArgumentException.php | 2 - .../Exception/RuntimeException.php | 2 - src/TableGateway/Feature/AbstractFeature.php | 2 - src/TableGateway/Feature/EventFeature.php | 2 - .../EventFeature/TableGatewayEvent.php | 2 - .../Feature/EventFeatureEventsInterface.php | 2 - src/TableGateway/Feature/FeatureSet.php | 2 - .../Feature/GlobalAdapterFeature.php | 2 - .../Feature/MasterSlaveFeature.php | 2 - src/TableGateway/Feature/MetadataFeature.php | 2 - .../Feature/RowGatewayFeature.php | 2 - src/TableGateway/Feature/SequenceFeature.php | 2 - src/TableGateway/TableGateway.php | 2 - src/TableGateway/TableGatewayInterface.php | 2 - .../Adapter/Driver/Mysqli/ConnectionTest.php | 2 - .../Driver/Mysqli/TableGatewayTest.php | 2 - .../Adapter/Driver/Mysqli/TraitSetup.php | 2 - .../Driver/Pdo/AbstractAdapterTest.php | 2 - .../Adapter/Driver/Pdo/Mysql/AdapterTest.php | 2 - .../Adapter/Driver/Pdo/Mysql/AdapterTrait.php | 2 - .../Adapter/Driver/Pdo/Mysql/QueryTest.php | 2 - .../Driver/Pdo/Mysql/TableGatewayTest.php | 2 - .../Driver/Pdo/Postgresql/AdapterTest.php | 2 - .../Driver/Pdo/Postgresql/AdapterTrait.php | 2 - .../Pdo/Postgresql/TableGatewayTest.php | 2 - .../Adapter/Platform/MysqlTest.php | 2 - .../Adapter/Platform/PostgresqlTest.php | 2 - .../Adapter/Platform/SqlServerTest.php | 2 - .../Adapter/Platform/SqliteTest.php | 2 - ...ension.php => IntegrationTestListener.php} | 44 ++-- test/integration/Platform/FixtureLoader.php | 2 - .../Platform/MysqlFixtureLoader.php | 2 - .../Platform/PgsqlFixtureLoader.php | 2 - .../Platform/SqlServerFixtureLoader.php | 2 - .../AdapterAbstractServiceFactoryTest.php | 2 - test/unit/Adapter/AdapterAwareTraitTest.php | 2 - .../Adapter/AdapterServiceDelegatorTest.php | 2 - .../Adapter/AdapterServiceFactoryTest.php | 2 - test/unit/Adapter/AdapterTest.php | 2 - .../Driver/IbmDb2/AbstractIntegrationTest.php | 2 - .../IbmDb2/ConnectionIntegrationTest.php | 2 - .../Adapter/Driver/IbmDb2/ConnectionTest.php | 2 - .../Driver/IbmDb2/IbmDb2IntegrationTest.php | 2 - .../unit/Adapter/Driver/IbmDb2/IbmDb2Test.php | 2 - .../Driver/IbmDb2/ResultIntegrationTest.php | 2 - .../IbmDb2/StatementIntegrationTest.php | 2 - .../Adapter/Driver/IbmDb2/StatementTest.php | 2 - .../Driver/IbmDb2/TestAsset/Db2Functions.php | 2 - .../Adapter/Driver/Mysqli/ConnectionTest.php | 2 - .../Driver/Oci8/AbstractIntegrationTest.php | 2 - .../Driver/Oci8/ConnectionIntegrationTest.php | 2 - .../Adapter/Driver/Oci8/ConnectionTest.php | 2 - .../Driver/Oci8/Feature/RowCounterTest.php | 2 - .../Driver/Oci8/Oci8IntegrationTest.php | 2 - test/unit/Adapter/Driver/Oci8/Oci8Test.php | 2 - .../Driver/Oci8/ResultIntegrationTest.php | 2 - test/unit/Adapter/Driver/Oci8/ResultTest.php | 2 - .../Driver/Oci8/StatementIntegrationTest.php | 2 - .../Adapter/Driver/Oci8/StatementTest.php | 2 - .../Driver/Pdo/ConnectionIntegrationTest.php | 2 - .../Adapter/Driver/Pdo/ConnectionTest.php | 2 - .../Driver/Pdo/ConnectionTransactionsTest.php | 2 - .../Pdo/Feature/OracleRowCounterTest.php | 2 - .../Pdo/Feature/SqliteRowCounterTest.php | 2 - test/unit/Adapter/Driver/Pdo/PdoTest.php | 2 - test/unit/Adapter/Driver/Pdo/ResultTest.php | 2 - .../Driver/Pdo/StatementIntegrationTest.php | 2 - .../unit/Adapter/Driver/Pdo/StatementTest.php | 2 - .../Driver/Pdo/TestAsset/CtorlessPdo.php | 2 - .../Driver/Pdo/TestAsset/SqliteMemoryPdo.php | 2 - .../Adapter/Driver/Pgsql/ConnectionTest.php | 2 - test/unit/Adapter/Driver/Pgsql/PgsqlTest.php | 2 - .../Driver/Pgsql/pgsqlMockFunctions.php | 2 - .../Driver/Sqlsrv/AbstractIntegrationTest.php | 2 - .../Sqlsrv/ConnectionIntegrationTest.php | 2 - .../Adapter/Driver/Sqlsrv/ConnectionTest.php | 2 - .../Sqlsrv/PdoSqlSrvIntegrationTest.php | 2 - .../Driver/Sqlsrv/ResultIntegrationTest.php | 2 - .../Driver/Sqlsrv/SqlSrvIntegrationTest.php | 2 - .../unit/Adapter/Driver/Sqlsrv/SqlsrvTest.php | 2 - .../Sqlsrv/StatementIntegrationTest.php | 2 - .../Adapter/Driver/Sqlsrv/StatementTest.php | 2 - .../unit/Adapter/Driver/TestAsset/PdoMock.php | 13 +- test/unit/Adapter/ParameterContainerTest.php | 2 - test/unit/Adapter/Platform/IbmDb2Test.php | 2 - test/unit/Adapter/Platform/MysqlTest.php | 2 - test/unit/Adapter/Platform/OracleTest.php | 2 - test/unit/Adapter/Platform/PostgresqlTest.php | 2 - test/unit/Adapter/Platform/Sql92Test.php | 2 - test/unit/Adapter/Platform/SqlServerTest.php | 2 - test/unit/Adapter/Platform/SqliteTest.php | 2 - test/unit/Adapter/Profiler/ProfilerTest.php | 2 - .../TestAsset/ConcreteAdapterAwareObject.php | 2 - test/unit/ConfigProviderTest.php | 2 - test/unit/DeprecatedAssertionsTrait.php | 2 - .../Metadata/Source/AbstractSourceTest.php | 2 - test/unit/Metadata/Source/FactoryTest.php | 2 - .../Metadata/Source/OracleMetadataTest.php | 2 - .../Metadata/Source/SqliteMetadataTest.php | 2 - .../AbstractResultSetIntegrationTest.php | 2 - test/unit/ResultSet/AbstractResultSetTest.php | 2 - .../HydratingResultSetIntegrationTest.php | 2 - .../unit/ResultSet/HydratingResultSetTest.php | 2 - .../ResultSet/ResultSetIntegrationTest.php | 2 - .../RowGateway/AbstractRowGatewayTest.php | 2 - test/unit/RowGateway/RowGatewayTest.php | 2 - test/unit/Sql/AbstractSqlTest.php | 2 - test/unit/Sql/CombineTest.php | 2 - test/unit/Sql/Ddl/AlterTableTest.php | 2 - .../Ddl/Column/AbstractLengthColumnTest.php | 2 - .../Column/AbstractPrecisionColumnTest.php | 2 - test/unit/Sql/Ddl/Column/BigIntegerTest.php | 2 - test/unit/Sql/Ddl/Column/BinaryTest.php | 2 - test/unit/Sql/Ddl/Column/BlobTest.php | 2 - test/unit/Sql/Ddl/Column/BooleanTest.php | 2 - test/unit/Sql/Ddl/Column/CharTest.php | 2 - test/unit/Sql/Ddl/Column/ColumnTest.php | 2 - test/unit/Sql/Ddl/Column/DateTest.php | 2 - test/unit/Sql/Ddl/Column/DatetimeTest.php | 2 - test/unit/Sql/Ddl/Column/DecimalTest.php | 2 - test/unit/Sql/Ddl/Column/FloatTest.php | 2 - test/unit/Sql/Ddl/Column/FloatingTest.php | 2 - test/unit/Sql/Ddl/Column/IntegerTest.php | 2 - test/unit/Sql/Ddl/Column/TextTest.php | 2 - test/unit/Sql/Ddl/Column/TimeTest.php | 2 - test/unit/Sql/Ddl/Column/TimestampTest.php | 2 - test/unit/Sql/Ddl/Column/VarbinaryTest.php | 2 - test/unit/Sql/Ddl/Column/VarcharTest.php | 2 - .../Ddl/Constraint/AbstractConstraintTest.php | 2 - test/unit/Sql/Ddl/Constraint/CheckTest.php | 2 - .../Sql/Ddl/Constraint/ForeignKeyTest.php | 2 - .../Sql/Ddl/Constraint/PrimaryKeyTest.php | 2 - .../unit/Sql/Ddl/Constraint/UniqueKeyTest.php | 2 - test/unit/Sql/Ddl/CreateTableTest.php | 2 - test/unit/Sql/Ddl/DropTableTest.php | 2 - test/unit/Sql/Ddl/Index/IndexTest.php | 2 - test/unit/Sql/DeleteTest.php | 2 - test/unit/Sql/ExpressionTest.php | 2 - test/unit/Sql/InsertIgnoreTest.php | 2 - test/unit/Sql/InsertTest.php | 2 - test/unit/Sql/JoinTest.php | 2 - test/unit/Sql/LiteralTest.php | 2 - .../Platform/IbmDb2/SelectDecoratorTest.php | 2 - .../Mysql/Ddl/AlterTableDecoratorTest.php | 2 - .../Mysql/Ddl/CreateTableDecoratorTest.php | 2 - test/unit/Sql/Platform/Mysql/MysqlTest.php | 2 - .../Platform/Mysql/SelectDecoratorTest.php | 2 - test/unit/Sql/Platform/Oracle/OracleTest.php | 2 - .../Platform/Oracle/SelectDecoratorTest.php | 2 - test/unit/Sql/Platform/PlatformTest.php | 2 - .../Ddl/CreateTableDecoratorTest.php | 2 - .../SqlServer/SelectDecoratorTest.php | 2 - .../Sql/Platform/SqlServer/SqlServerTest.php | 2 - .../Platform/Sqlite/SelectDecoratorTest.php | 2 - test/unit/Sql/Platform/Sqlite/SqliteTest.php | 2 - test/unit/Sql/Predicate/BetweenTest.php | 2 - test/unit/Sql/Predicate/ExpressionTest.php | 2 - test/unit/Sql/Predicate/InTest.php | 2 - test/unit/Sql/Predicate/IsNullTest.php | 2 - test/unit/Sql/Predicate/LikeTest.php | 2 - test/unit/Sql/Predicate/LiteralTest.php | 2 - test/unit/Sql/Predicate/NotBetweenTest.php | 2 - test/unit/Sql/Predicate/NotInTest.php | 2 - test/unit/Sql/Predicate/NotLikeTest.php | 2 - test/unit/Sql/Predicate/OperatorTest.php | 2 - test/unit/Sql/Predicate/PredicateSetTest.php | 2 - test/unit/Sql/Predicate/PredicateTest.php | 2 - test/unit/Sql/SelectTest.php | 2 - test/unit/Sql/SqlFunctionalTest.php | 2 - test/unit/Sql/SqlTest.php | 2 - test/unit/Sql/TableIdentifierTest.php | 2 - test/unit/Sql/UpdateTest.php | 2 - .../TableGateway/AbstractTableGatewayTest.php | 2 - .../TableGateway/Feature/EventFeatureTest.php | 2 - .../TableGateway/Feature/FeatureSetTest.php | 2 - .../Feature/MasterSlaveFeatureTest.php | 2 - .../Feature/MetadataFeatureTest.php | 2 - .../Feature/SequenceFeatureTest.php | 2 - test/unit/TableGateway/TableGatewayTest.php | 2 - test/unit/TestAsset/ConnectionWrapper.php | 2 - test/unit/TestAsset/DeleteDecorator.php | 2 - test/unit/TestAsset/DeleteIgnore.php | 2 - test/unit/TestAsset/InsertDecorator.php | 2 - test/unit/TestAsset/PdoStubDriver.php | 2 - test/unit/TestAsset/Replace.php | 2 - test/unit/TestAsset/SelectDecorator.php | 2 - test/unit/TestAsset/TemporaryResultSet.php | 2 - test/unit/TestAsset/TrustingMysqlPlatform.php | 2 - .../unit/TestAsset/TrustingOraclePlatform.php | 2 - test/unit/TestAsset/TrustingSql92Platform.php | 2 - .../TestAsset/TrustingSqlServerPlatform.php | 2 - test/unit/TestAsset/UpdateDecorator.php | 2 - test/unit/TestAsset/UpdateIgnore.php | 2 - 388 files changed, 160 insertions(+), 897 deletions(-) delete mode 100644 .github/workflows/auto-close.yml rename test/integration/{IntegrationTestPHPUnitExtension.php => IntegrationTestListener.php} (53%) diff --git a/.github/workflows/auto-close.yml b/.github/workflows/auto-close.yml deleted file mode 100644 index 422229a22..000000000 --- a/.github/workflows/auto-close.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Autocloser -on: [issues, pull_request] -jobs: - autoclose: - runs-on: ubuntu-latest - steps: - - name: Autoclose new issues and PRs - uses: roots/issue-closer@v1.1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-pattern: "^exact-string-will-never-match$" - pr-pattern: "^exact-string-will-never-match$" - issue-close-message: | - This package is considered feature-complete, and is now in **security-only** maintenance mode, following a [decision by the Technical Steering Committee](https://github.com/laminas/technical-steering-committee/blob/2b55453e172a1b8c9c4c212be7cf7e7a58b9352c/meetings/minutes/2020-08-03-TSC-Minutes.md#vote-on-components-to-mark-as-security-only). - If you have a security issue, please [follow our security reporting guidelines](https://getlaminas.org/security/). - If you wish to take on the role of maintainer, please [nominate yourself](https://github.com/laminas/technical-steering-committee/issues/new?assignees=&labels=Nomination&template=Maintainer_Nomination.md&title=%5BNOMINATION%5D%5BMAINTAINER%5D%3A+%7Bname+of+person+being+nominated%7D) - - pr-close-message: | - This package is considered feature-complete, and is now in **security-only** maintenance mode, following a [decision by the Technical Steering Committee](https://github.com/laminas/technical-steering-committee/blob/2b55453e172a1b8c9c4c212be7cf7e7a58b9352c/meetings/minutes/2020-08-03-TSC-Minutes.md#vote-on-components-to-mark-as-security-only). - If you have a security issue, please [follow our security reporting guidelines](https://getlaminas.org/security/). - If you wish to take on the role of maintainer, please [nominate yourself](https://github.com/laminas/technical-steering-committee/issues/new?assignees=&labels=Nomination&template=Maintainer_Nomination.md&title=%5BNOMINATION%5D%5BMAINTAINER%5D%3A+%7Bname+of+person+being+nominated%7D) diff --git a/.laminas-ci/phpunit.xml b/.laminas-ci/phpunit.xml index 0fe4b75e8..784bfc1ef 100644 --- a/.laminas-ci/phpunit.xml +++ b/.laminas-ci/phpunit.xml @@ -22,9 +22,9 @@ - - - + + + diff --git a/README.md b/README.md index d76ad4d72..73a666ad8 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,6 @@ > > You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!" -> This package is considered feature-complete, and is now in **security-only** maintenance mode, following a [decision by the Technical Steering Committee](https://github.com/laminas/technical-steering-committee/blob/ea1ac8c8e2f00f90c6059b6bf60399bcf38bc653/meetings/minutes/2022-02-07-TSC-Minutes.md#is-laminas-db-abandoned). -> If you have a security issue, please [follow our security reporting guidelines](https://getlaminas.org/security/). -> If you wish to take on the role of maintainer, please [nominate yourself](https://github.com/laminas/technical-steering-committee/issues/new?assignees=&labels=Nomination&template=Maintainer_Nomination.md&title=%5BNOMINATION%5D%5BMAINTAINER%5D%3A+%7Bname+of+person+being+nominated%7D) -> -> If you are looking for an actively maintained package alternative, we recommend: -> -> - [doctrine/dbal](https://github.com/doctrine/dbal) - `Laminas\Db` is a component that abstract the access to a Database using an object oriented API to build the queries. `Laminas\Db` consumes different storage adapters to access different database vendors such as MySQL, PostgreSQL, Oracle, IBM DB2, diff --git a/composer.json b/composer.json index 8a47892c2..be7db1db5 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "config": { "sort-packages": true, "platform": { - "php": "7.4.99" + "php": "7.3.99" }, "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true @@ -31,14 +31,14 @@ } }, "require": { - "php": "^7.4 || ~8.0.0 || ~8.1.0", + "php": "^7.3 || ~8.0.0 || ~8.1.0", "laminas/laminas-stdlib": "^3.7.1" }, "require-dev": { - "laminas/laminas-coding-standard": "^2.3.0", + "laminas/laminas-coding-standard": "~2.2.1", "laminas/laminas-eventmanager": "^3.4.0", "laminas/laminas-hydrator": "^3.2 || ^4.3", - "laminas/laminas-servicemanager": "^3.10.0", + "laminas/laminas-servicemanager": "^3.7.0", "phpunit/phpunit": "^9.5.19" }, "suggest": { diff --git a/composer.lock b/composer.lock index ed2948a8f..e4296172f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fbc139eb703724c4301151485839c5a2", + "content-hash": "5fc4a788c1c5079ecaecef7dd1cd9bd4", "packages": [ { "name": "laminas/laminas-stdlib", @@ -250,24 +250,24 @@ }, { "name": "laminas/laminas-coding-standard", - "version": "2.3.0", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-coding-standard.git", - "reference": "bcf6e07fe4690240be7beb6d884d0b0fafa6a251" + "reference": "c953ecb1d37034f4aa326046e2c24a10fe0a2845" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-coding-standard/zipball/bcf6e07fe4690240be7beb6d884d0b0fafa6a251", - "reference": "bcf6e07fe4690240be7beb6d884d0b0fafa6a251", + "url": "https://api.github.com/repos/laminas/laminas-coding-standard/zipball/c953ecb1d37034f4aa326046e2c24a10fe0a2845", + "reference": "c953ecb1d37034f4aa326046e2c24a10fe0a2845", "shasum": "" }, "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7", - "php": "^7.3 || ^8.0", - "slevomat/coding-standard": "^7.0", - "squizlabs/php_codesniffer": "^3.6", - "webimpress/coding-standard": "^1.2" + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", + "php": "^7.3 || ~8.0.0", + "slevomat/coding-standard": "^6.4.1", + "squizlabs/php_codesniffer": "^3.5.8", + "webimpress/coding-standard": "^1.1.6" }, "type": "phpcodesniffer-standard", "autoload": { @@ -299,7 +299,7 @@ "type": "community_bridge" } ], - "time": "2021-05-29T15:53:59+00:00" + "time": "2021-05-17T17:39:41+00:00" }, { "name": "laminas/laminas-eventmanager", @@ -446,43 +446,46 @@ }, { "name": "laminas/laminas-servicemanager", - "version": "3.10.0", + "version": "3.7.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-servicemanager.git", - "reference": "e52b985909e0940bf22d34f322eb3f48bbef6bd1" + "reference": "2b0aee477fdbd3191af7c302b93dbc5fda0626f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-servicemanager/zipball/e52b985909e0940bf22d34f322eb3f48bbef6bd1", - "reference": "e52b985909e0940bf22d34f322eb3f48bbef6bd1", + "url": "https://api.github.com/repos/laminas/laminas-servicemanager/zipball/2b0aee477fdbd3191af7c302b93dbc5fda0626f4", + "reference": "2b0aee477fdbd3191af7c302b93dbc5fda0626f4", "shasum": "" }, "require": { "container-interop/container-interop": "^1.2", "laminas/laminas-stdlib": "^3.2.1", - "php": "~7.4.0 || ~8.0.0 || ~8.1.0", + "laminas/laminas-zendframework-bridge": "^1.0", + "php": "^7.3 || ~8.0.0", "psr/container": "^1.0" }, "conflict": { "laminas/laminas-code": "<3.3.1", - "zendframework/zend-code": "<3.3.1", - "zendframework/zend-servicemanager": "*" + "zendframework/zend-code": "<3.3.1" }, "provide": { "container-interop/container-interop-implementation": "^1.2", "psr/container-implementation": "^1.0" }, + "replace": { + "zendframework/zend-servicemanager": "^3.4.0" + }, "require-dev": { "composer/package-versions-deprecated": "^1.0", - "laminas/laminas-coding-standard": "~2.2.1", + "laminas/laminas-coding-standard": "~2.2.0", "laminas/laminas-container-config-test": "^0.3", "laminas/laminas-dependency-plugin": "^2.1.2", - "mikey179/vfsstream": "^1.6.10@alpha", - "ocramius/proxy-manager": "^2.11", - "phpbench/phpbench": "^1.1", + "mikey179/vfsstream": "^1.6.8", + "ocramius/proxy-manager": "^2.2.3", + "phpbench/phpbench": "^1.0.4", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5.5", + "phpunit/phpunit": "^9.4", "psalm/plugin-phpunit": "^0.16.1", "vimeo/psalm": "^4.8" }, @@ -528,7 +531,69 @@ "type": "community_bridge" } ], - "time": "2021-09-18T20:19:36+00:00" + "time": "2021-07-24T19:33:07+00:00" + }, + { + "name": "laminas/laminas-zendframework-bridge", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-zendframework-bridge.git", + "reference": "88bf037259869891afce6504cacc4f8a07b24d0f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-zendframework-bridge/zipball/88bf037259869891afce6504cacc4f8a07b24d0f", + "reference": "88bf037259869891afce6504cacc4f8a07b24d0f", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0 || ~8.1.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "psalm/plugin-phpunit": "^0.15.1", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.6" + }, + "type": "library", + "extra": { + "laminas": { + "module": "Laminas\\ZendFrameworkBridge" + } + }, + "autoload": { + "files": [ + "src/autoload.php" + ], + "psr-4": { + "Laminas\\ZendFrameworkBridge\\": "src//" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Alias legacy ZF class names to Laminas Project equivalents.", + "keywords": [ + "ZendFramework", + "autoloading", + "laminas", + "zf" + ], + "support": { + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-zendframework-bridge/issues", + "rss": "https://github.com/laminas/laminas-zendframework-bridge/releases.atom", + "source": "https://github.com/laminas/laminas-zendframework-bridge" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-12-21T14:34:37+00:00" }, { "name": "myclabs/deep-copy", @@ -985,33 +1050,37 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.2.0", + "version": "0.4.9", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e" + "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/dbc093d7af60eff5cd575d2ed761b15ed40bd08e", - "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/98a088b17966bdf6ee25c8a4b634df313d8aa531", + "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "php-parallel-lint/php-parallel-lint": "^1.2", + "consistence/coding-standard": "^3.5", + "ergebnis/composer-normalize": "^2.0.2", + "jakub-onderka/php-parallel-lint": "^0.9.2", + "phing/phing": "^2.16.0", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5", - "symfony/process": "^5.2" + "phpstan/phpstan": "^0.12.26", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^6.3", + "slevomat/coding-standard": "^4.7.2", + "symfony/process": "^4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "0.4-dev" } }, "autoload": { @@ -1028,9 +1097,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.2.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/master" }, - "time": "2021-09-16T20:46:02+00:00" + "time": "2020-08-03T20:32:43+00:00" }, { "name": "phpunit/php-code-coverage", @@ -1455,20 +1524,20 @@ }, { "name": "psr/container", - "version": "1.1.2", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", + "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": ">=7.2.0" }, "type": "library", "autoload": { @@ -1497,9 +1566,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.2" + "source": "https://github.com/php-fig/container/tree/1.1.1" }, - "time": "2021-11-05T16:50:12+00:00" + "time": "2021-03-05T17:36:06+00:00" }, { "name": "sebastian/cli-parser", @@ -2467,37 +2536,37 @@ }, { "name": "slevomat/coding-standard", - "version": "7.0.19", + "version": "6.4.1", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "bef66a43815bbf9b5f49775e9ded3f7c6ba0cc37" + "reference": "696dcca217d0c9da2c40d02731526c1e25b65346" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/bef66a43815bbf9b5f49775e9ded3f7c6ba0cc37", - "reference": "bef66a43815bbf9b5f49775e9ded3f7c6ba0cc37", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/696dcca217d0c9da2c40d02731526c1e25b65346", + "reference": "696dcca217d0c9da2c40d02731526c1e25b65346", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", "php": "^7.1 || ^8.0", - "phpstan/phpdoc-parser": "^1.0.0", - "squizlabs/php_codesniffer": "^3.6.2" + "phpstan/phpdoc-parser": "0.4.5 - 0.4.9", + "squizlabs/php_codesniffer": "^3.5.6" }, "require-dev": { - "phing/phing": "2.17.2", - "php-parallel-lint/php-parallel-lint": "1.3.2", - "phpstan/phpstan": "1.4.6", - "phpstan/phpstan-deprecation-rules": "1.0.0", - "phpstan/phpstan-phpunit": "1.0.0", - "phpstan/phpstan-strict-rules": "1.1.0", - "phpunit/phpunit": "7.5.20|8.5.21|9.5.16" + "phing/phing": "2.16.3", + "php-parallel-lint/php-parallel-lint": "1.2.0", + "phpstan/phpstan": "0.12.48", + "phpstan/phpstan-deprecation-rules": "0.12.5", + "phpstan/phpstan-phpunit": "0.12.16", + "phpstan/phpstan-strict-rules": "0.12.5", + "phpunit/phpunit": "7.5.20|8.5.5|9.4.0" }, "type": "phpcodesniffer-standard", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "6.x-dev" } }, "autoload": { @@ -2512,7 +2581,7 @@ "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/7.0.19" + "source": "https://github.com/slevomat/coding-standard/tree/6.4.1" }, "funding": [ { @@ -2524,7 +2593,7 @@ "type": "tidelift" } ], - "time": "2022-03-01T18:01:41+00:00" + "time": "2020-10-05T12:39:37+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -2834,11 +2903,11 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.4 || ~8.0.0 || ~8.1.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "platform-dev": [], "platform-overrides": { - "php": "7.4.99" + "php": "7.3.99" }, "plugin-api-version": "2.2.0" } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index db58a1840..09cf43f96 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -19,9 +19,9 @@ - - - + + +