Skip to content

Commit 3661b1f

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 038b4a1 commit 3661b1f

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
@@ -215,6 +215,8 @@ public function testShouldProcessArgCbfonly()
215215
* Verify that in CS mode, phpcs-only <ini> directives are respected and phpcbf-only <ini>
216216
* directives are ignored.
217217
*
218+
* @requires extension bcmath
219+
*
218220
* @return void
219221
*/
220222
public function testShouldProcessIniCsonly()
@@ -234,7 +236,8 @@ public function testShouldProcessIniCsonly()
234236
* Verify that in CBF mode, phpcbf-only <ini> directives are respected and phpcs-only <ini>
235237
* directives are ignored.
236238
*
237-
* @group CBF
239+
* @group CBF
240+
* @requires extension bcmath
238241
*
239242
* @return void
240243
*/

0 commit comments

Comments
 (0)