Skip to content

Commit

Permalink
Merge pull request #16 from AAU-P5-Moodle/15-codebase-added-codesniff…
Browse files Browse the repository at this point in the history
…er-in-composer-for-correct-code-formatting

Added codesniffer in composer.json
  • Loading branch information
AllanVester authored Oct 30, 2024
2 parents 946a4b1 + 08c9c9d commit bfec5b1
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions server/moodle/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"name": "moodle/moodle",
"license": "GPL-3.0-or-later",
"description": "Moodle - the world's open source learning platform",
"type": "project",
"homepage": "https://moodle.org",
"require-dev": {
"phpunit/phpunit": "^9.6.18",
"mikey179/vfsstream": "1.6.*",
"behat/mink": "^1.11.0",
"friends-of-behat/mink-extension": "^2.7.5",
"behat/mink-browserkit-driver": "^2.2.0",
"symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/http-client": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/mime": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"behat/behat": "3.14.*",
"oleg-andreyev/mink-phpwebdriver": "1.3.*",
"filp/whoops": "^2.15",
"squizlabs/php_codesniffer": "@stable",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"moodlehq/moodle-cs": "@dev"
},
"autoload-dev": {
"psr-0": {
"Moodle\\BehatExtension": "lib/behat/extension/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.1.0",
"ext-iconv": "*",
"ext-mbstring": "*",
"ext-curl": "*",
"ext-openssl": "*",
"ext-ctype": "*",
"ext-zip": "*",
"ext-zlib": "*",
"ext-gd": "*",
"ext-simplexml": "*",
"ext-spl": "*",
"ext-pcre": "*",
"ext-dom": "*",
"ext-xml": "*",
"ext-xmlreader": "*",
"ext-intl": "*",
"ext-json": "*",
"ext-hash": "*",
"ext-fileinfo": "*",
"ext-sodium": "*"
},
"suggest": {
"ext-mysqli": "Needed when Moodle uses MySQL or MariaDB database.",
"ext-pgsql": "Needed when Moodle uses PostgreSQL database.",
"ext-sqlsrv": "Needed when Moodle uses MS SQL Server database.",
"ext-oci8": "Needed when Moodle uses Oracle database.",
"ext-tokenizer": "Enabling Tokenizer PHP extension is recommended, it improves Moodle Networking functionality.",
"ext-soap": "Enabling SOAP PHP extension is useful for web services and some plugins.",
"ext-exif": "Enabling Exif PHP extension is recommended, it is used by Moodle to parse image meta data."
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}

0 comments on commit bfec5b1

Please sign in to comment.