From db72bcdf2bb1ebe6b73bf7a79d0a827f8ee2ff44 Mon Sep 17 00:00:00 2001
From: Luiz Marin <67489841+luizcmarin@users.noreply.github.com>
Date: Fri, 3 May 2024 13:02:01 -0300
Subject: [PATCH 1/5] Update file
---
LICENSE.md | 6 +++---
README.md | 32 ++++++++++----------------------
2 files changed, 13 insertions(+), 25 deletions(-)
diff --git a/LICENSE.md b/LICENSE.md
index 6a920d60..c48bcea7 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -5,13 +5,13 @@ Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
-* Redistributions of source code must retain the above copyright
+ * Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
+ * Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
-* Neither the name of Yii Software nor the names of its
+ * Neither the name of Yii Software nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
diff --git a/README.md b/README.md
index ecb517ff..9f287b9b 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
-
+
MSSQL Server driver for Yii Database
@@ -29,8 +29,8 @@ have access to a SQL Server database and the necessary credentials to connect to
## Support version
-| PHP | Mssql Version | CI-Actions
-|:----:|:------------------------:|:---:|
+| PHP | Mssql Version | CI-Actions
+|----|--------------------|---|
|**8.0 - 8.2**| **2017 - 2022**|[](https://github.com/yiisoft/db-mssql/actions/workflows/build.yml) [](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/db-mssql/master) [](https://github.com/yiisoft/db-mssql/actions/workflows/static.yml) [](https://shepherd.dev/github/yiisoft/db-mssql)
## Installation
@@ -43,25 +43,20 @@ composer require yiisoft/db-mssql
## Documentation
-English:
-
- To configure connection to MSSQL database check [Connecting MSSQL](https://github.com/yiisoft/db/blob/master/docs/en/connection/mssql.md).
- [Check the documentation docs](https://github.com/yiisoft/db/blob/master/docs/en/README.md) to learn about usage.
-
-Português - Brasil:
-
-- Para configurar a conexão com MSSQL leia [Connecting MSSQL](https://github.com/yiisoft/db/blob/master/docs/pt-BR/connection/mssql.md).
-- [Confira a documentação](https://github.com/yiisoft/db/blob/master/docs/pt-BR/README.md) para aprender como usar.
-
-Testing:
-
- [Internals](docs/internals.md)
-## Support
-
If you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place for that.
You may also check out other [Yii Community Resources](https://www.yiiframework.com/community).
+## License
+
+The MSSQL Server Extension for Yii 3 is free software. It is released under the terms of the BSD License.
+Please see [`LICENSE`](./LICENSE.md) for more information.
+
+Maintained by [Yii Software](https://www.yiiframework.com/).
+
## Support the project
[](https://opencollective.com/yiisoft)
@@ -73,10 +68,3 @@ You may also check out other [Yii Community Resources](https://www.yiiframework.
[](https://t.me/yii3en)
[](https://www.facebook.com/groups/yiitalk)
[](https://yiiframework.com/go/slack)
-
-## License
-
-The MSSQL Server Extension for Yii 3 is free software. It is released under the terms of the BSD License.
-Please see [`LICENSE`](./LICENSE.md) for more information.
-
-Maintained by [Yii Software](https://www.yiiframework.com/).
From 42fa4fbee67fe6978ec34dabd907ee4d5debeab2 Mon Sep 17 00:00:00 2001
From: Luiz Marin <67489841+luizcmarin@users.noreply.github.com>
Date: Sat, 4 May 2024 06:04:42 -0300
Subject: [PATCH 2/5] Update internals.md
---
docs/internals.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/docs/internals.md b/docs/internals.md
index fb1e89fb..5e2a4ee7 100644
--- a/docs/internals.md
+++ b/docs/internals.md
@@ -20,9 +20,7 @@ docker compose up -d
## Unit testing
-The package is tested with [PHPUnit](https://phpunit.de/).
-
-The following steps are required to run the tests:
+The package is tested with [PHPUnit](https://phpunit.de/). To run tests:
1. Run the docker container for the dbms.
2. Install the dependencies of the project with composer.
From 3d926d15a45552c7d540aadd65a4af15bed6d83e Mon Sep 17 00:00:00 2001
From: Luiz Marin <67489841+luizcmarin@users.noreply.github.com>
Date: Mon, 6 May 2024 07:03:30 -0300
Subject: [PATCH 3/5] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 9f287b9b..df973e4e 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ have access to a SQL Server database and the necessary credentials to connect to
## Installation
-The package could be installed via composer:
+The package could be installed with [Composer](https://getcomposer.org):
```shell
composer require yiisoft/db-mssql
From 92bb6bf48f54f3ddf344eda0c428b2a58b8c8ec3 Mon Sep 17 00:00:00 2001
From: Luiz Marin <67489841+luizcmarin@users.noreply.github.com>
Date: Sat, 11 May 2024 11:07:26 -0300
Subject: [PATCH 4/5] Fix docs
---
README.md | 28 ++++++++++++++--------------
composer.json | 16 +++++++++++++---
docs/internals.md | 6 +++---
3 files changed, 30 insertions(+), 20 deletions(-)
diff --git a/README.md b/README.md
index df973e4e..6184fdbb 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,20 @@
-
+
-
+
-
MSSQL Server driver for Yii Database
+ Yii Database MSSQL Server driver
+[](https://packagist.org/packages/yiisoft/db-mssql)
+[](https://packagist.org/packages/yiisoft/db-mssql)
+[](https://github.com/yiisoft/db-mssql/actions/workflows/rector.yml)
+[](https://codecov.io/gh/yiisoft/db-mssql)
+[](https://github.styleci.io/repos/114756477?branch=master)
+
MSSQL Server driver for [Yii Database](https://github.com/yiisoft/db) is a package for working with [MSSQL] databases in PHP.
The package provides a set of classes for connecting to a [MSSQL] database, creating and executing commands, and working with data.
@@ -21,16 +27,10 @@ have access to a SQL Server database and the necessary credentials to connect to
[MSSQL]: https://www.microsoft.com/sql-server
[MSSQL extension]: https://pecl.php.net/package/sqlsrv
-[](https://packagist.org/packages/yiisoft/db-mssql)
-[](https://packagist.org/packages/yiisoft/db-mssql)
-[](https://github.com/yiisoft/db-mssql/actions/workflows/rector.yml)
-[](https://codecov.io/gh/yiisoft/db-mssql)
-[](https://github.styleci.io/repos/114756477?branch=master)
-
## Support version
-| PHP | Mssql Version | CI-Actions
-|----|--------------------|---|
+| PHP | MSSQL Version | CI-Actions |
+|-----|---------------|------------|
|**8.0 - 8.2**| **2017 - 2022**|[](https://github.com/yiisoft/db-mssql/actions/workflows/build.yml) [](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/db-mssql/master) [](https://github.com/yiisoft/db-mssql/actions/workflows/static.yml) [](https://shepherd.dev/github/yiisoft/db-mssql)
## Installation
@@ -43,8 +43,8 @@ composer require yiisoft/db-mssql
## Documentation
-- To configure connection to MSSQL database check [Connecting MSSQL](https://github.com/yiisoft/db/blob/master/docs/en/connection/mssql.md).
-- [Check the documentation docs](https://github.com/yiisoft/db/blob/master/docs/en/README.md) to learn about usage.
+- To configure connection to MSSQL database check [Connecting MSSQL](https://github.com/yiisoft/db/blob/master/docs/guide/en/connection/mssql.md).
+- [Check the documentation docs](https://github.com/yiisoft/db/blob/master/docs/guide/en/README.md) to learn about usage.
- [Internals](docs/internals.md)
If you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place for that.
@@ -52,7 +52,7 @@ You may also check out other [Yii Community Resources](https://www.yiiframework.
## License
-The MSSQL Server Extension for Yii 3 is free software. It is released under the terms of the BSD License.
+The Yii Database MSSQL Server driver is free software. It is released under the terms of the BSD License.
Please see [`LICENSE`](./LICENSE.md) for more information.
Maintained by [Yii Software](https://www.yiiframework.com/).
diff --git a/composer.json b/composer.json
index 06e43b48..2d9c69ee 100644
--- a/composer.json
+++ b/composer.json
@@ -13,13 +13,23 @@
"type": "library",
"license": "BSD-3-Clause",
"support": {
- "issues": "https://github.com/yiisoft/db-mssql/issues",
+ "issues": "https://github.com/yiisoft/db-mssql/issues?state=open",
+ "source": "https://github.com/yiisoft/db-mssql",
"forum": "https://www.yiiframework.com/forum/",
"wiki": "https://www.yiiframework.com/wiki/",
"irc": "ircs://irc.libera.chat:6697/yii",
- "chat": "https://t.me/yii3en",
- "source": "https://github.com/yiisoft/db-mssql"
+ "chat": "https://t.me/yii3en"
},
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/yiisoft"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/yiisoft"
+ }
+ ],
"require": {
"php": "^8.0",
"ext-pdo": "*",
diff --git a/docs/internals.md b/docs/internals.md
index 5e2a4ee7..d9a6a286 100644
--- a/docs/internals.md
+++ b/docs/internals.md
@@ -10,7 +10,7 @@ All our packages have github actions by default, so you can test your [contribut
For greater ease it is recommended to use docker containers, for this you can use the [docker-compose.yml](https://docs.docker.com/compose/compose-file/) file that is in the docs folder.
-1. [MSSQL 2022](../../../docker-compose.yml)
+1. [MSSQL 2022](../docker-compose.yml)
For running the docker containers you can use the following command:
@@ -47,7 +47,7 @@ The code is statically analyzed with [Psalm](https://psalm.dev/). To run static
./vendor/bin/psalm
```
-## Rector
+## Code style
Use [Rector](https://github.com/rectorphp/rector) to make codebase follow some specific rules or
use either newest or any specific version of PHP:
@@ -56,7 +56,7 @@ use either newest or any specific version of PHP:
./vendor/bin/rector
```
-## Composer require checker
+## Dependencies
This package uses [composer-require-checker](https://github.com/maglnet/ComposerRequireChecker) to check if all dependencies are correctly defined in `composer.json`.
From 4c04658331527d0f0cccb6ff5a3181858f77af68 Mon Sep 17 00:00:00 2001
From: Sergei Predvoditelev
Date: Thu, 16 May 2024 14:34:24 +0300
Subject: [PATCH 5/5] fix
---
README.md | 8 +++++---
docs/internals.md | 5 ++---
phpunit.xml.dist | 2 +-
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 6184fdbb..39f49dea 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
-
+
Yii Database MSSQL Server driver
@@ -43,8 +43,10 @@ composer require yiisoft/db-mssql
## Documentation
-- To configure connection to MSSQL database check [Connecting MSSQL](https://github.com/yiisoft/db/blob/master/docs/guide/en/connection/mssql.md).
-- [Check the documentation docs](https://github.com/yiisoft/db/blob/master/docs/guide/en/README.md) to learn about usage.
+To configure connection to MSSQL database check [Connecting MSSQL](https://github.com/yiisoft/db/blob/master/docs/guide/en/connection/mssql.md).
+
+[Check the documentation docs](https://github.com/yiisoft/db/blob/master/docs/guide/en/README.md) to learn about usage.
+
- [Internals](docs/internals.md)
If you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place for that.
diff --git a/docs/internals.md b/docs/internals.md
index d9a6a286..610db580 100644
--- a/docs/internals.md
+++ b/docs/internals.md
@@ -58,9 +58,8 @@ use either newest or any specific version of PHP:
## Dependencies
-This package uses [composer-require-checker](https://github.com/maglnet/ComposerRequireChecker) to check if all dependencies are correctly defined in `composer.json`.
-
-To run the checker, execute the following command:
+This package uses [composer-require-checker](https://github.com/maglnet/ComposerRequireChecker) to check if
+all dependencies are correctly defined in `composer.json`. To run the checker, execute the following command:
```shell
./vendor/bin/composer-require-checker
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 4504c2cd..76dd054b 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -1,5 +1,5 @@
-
+