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
c23e780c
Unverified
Commit
c23e780c
authored
Aug 24, 2019
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated PHPStan to v0.11.15
parent
54b52aed
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
164 additions
and
109 deletions
+164
-109
composer.lock
composer.lock
+156
-107
ArrayType.php
lib/Doctrine/DBAL/Types/ArrayType.php
+1
-1
ObjectType.php
lib/Doctrine/DBAL/Types/ObjectType.php
+1
-1
phpcs.xml.dist
phpcs.xml.dist
+6
-0
No files found.
composer.lock
View file @
c23e780c
This diff is collapsed.
Click to expand it.
lib/Doctrine/DBAL/Types/ArrayType.php
View file @
c23e780c
...
...
@@ -43,7 +43,7 @@ class ArrayType extends Type
$value
=
is_resource
(
$value
)
?
stream_get_contents
(
$value
)
:
$value
;
set_error_handler
(
function
(
int
$code
,
string
$message
)
:
void
{
set_error_handler
(
function
(
int
$code
,
string
$message
)
:
bool
{
throw
ConversionException
::
conversionFailedUnserialization
(
$this
->
getName
(),
$message
);
});
...
...
lib/Doctrine/DBAL/Types/ObjectType.php
View file @
c23e780c
...
...
@@ -42,7 +42,7 @@ class ObjectType extends Type
$value
=
is_resource
(
$value
)
?
stream_get_contents
(
$value
)
:
$value
;
set_error_handler
(
function
(
int
$code
,
string
$message
)
:
void
{
set_error_handler
(
function
(
int
$code
,
string
$message
)
:
bool
{
throw
ConversionException
::
conversionFailedUnserialization
(
$this
->
getName
(),
$message
);
});
...
...
phpcs.xml.dist
View file @
c23e780c
...
...
@@ -72,4 +72,10 @@
<rule
ref=
"SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedNotEqualOperator"
>
<exclude-pattern>
lib/Doctrine/DBAL/Schema/Comparator.php
</exclude-pattern>
</rule>
<!-- see https://github.com/slevomat/coding-standard/issues/737 -->
<rule
ref=
"SlevomatCodingStandard.TypeHints.TypeHintDeclaration.IncorrectReturnTypeHint"
>
<exclude-pattern>
lib/Doctrine/DBAL/Types/ArrayType.php
</exclude-pattern>
<exclude-pattern>
lib/Doctrine/DBAL/Types/ObjectType.php
</exclude-pattern>
</rule>
</ruleset>
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