-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
232c351
commit 1e03f00
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
16 changes: 15 additions & 1 deletion
16
...main/resources/nl/ramsolutions/sw/sonar/l10n/magik/rules/FileWithoutPackageStatement.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
<p>File should have at least one <pre>_package</pre>-statement. This ensures the code is loaded into the correct package.</p> | ||
<p>File should have at least one <code>_package</code>-statement. This ensures the code is loaded into the correct package.</p> | ||
<h2>Noncompliant Code Example</h2> | ||
<pre> | ||
_block | ||
write(a) | ||
_endblock | ||
</pre> | ||
<h2>Compliant Solution</h2> | ||
<pre> | ||
_package user | ||
|
||
_block | ||
write(a) | ||
_endblock | ||
</pre> |