Skip to content

Commit

Permalink
Merge branch '3.8.x' into 4.0.x
Browse files Browse the repository at this point in the history
* 3.8.x:
  Fix deprecation message Parameter::STRING -> ParameterType::STRING (doctrine#6264)
  Fix connection setup example in `PrimaryReadReplicaConnection` (doctrine#6253)
  PHPStan 1.10.56, PHPUnit 9.6.15, PHPCS 3.8.1 (doctrine#6263)
  Switch to absolute paths
  Indent explanation under toctree
  Use different toctrees for different sections
  PHP CodeSniffer 3.8.0 (doctrine#6238)
  Allow Symfony 7 in require-dev (doctrine#6148)
  • Loading branch information
derrabus committed Jan 20, 2024
2 parents 8bc0d9a + 750d846 commit 5d88359
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 30 deletions.
2 changes: 1 addition & 1 deletion UPGRADE.md
Expand Up @@ -1381,7 +1381,7 @@ The `Connection::ARRAY_PARAM_OFFSET` constant has been marked as internal. It wi

## Deprecated using NULL as prepared statement parameter type.

Omit the type or use `Parameter::STRING` instead.
Omit the type or use `ParameterType::STRING` instead.

## Deprecated passing asset names as assets in `AbstractPlatform` and `AbstractSchemaManager` methods.

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Expand Up @@ -40,15 +40,15 @@
"doctrine/coding-standard": "12.0.0",
"fig/log-test": "^1",
"jetbrains/phpstorm-stubs": "2023.2",
"phpstan/phpstan": "1.10.42",
"phpstan/phpstan": "1.10.56",
"phpstan/phpstan-phpunit": "1.3.15",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "10.4.2",
"psalm/plugin-phpunit": "0.18.4",
"slevomat/coding-standard": "8.13.1",
"squizlabs/php_codesniffer": "3.7.2",
"symfony/cache": "^6.3.8",
"symfony/console": "^5.4|^6.3",
"squizlabs/php_codesniffer": "3.8.1",
"symfony/cache": "^6.3.8|^7.0",
"symfony/console": "^5.4|^6.3|^7.0",
"vimeo/psalm": "5.16.0"
},
"suggest": {
Expand Down
64 changes: 41 additions & 23 deletions docs/en/sidebar.rst
@@ -1,23 +1,41 @@
.. toctree::
:depth: 3

reference/introduction
reference/architecture
reference/configuration
reference/data-retrieval-and-manipulation
reference/query-builder
reference/transactions
reference/platforms
reference/types
reference/schema-manager
reference/schema-representation
reference/security
reference/supporting-other-databases
reference/portability
reference/caching
reference/known-vendor-issues
reference/testing

explanation/implicit-indexes

how-to/postgresql-identity-migration
.. toc::

.. tocheader:: Reference

.. toctree::
:depth: 3

/reference/introduction
/reference/architecture
/reference/configuration
/reference/data-retrieval-and-manipulation
/reference/query-builder
/reference/transactions
/reference/platforms
/reference/types
/reference/schema-manager
/reference/schema-representation
/reference/security
/reference/supporting-other-databases
/reference/portability
/reference/caching
/reference/known-vendor-issues
/reference/testing

.. toc::

.. tocheader:: Explanation

.. toctree::
:depth: 3

/explanation/implicit-indexes

.. toc::

.. tocheader:: How To

.. toctree::
:depth: 3

/how-to/postgresql-identity-migration
4 changes: 2 additions & 2 deletions src/Connections/PrimaryReadReplicaConnection.php
Expand Up @@ -67,8 +67,8 @@
* 'driver' => 'pdo_mysql',
* 'primary' => array('user' => '', 'password' => '', 'host' => '', 'dbname' => ''),
* 'replica' => array(
* array('user' => 'replica1', 'password', 'host' => '', 'dbname' => ''),
* array('user' => 'replica2', 'password', 'host' => '', 'dbname' => ''),
* array('user' => 'replica1', 'password' => '', 'host' => '', 'dbname' => ''),
* array('user' => 'replica2', 'password' => '', 'host' => '', 'dbname' => ''),
* )
* ));
*
Expand Down

0 comments on commit 5d88359

Please sign in to comment.