Skip to content

Commit 2e58231

Browse files
committed
Fix tests for remote_branch_checker after swichting to PSR-12 code styling
As MDLSITE-7597 has now landed and the code style regarding the wrapping of lines is now following the PSR-12 approach we need to adjust some tests. Signed-off-by: Daniel Ziegenberg <[email protected]>
1 parent c1677c0 commit 2e58231

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/fixtures/remote_branch_checker/local_ci_fixture_phpcs_aware_components.regex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# that match the most relevant aspects of the test being executed
33
# and its smurf.xml results.
44

5-
<detail name="phpcs" status="error" numerrors="2" numwarnings="1"/>
5+
<detail name="phpcs" status="error" numerrors="3" numwarnings="1"/>
66
<description>This section shows the coding style problems detected in the code by phpcs</description>
77
<problem file="mod/glossary/tests/lib_test.php"
88
PHPUnit class namespace "mod_wrong" does not match expected file namespace "mod_glossary"

tests/fixtures/remote_branch_checker/local_ci_fixture_upgrade_external_backup_skipped_for_plugins.regex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# and its smurf.xml results.
44

55
# Just verify that there isn't any externalbackup section in the report
6-
condensedresult="smurf,success,0,0:overview,success,0,0;phplint,success,0,0;phpcs,success,0,0;js,success,0,0;css,success,0,0;phpdoc,success,0,0;savepoint,success,0,0;thirdparty,success,0,0;grunt,success,0,0;shifter,success,0,0;mustache,success,0,0;gherkin,success,0,0"
6+
condensedresult="smurf,error,1,0:overview,success,0,0;phplint,success,0,0;phpcs,error,1,0;js,success,0,0;css,success,0,0;phpdoc,success,0,0;savepoint,success,0,0;thirdparty,success,0,0;grunt,success,0,0;shifter,success,0,0;mustache,success,0,0;gherkin,success,0,0"

0 commit comments

Comments
 (0)