Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
Koodiblokin korjaus
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Nov 4, 2019
1 parent 8a1f6d2 commit 84bebc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pages/koodausstandardit.md
Expand Up @@ -28,7 +28,7 @@ Koodin tulee olla selkeää ja dokumentoitua. Indentaatiossa käytämme 2 me

PHP-puolella tulee aina noudattaa phpcs.xml:ää. Jos tarvitsee ignorata sääntöjä, lisätään ne projektikohtaisesti kunkin projektin teemakansion alla olevaan phpcs.xml:ään tai seuraavasti koodiin:

<pre class="language-php"><code><?php // phpcs:disable ?></code></pre>
<pre class="language-php"><code>&lt;?php // phpcs:disable ?&gt;</code></pre>

Jos taas ignorettavaa on SCSS-puolella, lisää seuraava ignorettavaa riviä ennen:

Expand Down

0 comments on commit 84bebc7

Please sign in to comment.