3 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