Commit 4827561
authored
Support spread operator in prepared statement parameter expressions (#750)
* Support syntax-error detection with spread-operator values
* more tests
* Update bug-749.php
* fix
* Update SyntaxErrorInPreparedStatementMethodRuleTest.php
* cs
* record
* Use QueryReflection->resolveParameterTypes() everywhere
* Update QueryReflection.php
* fix
* fix
* Update SyntaxErrorInPreparedStatementMethodRule.php
* Update QueryReflection.php
* Update QueryReflection.php
* simplify
* inference with spread
* Update .phpunit-phpstan-dba-mysqli.cache
* record1 parent f48fc62 commit 4827561
File tree
17 files changed
+516
-61
lines changed- src
- Extensions
- QueryReflection
- Rules
- tests
- default/data
- rules
- config
- data
- sqlAst/config
17 files changed
+516
-61
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | 71 | | |
| 72 | + | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 59 | | |
| 60 | + | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | 75 | | |
| 76 | + | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
0 commit comments