Skip to content

Commit 9b716e4

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 9b716e4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/Core/Ruleset/ProcessRulesetShouldProcessElementTest.php

Lines changed: 3 additions & 0 deletions
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()
@@ -229,6 +231,7 @@ public function testShouldProcessIniCsonly()
229231
* directives are ignored.
230232
*
231233
* @group CBF
234+
* @requires extension bcmath
232235
*
233236
* @return void
234237
*/

0 commit comments

Comments
 (0)