Skip to content

Commit c6c632f

Browse files
committed
Declare dependency on bcmath extension
These tests fail if the 'bcmath' PHP extension is not loaded. Elsewhere, we use this syntax to skip tests which depend on the 'bcmath' extension.
1 parent caf8060 commit c6c632f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/Core/Ruleset/ProcessRulesetShouldProcessElementTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ public function testShouldProcessArgCbfonly()
209209
* Verify that in CS mode, phpcs-only <ini> directives are respected and phpcbf-only <ini>
210210
* directives are ignored.
211211
*
212+
* @requires extension bcmath
213+
*
212214
* @return void
213215
*/
214216
public function testShouldProcessIniCsonly()
@@ -228,7 +230,8 @@ public function testShouldProcessIniCsonly()
228230
* Verify that in CBF mode, phpcbf-only <ini> directives are respected and phpcs-only <ini>
229231
* directives are ignored.
230232
*
231-
* @group CBF
233+
* @group CBF
234+
* @requires extension bcmath
232235
*
233236
* @return void
234237
*/

0 commit comments

Comments
 (0)