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
c77dd80b
Commit
c77dd80b
authored
Jan 20, 2020
by
Benjamin Morel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix phpstan error
parent
c950aab1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
QueryBuilder.php
lib/Doctrine/DBAL/Query/QueryBuilder.php
+1
-1
phpstan.neon.dist
phpstan.neon.dist
+0
-3
No files found.
lib/Doctrine/DBAL/Query/QueryBuilder.php
View file @
c77dd80b
...
...
@@ -1298,8 +1298,8 @@ class QueryBuilder
$sql
=
''
;
if
(
isset
(
$this
->
sqlParts
[
'join'
][
$fromAlias
]))
{
/** @var Join $join */
foreach
(
$this
->
sqlParts
[
'join'
][
$fromAlias
]
as
$join
)
{
/** @var Join $join */
if
(
array_key_exists
(
$join
->
alias
,
$knownAliases
))
{
throw
NonUniqueAlias
::
new
(
$join
->
alias
,
array_keys
(
$knownAliases
));
}
...
...
phpstan.neon.dist
View file @
c77dd80b
...
...
@@ -16,9 +16,6 @@ parameters:
# https://bugs.php.net/bug.php?id=78126
- '~^Call to an undefined method PDO::sqliteCreateFunction\(\)\.\z~'
# https://github.com/phpstan/phpstan/issues/2857
- '~^Parameter #2 \$registeredAliases of static method Doctrine\\DBAL\\Query\\Exception\\NonUniqueAlias::new\(\) expects array<string>, array<int, int\|string> given\.\z~'
# legacy remnants from doctrine/common
- '~^Class Doctrine\\Common\\(Collections\\Collection|Persistence\\Proxy) not found\.\z~'
- '~^.+ on an unknown class Doctrine\\Common\\(Collections\\Collection|Persistence\\Proxy)\.\z~'
...
...
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