forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
139 lines (139 loc) · 8.74 KB
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="MoodleCore">
<rule ref="./phpcs.xml.dist"/>
<exclude-pattern>node_modules/</exclude-pattern>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>admin/tool/ally/vendor/psr/log/</exclude-pattern>
<exclude-pattern>admin/tool/ally/vendorjs/vue.js</exclude-pattern>
<exclude-pattern>admin/tool/ally/vendorjs/vuerouter.js</exclude-pattern>
<exclude-pattern>admin/tool/ally/vendorjs/vuedatatable.js</exclude-pattern>
<exclude-pattern>admin/tool/ally/vendor/</exclude-pattern>
<exclude-pattern>admin/tool/componentlibrary/amd/src/lunr.js</exclude-pattern>
<exclude-pattern>admin/tool/policy/amd/src/jquery-eu-cookie-law-popup.js</exclude-pattern>
<exclude-pattern>auth/cas/CAS/</exclude-pattern>
<exclude-pattern>blocks/configurable_reports/amd/src/codemirror.js</exclude-pattern>
<exclude-pattern>blocks/configurable_reports/amd/src/jquery.dataTables.js</exclude-pattern>
<exclude-pattern>blocks/configurable_reports/amd/src/jquery.tablesorter.js</exclude-pattern>
<exclude-pattern>blocks/configurable_reports/lib/pChart/</exclude-pattern>
<exclude-pattern>blocks/configurable_reports/lib/pChart2/</exclude-pattern>
<exclude-pattern>blocks/panopto/lib/AuthManagement/</exclude-pattern>
<exclude-pattern>blocks/panopto/lib/UserManagement/</exclude-pattern>
<exclude-pattern>blocks/panopto/lib/SessionManagement/</exclude-pattern>
<exclude-pattern>cache/stores/mongodb/MongoDB/</exclude-pattern>
<exclude-pattern>enrol/lti/ims-blti/</exclude-pattern>
<exclude-pattern>filter/algebra/AlgParser.pm</exclude-pattern>
<exclude-pattern>filter/ally/vendor/</exclude-pattern>
<exclude-pattern>filter/ally/vendor/firebase/php-jwt/</exclude-pattern>
<exclude-pattern>filter/tex/mimetex.*</exclude-pattern>
<exclude-pattern>filter/wiris/integration/</exclude-pattern>
<exclude-pattern>filter/wiris/render/</exclude-pattern>
<exclude-pattern>h5p/h5plib/v124/joubel/core/</exclude-pattern>
<exclude-pattern>h5p/h5plib/v124/joubel/editor/</exclude-pattern>
<exclude-pattern>lib/editor/atto/plugins/html/yui/src/codemirror/</exclude-pattern>
<exclude-pattern>lib/editor/atto/plugins/html/yui/src/beautify/</exclude-pattern>
<exclude-pattern>lib/editor/atto/plugins/wiris/core.js</exclude-pattern>
<exclude-pattern>lib/editor/atto/yui/src/rangy/js/*.*</exclude-pattern>
<exclude-pattern>lib/editor/tiny/js/tinymce/</exclude-pattern>
<exclude-pattern>lib/editor/tinymce/plugins/pdw/tinymce/</exclude-pattern>
<exclude-pattern>lib/editor/tinymce/plugins/spellchecker/rpc.php</exclude-pattern>
<exclude-pattern>lib/editor/tinymce/plugins/tiny_mce_wiris/tinymce/editor_plugin.js</exclude-pattern>
<exclude-pattern>lib/editor/tinymce/tiny_mce/</exclude-pattern>
<exclude-pattern>lib/mlbackend/php/phpml/</exclude-pattern>
<exclude-pattern>lib/adodb/</exclude-pattern>
<exclude-pattern>lib/behat/axe/</exclude-pattern>
<exclude-pattern>lib/bennu/</exclude-pattern>
<exclude-pattern>lib/evalmath/</exclude-pattern>
<exclude-pattern>lib/phpspreadsheet/</exclude-pattern>
<exclude-pattern>lib/google/</exclude-pattern>
<exclude-pattern>lib/htmlpurifier/</exclude-pattern>
<exclude-pattern>lib/minify/matthiasmullie-minify/</exclude-pattern>
<exclude-pattern>lib/minify/matthiasmullie-pathconverter/</exclude-pattern>
<exclude-pattern>lib/pear/HTML/Common.php</exclude-pattern>
<exclude-pattern>lib/pear/HTML/QuickForm.php</exclude-pattern>
<exclude-pattern>lib/pear/HTML/QuickForm/</exclude-pattern>
<exclude-pattern>lib/pear/PEAR.php</exclude-pattern>
<exclude-pattern>lib/phpmailer/</exclude-pattern>
<exclude-pattern>lib/simplepie/</exclude-pattern>
<exclude-pattern>lib/tcpdf/</exclude-pattern>
<exclude-pattern>lib/yuilib/</exclude-pattern>
<exclude-pattern>lib/yuilib/gallery/</exclude-pattern>
<exclude-pattern>lib/jquery/</exclude-pattern>
<exclude-pattern>lib/html2text/</exclude-pattern>
<exclude-pattern>lib/markdown/</exclude-pattern>
<exclude-pattern>lib/xhprof/</exclude-pattern>
<exclude-pattern>lib/horde/</exclude-pattern>
<exclude-pattern>lib/requirejs/</exclude-pattern>
<exclude-pattern>lib/amd/src/loglevel.js</exclude-pattern>
<exclude-pattern>lib/mustache/</exclude-pattern>
<exclude-pattern>lib/amd/src/mustache.js</exclude-pattern>
<exclude-pattern>lib/graphlib.php</exclude-pattern>
<exclude-pattern>lib/php-css-parser/</exclude-pattern>
<exclude-pattern>lib/rtlcss/</exclude-pattern>
<exclude-pattern>lib/scssphp/</exclude-pattern>
<exclude-pattern>lib/spout/</exclude-pattern>
<exclude-pattern>lib/amd/src/chartjs-lazy.js</exclude-pattern>
<exclude-pattern>lib/maxmind/GeoIp2/</exclude-pattern>
<exclude-pattern>lib/maxmind/MaxMind/</exclude-pattern>
<exclude-pattern>lib/ltiprovider/</exclude-pattern>
<exclude-pattern>lib/lti1p3/</exclude-pattern>
<exclude-pattern>lib/amd/src/truncate.js</exclude-pattern>
<exclude-pattern>lib/fonts/</exclude-pattern>
<exclude-pattern>lib/amd/src/adapter.js</exclude-pattern>
<exclude-pattern>lib/validateurlsyntax.php</exclude-pattern>
<exclude-pattern>lib/amd/src/popper.js</exclude-pattern>
<exclude-pattern>lib/geopattern-php/</exclude-pattern>
<exclude-pattern>lib/php-jwt/</exclude-pattern>
<exclude-pattern>lib/polyfills/</exclude-pattern>
<exclude-pattern>lib/emoji-data/</exclude-pattern>
<exclude-pattern>lib/plist/</exclude-pattern>
<exclude-pattern>lib/zipstream/</exclude-pattern>
<exclude-pattern>lib/php-enum/</exclude-pattern>
<exclude-pattern>lib/http-message/</exclude-pattern>
<exclude-pattern>lib/phpxmlrpc/</exclude-pattern>
<exclude-pattern>local/adminer/lib/</exclude-pattern>
<exclude-pattern>media/player/videojs/amd/src/video-lazy.js</exclude-pattern>
<exclude-pattern>media/player/videojs/amd/src/Youtube-lazy.js</exclude-pattern>
<exclude-pattern>media/player/videojs/videojs/</exclude-pattern>
<exclude-pattern>media/player/videojs/amd/src/local/ogv/ogv.js</exclude-pattern>
<exclude-pattern>media/player/videojs/ogvjs/</exclude-pattern>
<exclude-pattern>media/player/videojs/amd/src/videojs-ogvjs-lazy.js</exclude-pattern>
<exclude-pattern>mod/assign/feedback/editpdf/fpdi/</exclude-pattern>
<exclude-pattern>mod/attendance/js/qrcode/</exclude-pattern>
<exclude-pattern>mod/board/amd/src/jquery.editable.amd.js</exclude-pattern>
<exclude-pattern>mod/board/amd/src/jquery.sortable.amd.js</exclude-pattern>
<exclude-pattern>mod/flashcard/players/</exclude-pattern>
<exclude-pattern>mod/flashcard/js/ufo/</exclude-pattern>
<exclude-pattern>mod/hvp/library/</exclude-pattern>
<exclude-pattern>mod/hvp/editor/</exclude-pattern>
<exclude-pattern>mod/hvp/reporting/</exclude-pattern>
<exclude-pattern>mod/lightboxgallery/yui/lightbox/</exclude-pattern>
<exclude-pattern>mod/lightboxgallery/assets/</exclude-pattern>
<exclude-pattern>mod/questionnaire/javascript/RGraph/</exclude-pattern>
<exclude-pattern>plagiarism/turnitinsim/vendor/katzgrau/</exclude-pattern>
<exclude-pattern>plagiarism/turnitinsim/vendor/psr/</exclude-pattern>
<exclude-pattern>plagiarism/turnitinsim/vendor/composer/</exclude-pattern>
<exclude-pattern>plagiarism/turnitinsim/vendor/autoload.php</exclude-pattern>
<exclude-pattern>question/type/wq/quizzes/</exclude-pattern>
<exclude-pattern>report/lpmonitoring/amd/src/bootstrap-colorpicker.js</exclude-pattern>
<exclude-pattern>report/lpmonitoring/amd/src/jquery.dataTables.js</exclude-pattern>
<exclude-pattern>repository/s3/S3.php</exclude-pattern>
<exclude-pattern>theme/boost/scss/bootstrap/</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/alert.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/button.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/carousel.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/collapse.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/dropdown.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/modal.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/popover.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/tools/sanitizer.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/scrollspy.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/tab.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/toast.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/tooltip.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/bootstrap/util.js</exclude-pattern>
<exclude-pattern>theme/boost/amd/src/index.js</exclude-pattern>
<exclude-pattern>theme/boost/scss/fontawesome/</exclude-pattern>
<exclude-pattern>theme/snap/amd/src/appear.js</exclude-pattern>
<exclude-pattern>theme/snap/amd/src/headroom.js</exclude-pattern>
<exclude-pattern>theme/snap/amd/src/progressbar.js</exclude-pattern>
</ruleset>