Skip to content

Commit

Permalink
Merge c486791 into c68b60b
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 committed Apr 22, 2020
2 parents c68b60b + c486791 commit 3d10a7d
Show file tree
Hide file tree
Showing 146 changed files with 10,864 additions and 6,530 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@ jobs:
- name: Setup MySQL
if: matrix.db-type == 'mysql'
run: |
sudo service mysql start
if [[ ${{ matrix.php-version }} == '7.2' ]]; then
sudo service mysql stop
# MySQL 8
docker run --rm --name=mysqld -e MYSQL_ROOT_PASSWORD=root --tmpfs /var/lib/mysql:rw --network=host -d mysql --default-authentication-plugin=mysql_native_password --disable-log-bin --innodb-flush-method=O_DIRECT_NO_FSYNC
else
# MySQL 5.7
sudo service mysql start
fi
- uses: actions/checkout@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
// @license https://opensource.org/licenses/mit-license.php MIT License
// +--------------------------------------------------------------------------------------------+ //
////////////////////////////////////////////////////////////////////////////////////////////////////
4.0.6
4.1.0-dev
1 change: 0 additions & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -609,4 +609,3 @@ parameters:
message: "#^Parameter \\#3 \\$options of method Cake\\\\View\\\\View\\:\\:_elementCache\\(\\) expects array\\('cache' \\=\\> array\\('key' \\=\\> string, 'config' \\=\\> string\\)\\|string, \\?'callbacks' \\=\\> mixed, \\?'plugin' \\=\\> mixed\\), array given\\.$#"
count: 1
path: src/View/View.php

7 changes: 6 additions & 1 deletion src/Auth/DigestAuthenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@ public function getUser(ServerRequest $request)
$password = $user[$field];
unset($user[$field]);

$hash = $this->generateResponseHash($digest, $password, (string)$request->getEnv('ORIGINAL_REQUEST_METHOD'));
$requestMethod = $request->getEnv('ORIGINAL_REQUEST_METHOD') ?: $request->getMethod();
$hash = $this->generateResponseHash(
$digest,
$password,
(string)$requestMethod
);
if (hash_equals($hash, $digest['response'])) {
return $user;
}
Expand Down
3 changes: 3 additions & 0 deletions src/Console/ConsoleOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ public function __construct(string $stream = 'php://stdout')
(
function_exists('posix_isatty') &&
!posix_isatty($this->_output)
) ||
(
env('NO_COLOR') !== null
)
) {
$this->_outputAs = self::PLAIN;
Expand Down
86 changes: 0 additions & 86 deletions src/Database/Dialect/MysqlDialectTrait.php

This file was deleted.

195 changes: 0 additions & 195 deletions src/Database/Dialect/PostgresDialectTrait.php

This file was deleted.

0 comments on commit 3d10a7d

Please sign in to comment.