Skip to content

Commit

Permalink
Bump all dependencies to current ones
Browse files Browse the repository at this point in the history
Explicit:
- Moodle CS v3.4.8

Implicit:
- None
  • Loading branch information
stronk7 committed Jun 14, 2024
1 parent 3ec6941 commit 0b9fe3a
Show file tree
Hide file tree
Showing 10 changed files with 249 additions and 79 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "GPL-3.0-or-later",
"require": {
"php": ">=7.4",
"moodlehq/moodle-cs": "^v3.4.7",
"moodlehq/moodle-cs": "^v3.4.8",
"phpcompatibility/php-compatibility": "dev-develop#96072c30"
},
"config": {
Expand Down
18 changes: 9 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit557c6dacc8e1efaa1f0ff81060ceddb6::getLoader();
return ComposerAutoloaderInitbd0a96a20590db32325fc04f2993298a::getLoader();
8 changes: 4 additions & 4 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit557c6dacc8e1efaa1f0ff81060ceddb6
class ComposerAutoloaderInitbd0a96a20590db32325fc04f2993298a
{
private static $loader;

Expand All @@ -24,12 +24,12 @@ public static function getLoader()

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInit557c6dacc8e1efaa1f0ff81060ceddb6', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitbd0a96a20590db32325fc04f2993298a', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit557c6dacc8e1efaa1f0ff81060ceddb6', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitbd0a96a20590db32325fc04f2993298a', 'loadClassLoader'));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitbd0a96a20590db32325fc04f2993298a::getInitializer($loader));

$loader->register(true);

Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6
class ComposerStaticInitbd0a96a20590db32325fc04f2993298a
{
public static $prefixLengthsPsr4 = array (
'P' =>
Expand Down Expand Up @@ -72,9 +72,9 @@ class ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitbd0a96a20590db32325fc04f2993298a::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitbd0a96a20590db32325fc04f2993298a::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitbd0a96a20590db32325fc04f2993298a::$classMap;

}, null, ClassLoader::class);
}
Expand Down
18 changes: 9 additions & 9 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,17 @@
},
{
"name": "moodlehq/moodle-cs",
"version": "v3.4.7",
"version_normalized": "3.4.7.0",
"version": "v3.4.8",
"version_normalized": "3.4.8.0",
"source": {
"type": "git",
"url": "https://github.com/moodlehq/moodle-cs.git",
"reference": "4f1bc63551da69675d9f5d17efbf35a458ca3da8"
"reference": "91661a17a23ed17e7ae4276f8c19df789b8882c2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/4f1bc63551da69675d9f5d17efbf35a458ca3da8",
"reference": "4f1bc63551da69675d9f5d17efbf35a458ca3da8",
"url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/91661a17a23ed17e7ae4276f8c19df789b8882c2",
"reference": "91661a17a23ed17e7ae4276f8c19df789b8882c2",
"shasum": ""
},
"require": {
Expand All @@ -116,7 +116,7 @@
"sebastian/phpcpd": "^6.0",
"thor-juhasz/phpunit-coverage-check": "^0.3.0"
},
"time": "2024-05-31T16:28:39+00:00",
"time": "2024-06-14T14:47:25+00:00",
"type": "phpcodesniffer-standard",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -171,8 +171,8 @@
},
"require": {
"php": ">=5.4",
"phpcsstandards/phpcsutils": "^1.0.9",
"squizlabs/php_codesniffer": "^3.9.0"
"phpcsstandards/phpcsutils": "^1.0.12",
"squizlabs/php_codesniffer": "^3.10.0"
},
"replace": {
"wimg/php-compatibility": "*"
Expand All @@ -188,7 +188,7 @@
"suggest": {
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
"time": "2024-04-30T23:24:59+00:00",
"time": "2024-06-07T09:46:11+00:00",
"default-branch": true,
"type": "phpcodesniffer-standard",
"extra": {
Expand Down
10 changes: 5 additions & 5 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'moodlehq/local_codechecker',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '6317d1361ee40d2ebcdc40c36b40cfa9fb3f98a9',
'reference' => '3ec6941b73874fb0bc33ded196e8a5c6fe80be6f',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -22,16 +22,16 @@
'moodlehq/local_codechecker' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '6317d1361ee40d2ebcdc40c36b40cfa9fb3f98a9',
'reference' => '3ec6941b73874fb0bc33ded196e8a5c6fe80be6f',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'moodlehq/moodle-cs' => array(
'pretty_version' => 'v3.4.7',
'version' => '3.4.7.0',
'reference' => '4f1bc63551da69675d9f5d17efbf35a458ca3da8',
'pretty_version' => 'v3.4.8',
'version' => '3.4.8.0',
'reference' => '91661a17a23ed17e7ae4276f8c19df789b8882c2',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../moodlehq/moodle-cs',
'aliases' => array(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ protected function processScopes(File $phpcsFile, int $stackPtr): void {

if ($fileblock === null) {
$objectName = TokenUtil::getObjectName($phpcsFile, $stackPtr);
$phpcsFile->addError('Missing docblock for file %s', $stackPtr, 'Missing', [$objectName]);
$phpcsFile->addError('Missing docblock for file %s', $stackPtr, 'File', [$objectName]);
}
}

Expand All @@ -110,7 +110,7 @@ protected function processScopes(File $phpcsFile, int $stackPtr): void {
$objectName = TokenUtil::getObjectName($phpcsFile, $typePtr);
$objectType = TokenUtil::getObjectType($phpcsFile, $typePtr);

$phpcsFile->addError('Missing docblock for %s %s', $typePtr, 'Missing', [$objectType, $objectName]);
$phpcsFile->addError('Missing docblock for %s %s', $typePtr, ucfirst($objectType), [$objectType, $objectName]);
}

if ($artifactCount === 1) {
Expand Down Expand Up @@ -208,7 +208,7 @@ protected function processFunctions(File $phpcsFile, int $stackPtr): void {
);
}
} else {
$phpcsFile->addError('Missing docblock for %s %s', $typePtr, 'Missing', [$objectType, $objectName]);
$phpcsFile->addError('Missing docblock for %s %s', $typePtr, ucfirst($objectType), [$objectType, $objectName]);
}
}
}
Expand Down Expand Up @@ -255,14 +255,14 @@ protected function processConstants(File $phpcsFile, int $stackPtr): void {
$phpcsFile->addError(
'Missing docblock for constant %s::%s',
$typePtr,
'Missing',
'Constant',
[$containerName, $objectName]
);
} else {
$phpcsFile->addError(
'Missing docblock for constant %s',
$typePtr,
'Missing',
'Constant',
[$objectName]
);
}
Expand Down
Loading

0 comments on commit 0b9fe3a

Please sign in to comment.