You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ceebfbf
Browse filesBrowse the repository at this point in the historyBrowse files
message = 'Argument type mismatch for argument #1 of `PhpDb\Sql\Delete::where`: expected `(closure(...mixed): mixed)|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\Where|array<array-key, PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\SqlInterface|list<bool|float|int|null|string>|null|scalar>|string`, but provided type `array<array-key, mixed>` is less specific.'
1513
+
count = 1
1514
+
1515
+
[[issues]]
1516
+
file = "src/RowGateway/AbstractRowGateway.php"
1517
+
code = "less-specific-nested-argument-type"
1518
+
message = 'Argument type mismatch for argument #1 of `PhpDb\Sql\Select::where`: expected `(closure(...mixed): mixed)|PhpDb\Sql\Predicate\PredicateInterface|array<array-key, PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\SqlInterface|list<bool|float|int|null|string>|null|scalar>|string`, but provided type `array<array-key, mixed>` is less specific.'
1519
+
count = 1
1520
+
1521
+
[[issues]]
1522
+
file = "src/RowGateway/AbstractRowGateway.php"
1523
+
code = "less-specific-nested-argument-type"
1524
+
message = 'Argument type mismatch for argument #1 of `PhpDb\Sql\Update::where`: expected `(closure(...mixed): mixed)|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\Where|array<array-key, PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\SqlInterface|list<bool|float|int|null|string>|null|scalar>|string`, but provided type `array<array-key, mixed>` is less specific.'
message = 'Class `PhpDb\Sql\Predicate\Exception\RuntimeException` should be declared `final`.'
2611
-
count = 1
2612
-
2613
-
[[issues]]
2614
-
file = "src/Sql/Predicate/Expression.php"
2615
-
code = "class-must-be-final"
2616
-
message = 'Class `PhpDb\Sql\Predicate\Expression` should be declared `final`.'
2617
-
count = 1
2618
-
2619
-
[[issues]]
2620
-
file = "src/Sql/Predicate/IsNotNull.php"
2621
-
code = "class-must-be-final"
2622
-
message = 'Class `PhpDb\Sql\Predicate\IsNotNull` should be declared `final`.'
2623
-
count = 1
2624
-
2625
-
[[issues]]
2626
-
file = "src/Sql/Predicate/Literal.php"
2627
-
code = "class-must-be-final"
2628
-
message = 'Class `PhpDb\Sql\Predicate\Literal` should be declared `final`.'
2629
-
count = 1
2630
-
2631
-
[[issues]]
2632
-
file = "src/Sql/Predicate/NotBetween.php"
2633
-
code = "class-must-be-final"
2634
-
message = 'Class `PhpDb\Sql\Predicate\NotBetween` should be declared `final`.'
2635
-
count = 1
2636
-
2637
-
[[issues]]
2638
-
file = "src/Sql/Predicate/NotIn.php"
2639
-
code = "class-must-be-final"
2640
-
message = 'Class `PhpDb\Sql\Predicate\NotIn` should be declared `final`.'
2641
-
count = 1
2642
-
2643
-
[[issues]]
2644
-
file = "src/Sql/Predicate/NotLike.php"
2645
-
code = "class-must-be-final"
2646
-
message = 'Class `PhpDb\Sql\Predicate\NotLike` should be declared `final`.'
2647
-
count = 1
2648
-
2649
-
[[issues]]
2650
-
file = "src/Sql/Predicate/Operator.php"
2651
-
code = "class-must-be-final"
2652
-
message = 'Class `PhpDb\Sql\Predicate\Operator` should be declared `final`.'
2653
-
count = 1
2654
-
2655
-
[[issues]]
2656
-
file = "src/Sql/Predicate/Predicate.php"
2657
-
code = "impossible-condition"
2658
-
message = "This condition (type `false`) will always evaluate to false."
2659
-
count = 1
2660
-
2661
-
[[issues]]
2662
-
file = "src/Sql/Predicate/Predicate.php"
2663
-
code = "imprecise-type"
2664
-
message = "Type `array` in parameter `$parameters` is imprecise, equivalent to `array<array-key, mixed>`."
2665
-
count = 1
2666
-
2667
-
[[issues]]
2668
-
file = "src/Sql/Predicate/Predicate.php"
2669
-
code = "imprecise-type"
2670
-
message = "Type `array` in parameter `$valueSet` is imprecise, equivalent to `array<array-key, mixed>`."
2671
-
count = 2
2672
-
2673
-
[[issues]]
2674
-
file = "src/Sql/Predicate/Predicate.php"
2675
-
code = "invalid-property-assignment-value"
2676
-
message = 'Invalid type for property `$unnest`: expected `PhpDb\Sql\Predicate\Predicate`, but got `PhpDb\Sql\Predicate\Predicate|null`.'
2677
-
count = 1
2678
-
2679
-
[[issues]]
2680
-
file = "src/Sql/Predicate/Predicate.php"
2681
-
code = "invalid-property-assignment-value"
2682
-
message = 'Invalid type for property `$unnest`: expected `PhpDb\Sql\Predicate\Predicate`, but got `null`.'
2683
-
count = 1
2684
-
2685
-
[[issues]]
2686
-
file = "src/Sql/Predicate/Predicate.php"
2687
-
code = "less-specific-nested-argument-type"
2688
-
message = 'Argument type mismatch for argument #2 of `PhpDb\Sql\Expression::__construct`: expected `PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|array<array-key, PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|list<bool|float|int|null|string>|null|scalar>|list<bool|float|int|null|string>|null|scalar`, but provided type `PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|float|int|non-empty-array<array-key, mixed>|null|string` is less specific.'
2689
-
count = 1
2690
-
2691
-
[[issues]]
2692
-
file = "src/Sql/Predicate/Predicate.php"
2693
-
code = "possibly-invalid-argument"
2694
-
message = 'Possible argument type mismatch for argument #2 of `PhpDb\Sql\Predicate\In::__construct`: expected `PhpDb\Sql\ArgumentInterface|PhpDb\Sql\Select|list<bool|float|int|null|string>|null`, but possibly received `PhpDb\Sql\ArgumentInterface|array<array-key, mixed>`.'
2695
-
count = 2
2696
-
2697
-
[[issues]]
2698
-
file = "src/Sql/Predicate/PredicateInterface.php"
2699
-
code = "missing-api-or-internal"
2700
-
message = 'Interface `PhpDb\Sql\Predicate\PredicateInterface` is missing an `@api` or `@internal` annotation.'
2701
-
count = 1
2702
-
2703
-
[[issues]]
2704
-
file = "src/Sql/Predicate/PredicateSet.php"
2705
-
code = "mixed-argument"
2706
-
message = 'Invalid argument type for argument #1 of `PhpDb\Sql\Expression::__construct`: expected `string`, but found `mixed`.'
2707
-
count = 1
2708
-
2709
-
[[issues]]
2710
-
file = "src/Sql/Predicate/PredicateSet.php"
2711
-
code = "mixed-argument"
2712
-
message = 'Invalid argument type for argument #1 of `PhpDb\Sql\Literal::__construct`: expected `string`, but found `mixed`.'
2713
-
count = 1
2714
-
2715
-
[[issues]]
2716
-
file = "src/Sql/Predicate/PredicateSet.php"
2717
-
code = "mixed-argument"
2718
-
message = "Invalid argument type for argument #1 of `str_contains`: expected `string`, but found `mixed`."
2719
-
count = 1
2720
-
2721
-
[[issues]]
2722
-
file = "src/Sql/Predicate/PredicateSet.php"
2723
-
code = "mixed-argument"
2724
-
message = 'Invalid argument type for argument #2 of `PhpDb\Sql\Expression::__construct`: expected `PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|array<array-key, PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|list<bool|float|int|null|string>|null|scalar>|list<bool|float|int|null|string>|null|scalar`, but found `mixed`.'
2725
-
count = 1
2726
-
2727
-
[[issues]]
2728
-
file = "src/Sql/Predicate/PredicateSet.php"
2729
-
code = "mixed-argument"
2730
-
message = 'Invalid argument type for argument #3 of `PhpDb\Sql\Predicate\Operator::__construct`: expected `PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|PhpDb\Sql\SqlInterface|null|scalar`, but found `nonnull`.'
2731
-
count = 1
2732
-
2733
-
[[issues]]
2734
-
file = "src/Sql/Predicate/PredicateSet.php"
2735
-
code = "mixed-assignment"
2736
-
message = "Assigning `mixed` type to a variable may lead to unexpected behavior."
2737
-
count = 1
2738
-
2739
-
[[issues]]
2740
-
file = "src/Sql/Predicate/PredicateSet.php"
2741
-
code = "possible-method-access-on-null"
2742
-
message = "Attempting to call a method on `null`."
2743
-
count = 1
2744
-
2745
-
[[issues]]
2746
-
file = "src/Sql/Predicate/PredicateSet.php"
2747
-
code = "possibly-invalid-argument"
2748
-
message = 'Possible argument type mismatch for argument #1 of `PhpDb\Sql\Predicate\PredicateSet::addPredicate`: expected `PhpDb\Sql\Predicate\PredicateInterface`, but possibly received `PhpDb\Sql\Expression|PhpDb\Sql\Predicate\Expression|PhpDb\Sql\Predicate\In|PhpDb\Sql\Predicate\IsNull|PhpDb\Sql\Predicate\Literal|PhpDb\Sql\Predicate\Operator|PhpDb\Sql\Predicate\PredicateInterface`.'
2749
-
count = 1
2750
-
2751
-
[[issues]]
2752
-
file = "src/Sql/Predicate/PredicateSet.php"
2753
-
code = "possibly-invalid-argument"
2754
-
message = 'Possible argument type mismatch for argument #2 of `PhpDb\Sql\Predicate\In::__construct`: expected `PhpDb\Sql\ArgumentInterface|PhpDb\Sql\Select|list<bool|float|int|null|string>|null`, but possibly received `array<array-key, mixed>`.'
2755
-
count = 1
2756
-
2757
-
[[issues]]
2758
-
file = "src/Sql/Predicate/PredicateSet.php"
2759
-
code = "possibly-null-destructuring-source"
2760
-
message = 'Destructuring a possibly null value of type `array{0: string, 1: PhpDb\Sql\Predicate\PredicateInterface}|null`.'
2761
-
count = 1
2762
-
2763
-
[[issues]]
2764
-
file = "src/Sql/Predicate/PredicateSet.php"
2765
-
code = "possibly-undefined-int-array-index"
2766
-
message = 'Possibly undefined array index accessed on `list<array{0: string, 1: PhpDb\Sql\Predicate\PredicateInterface}>`.'
message = 'Argument type mismatch for argument #1 of `PhpDb\ResultSet\ResultSetInterface::initialize`: expected `iterable<array-key, mixed>`, but provided type `PhpDb\Adapter\Driver\ResultInterface|null` is less specific.'
message = 'Argument type mismatch for argument #1 of `PhpDb\Sql\Delete::where`: expected `(closure(...mixed): mixed)|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\Where|array<array-key, PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\SqlInterface|list<bool|float|int|null|string>|null|scalar>|string`, but provided type `PhpDb\Sql\Where|array<array-key, mixed>|string` is less specific.'
message = 'Argument type mismatch for argument #1 of `PhpDb\Sql\Select::columns`: expected `array<array-key, PhpDb\Sql\ExpressionInterface|string>`, but provided type `non-empty-array<array-key, mixed>` is less specific.'
message = 'Argument type mismatch for argument #1 of `PhpDb\Sql\Select::where`: expected `(closure(...mixed): mixed)|PhpDb\Sql\Predicate\PredicateInterface|array<array-key, PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\SqlInterface|list<bool|float|int|null|string>|null|scalar>|string`, but provided type `PhpDb\Sql\Where|array<array-key, mixed>|string` is less specific.'
message = 'Argument type mismatch for argument #1 of `PhpDb\Sql\Update::where`: expected `(closure(...mixed): mixed)|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\Where|array<array-key, PhpDb\Sql\ArgumentInterface|PhpDb\Sql\ExpressionInterface|PhpDb\Sql\Predicate\PredicateInterface|PhpDb\Sql\SqlInterface|list<bool|float|int|null|string>|null|scalar>|string`, but provided type `(closure(...mixed=): mixed)|PhpDb\Sql\Where|array<array-key, mixed>|string` is less specific.'
0 commit comments