9 Commits

Author SHA1 Message Date
Marco Borgeaud
6550e65756
Diff blocks: fix some incorrect use for php (#2804)
Improvement identified in #2790.

Add a prefix to the diff-id when it is used multiple times in different
"how to fix it in XYZ" sections to avoid ambiguity and pedantically
follow the spec:

> A single and unique diff-id should be used only once for each type of
code example as shown in the description of a rule.

Obvious typos around `diff-type` were fixed.
2023-08-10 15:57:24 +02:00
Ilia Kebets
c80d7f3b4c
Add checks for education format (#1607) 2023-03-07 17:16:47 +01:00
Egon Okerman
18e9a4a7e4 [APPSEC-292] Modify rule S6287 (PHP): Change text to the education framework format (#1425)
* Add PHP files

* Add Symfony

* Add Laravel

* Add Core PHP

* Fix Laravel example

* Update Core PHP to use a function

* Fix Symfony imports

* Remove "taintable data" from common explanation
2023-03-02 19:03:03 +01:00
pedro-oliveira-sonarsource
162c3285fd [APPSEC-116] Modify rule S6287: Educational content (#1216) 2023-03-02 18:22:24 +01:00
Fred Tingaud
b4161466e6
RULEAPI-661: Add syntax coloring 2022-02-04 16:28:24 +00:00
hendrik-buchwald-sonarsource
faba98c05a
Use example without tainted key (#478) 2021-10-12 14:53:05 +02:00
hendrik-buchwald-sonarsource
a60040f016
Modify rule S6287: Add code samples (#336) 2021-10-07 13:41:08 +02:00
Arseniy Zaostrovnykh
f7904cebe7
RULEAPI-666: Migrate the "List of parameters", "Highlighting" and "Message" fields from jira RSPEC (#346) 2021-09-20 13:38:42 +00:00
sonartech
bc226d6049 Nightly update 2021-05-29 01:19:26 +00:00