Skip to content

Commit

Permalink
corectly disable sniff for one file
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed May 14, 2018
1 parent a390de9 commit ced9623
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/plugins/styling/popup.php
@@ -1,6 +1,5 @@
<?php
// FIXME the following skip rule seems not to work - https://github.com/squizlabs/PHP_CodeSniffer/issues/2015
// phpcs:disable PSR1.Files.SideEffects.FoundWithSymbols
// phpcs:disable PSR1.Files.SideEffects
if (!defined('DOKU_INC')) define('DOKU_INC', dirname(__FILE__) . '/../../../');
require_once(DOKU_INC . 'inc/init.php');
//close session
Expand Down

0 comments on commit ced9623

Please sign in to comment.