@@ -16,25 +16,25 @@ public function test(): void
16
16
echo $ a / 1 ;
17
17
echo $ a / 0 ; // error: Missing @throws DivisionByZeroError annotation
18
18
echo $ a / (rand (0 , 1 ) === 0 ? 0 : 1 ); // error: Missing @throws DivisionByZeroError annotation
19
- echo $ a / $ b ; // error: Missing @throws ArithmeticError annotation
19
+ echo $ a / $ b ; // error: Missing @throws DivisionByZeroError annotation
20
20
echo (rand (0 , 1 ) === 0 ? 20 : 10 ) / (rand (0 , 1 ) === 0 ? 5 : 10 );
21
21
22
22
echo $ a /= 1 ;
23
23
echo $ a /= 0 ; // error: Missing @throws DivisionByZeroError annotation
24
24
echo $ a /= (rand (0 , 1 ) === 0 ? 0 : 1 ); // error: Missing @throws DivisionByZeroError annotation
25
- echo $ a /= $ b ; // error: Missing @throws ArithmeticError annotation
25
+ echo $ a /= $ b ; // error: Missing @throws DivisionByZeroError annotation
26
26
echo $ a /= (rand (0 , 1 ) === 0 ? 5 : 10 );
27
27
28
28
echo $ a % 1 ;
29
29
echo $ a % 0 ; // error: Missing @throws DivisionByZeroError annotation
30
30
echo $ a % (rand (0 , 1 ) === 0 ? 0 : 1 ); // error: Missing @throws DivisionByZeroError annotation
31
- echo $ a % $ b ; // error: Missing @throws ArithmeticError annotation
31
+ echo $ a % $ b ; // error: Missing @throws DivisionByZeroError annotation
32
32
echo (rand (0 , 1 ) === 0 ? 20 : 10 ) % (rand (0 , 1 ) === 0 ? 5 : 10 );
33
33
34
34
echo $ a %= 1 ;
35
35
echo $ a %= 0 ; // error: Missing @throws DivisionByZeroError annotation
36
36
echo $ a %= (rand (0 , 1 ) === 0 ? 0 : 1 ); // error: Missing @throws DivisionByZeroError annotation
37
- echo $ a %= $ b ; // error: Missing @throws ArithmeticError annotation
37
+ echo $ a %= $ b ; // error: Missing @throws DivisionByZeroError annotation
38
38
echo $ a %= (rand (0 , 1 ) === 0 ? 5 : 10 );
39
39
40
40
echo $ a << 0 ;
0 commit comments