Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
8e70ad96
Unverified
Commit
8e70ad96
authored
Nov 27, 2019
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Locked the PHP_CodeSniffer version to 3.5 for better compatibility with PHP 7.4
parent
228b18bd
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
10 deletions
+15
-10
composer.lock
composer.lock
+6
-6
phpcs.xml.dist
phpcs.xml.dist
+6
-0
ResultCacheTest.php
tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
+1
-1
DrizzleSchemaManagerTest.php
...Tests/DBAL/Functional/Schema/DrizzleSchemaManagerTest.php
+1
-1
MySqlSchemaManagerTest.php
...e/Tests/DBAL/Functional/Schema/MySqlSchemaManagerTest.php
+1
-1
SQLServer2012PlatformTest.php
...ctrine/Tests/DBAL/Platforms/SQLServer2012PlatformTest.php
+0
-1
No files found.
composer.lock
View file @
8e70ad96
...
...
@@ -2621,16 +2621,16 @@
},
{
"name": "squizlabs/php_codesniffer",
"version": "3.
4.0
",
"version": "3.
5.3
",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
"reference": "
379deb987e26c7cd103a7b387aea178baec96e48
"
"reference": "
557a1fc7ac702c66b0bbfe16ab3d55839ef724cb
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/
379deb987e26c7cd103a7b387aea178baec96e48
",
"reference": "
379deb987e26c7cd103a7b387aea178baec96e48
",
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/
557a1fc7ac702c66b0bbfe16ab3d55839ef724cb
",
"reference": "
557a1fc7ac702c66b0bbfe16ab3d55839ef724cb
",
"shasum": ""
},
"require": {
...
...
@@ -2663,12 +2663,12 @@
}
],
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
"homepage": "http
://www.squizlabs.com/php-codes
niffer",
"homepage": "http
s://github.com/squizlabs/PHP_CodeS
niffer",
"keywords": [
"phpcs",
"standards"
],
"time": "201
8-12-19T23:57:18
+00:00"
"time": "201
9-12-04T04:46:47
+00:00"
},
{
"name": "symfony/console",
...
...
phpcs.xml.dist
View file @
8e70ad96
...
...
@@ -79,4 +79,10 @@
<exclude-pattern>
lib/Doctrine/DBAL/Types/ObjectType.php
</exclude-pattern>
<exclude-pattern>
tests/Doctrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
</exclude-pattern>
</rule>
<!-- The SQLSRV_* functions are defined in the upper case by the sqlsrv extension and violate the standard
see https://docs.microsoft.com/en-us/sql/connect/php/constants-microsoft-drivers-for-php-for-sql-server -->
<rule
ref=
"Squiz.PHP.LowercasePHPFunctions.UseStatementUppercase"
>
<exclude-pattern>
lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php
</exclude-pattern>
</rule>
</ruleset>
tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
View file @
8e70ad96
...
...
@@ -43,7 +43,7 @@ class ResultCacheTest extends DbalFunctionalTestCase
$this
->
connection
->
insert
(
'caching'
,
$row
);
}
$config
=
$this
->
connection
->
getConfiguration
();
$config
=
$this
->
connection
->
getConfiguration
();
$config
->
setSQLLogger
(
$this
->
sqlLogger
=
new
DebugStack
());
$cache
=
new
ArrayCache
();
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/DrizzleSchemaManagerTest.php
View file @
8e70ad96
...
...
@@ -30,7 +30,7 @@ class DrizzleSchemaManagerTest extends SchemaManagerFunctionalTestCase
public
function
testColumnCollation
()
:
void
{
$table
=
new
Table
(
'test_collation'
);
$table
=
new
Table
(
'test_collation'
);
$table
->
addOption
(
'collate'
,
$collation
=
'utf8_unicode_ci'
);
$table
->
addColumn
(
'id'
,
'integer'
);
$table
->
addColumn
(
'text'
,
'text'
);
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/MySqlSchemaManagerTest.php
View file @
8e70ad96
...
...
@@ -269,7 +269,7 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
public
function
testColumnCollation
()
:
void
{
$table
=
new
Table
(
'test_collation'
);
$table
=
new
Table
(
'test_collation'
);
$table
->
addOption
(
'collate'
,
$collation
=
'latin1_swedish_ci'
);
$table
->
addOption
(
'charset'
,
'latin1'
);
$table
->
addColumn
(
'id'
,
'integer'
);
...
...
tests/Doctrine/Tests/DBAL/Platforms/SQLServer2012PlatformTest.php
View file @
8e70ad96
...
...
@@ -170,7 +170,6 @@ class SQLServer2012PlatformTest extends AbstractSQLServerPlatformTestCase
);
self
::
assertEquals
(
'SELECT '
.
'u.id, '
.
'(u.foo/2) foodiv, '
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment