Skip to content

Commit

Permalink
Merge pull request #239 from stronk7/bump_moodle_cs_347
Browse files Browse the repository at this point in the history
Bump all dependencies to current ones
  • Loading branch information
stronk7 authored May 31, 2024
2 parents 6317d13 + d1e1331 commit 2d0cb38
Show file tree
Hide file tree
Showing 275 changed files with 13,198 additions and 1,764 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"license": "GPL-3.0-or-later",
"require": {
"php": ">=7.4",
"moodlehq/moodle-cs": "^v3.4.6",
"phpcompatibility/php-compatibility": "dev-develop#e5cd2e24"
"moodlehq/moodle-cs": "^v3.4.7",
"phpcompatibility/php-compatibility": "dev-develop#96072c30"
},
"config": {
"platform": {
Expand Down
46 changes: 23 additions & 23 deletions composer.lock

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

9 changes: 3 additions & 6 deletions readme_moodle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@ To update any component:
3. Switch to the lowest PHP version supported by the Moodle version required.
4. Run `composer install` (to install everything).a
5. Update `thirdpartylibs.xml` to annotate the new versions of the tools.
6. Remove `vendor/moodlehq/moodle-cs/moodle/Tests`. Note that this step
will be removed once https://github.com/moodlehq/moodle-cs/pull/69
is released and we update to that version.
7. Commit changes with details about the tools updated.
8. Test, test, test.
9. Optionally, release.
6. Commit changes with details about the tools updated.
7. Test, test, test.
8. Optionally, release.

At some point we may want to make the process above automated, so every time
that a new moodle-cs package is released, everything above (1-8) happens automatically.
Expand Down
8 changes: 4 additions & 4 deletions thirdpartylibs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<library>
<location>vendor/squizlabs/php_codesniffer</location>
<name>PHP_CodeSniffer</name>
<version>3.9.1</version>
<version>3.10.1</version>
<license>BSD</license>
<licenseversion>3-Clause</licenseversion>
</library>
<library>
<location>vendor/phpcompatibility/php-compatibility</location>
<name>PHP Compatibility Coding Standard</name>
<version>10.0dev (e5cd2e24)</version>
<version>10.0dev (96072c30)</version>
<license>LGPL</license>
<licenseversion>3</licenseversion>
</library>
Expand All @@ -24,14 +24,14 @@
<library>
<location>vendor/phpcsstandards/phpcsutils</location>
<name>A suite of utility functions for use with PHP_CodeSniffer</name>
<version>1.0.10</version>
<version>1.0.12</version>
<license>LGPL</license>
<licenseversion>3</licenseversion>
</library>
<library>
<location>vendor/moodlehq/moodle-cs</location>
<name>Moodle Coding Style</name>
<version>v3.4.6</version>
<version>v3.4.7</version>
<license>GPL</license>
<licenseversion>3</licenseversion>
</library>
Expand Down
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 ComposerAutoloaderInita04f685b76dc383abef9d8fd22fb316f::getLoader();
return ComposerAutoloaderInit557c6dacc8e1efaa1f0ff81060ceddb6::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 ComposerAutoloaderInita04f685b76dc383abef9d8fd22fb316f
class ComposerAutoloaderInit557c6dacc8e1efaa1f0ff81060ceddb6
{
private static $loader;

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

require __DIR__ . '/platform_check.php';

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

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInita04f685b76dc383abef9d8fd22fb316f::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6::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 ComposerStaticInita04f685b76dc383abef9d8fd22fb316f
class ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6
{
public static $prefixLengthsPsr4 = array (
'P' =>
Expand Down Expand Up @@ -72,9 +72,9 @@ class ComposerStaticInita04f685b76dc383abef9d8fd22fb316f
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInita04f685b76dc383abef9d8fd22fb316f::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInita04f685b76dc383abef9d8fd22fb316f::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInita04f685b76dc383abef9d8fd22fb316f::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit557c6dacc8e1efaa1f0ff81060ceddb6::$classMap;

}, null, ClassLoader::class);
}
Expand Down
50 changes: 25 additions & 25 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,26 +83,26 @@
},
{
"name": "moodlehq/moodle-cs",
"version": "v3.4.6",
"version_normalized": "3.4.6.0",
"version": "v3.4.7",
"version_normalized": "3.4.7.0",
"source": {
"type": "git",
"url": "https://github.com/moodlehq/moodle-cs.git",
"reference": "02a279ecbd9431172e8eeee5385d4f6ec57c957b"
"reference": "4f1bc63551da69675d9f5d17efbf35a458ca3da8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/02a279ecbd9431172e8eeee5385d4f6ec57c957b",
"reference": "02a279ecbd9431172e8eeee5385d4f6ec57c957b",
"url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/4f1bc63551da69675d9f5d17efbf35a458ca3da8",
"reference": "4f1bc63551da69675d9f5d17efbf35a458ca3da8",
"shasum": ""
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"ext-json": "*",
"php": ">=7.4.0",
"phpcompatibility/php-compatibility": "dev-develop#e5cd2e24",
"phpcompatibility/php-compatibility": "dev-develop#96072c30",
"phpcsstandards/phpcsextra": "^1.2.1",
"squizlabs/php_codesniffer": "^3.9.0"
"squizlabs/php_codesniffer": "^3.10.1"
},
"replace": {
"moodlehq/moodle-local_codechecker": "3.1.0"
Expand All @@ -116,7 +116,7 @@
"sebastian/phpcpd": "^6.0",
"thor-juhasz/phpunit-coverage-check": "^0.3.0"
},
"time": "2024-04-03T07:22:20+00:00",
"time": "2024-05-31T16:28:39+00:00",
"type": "phpcodesniffer-standard",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -161,12 +161,12 @@
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
"reference": "e5cd2e24"
"reference": "96072c30"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/e5cd2e24",
"reference": "e5cd2e24",
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/96072c30",
"reference": "96072c30",
"shasum": ""
},
"require": {
Expand All @@ -188,7 +188,7 @@
"suggest": {
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
"time": "2024-04-08T09:51:59+00:00",
"time": "2024-04-30T23:24:59+00:00",
"default-branch": true,
"type": "phpcodesniffer-standard",
"extra": {
Expand Down Expand Up @@ -330,23 +330,23 @@
},
{
"name": "phpcsstandards/phpcsutils",
"version": "1.0.10",
"version_normalized": "1.0.10.0",
"version": "1.0.12",
"version_normalized": "1.0.12.0",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
"reference": "51609a5b89f928e0c463d6df80eb38eff1eaf544"
"reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/51609a5b89f928e0c463d6df80eb38eff1eaf544",
"reference": "51609a5b89f928e0c463d6df80eb38eff1eaf544",
"url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/87b233b00daf83fb70f40c9a28692be017ea7c6c",
"reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c",
"shasum": ""
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
"php": ">=5.4",
"squizlabs/php_codesniffer": "^3.9.0 || 4.0.x-dev@dev"
"squizlabs/php_codesniffer": "^3.10.0 || 4.0.x-dev@dev"
},
"require-dev": {
"ext-filter": "*",
Expand All @@ -355,7 +355,7 @@
"phpcsstandards/phpcsdevcs": "^1.1.6",
"yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0"
},
"time": "2024-03-17T23:44:50+00:00",
"time": "2024-05-20T13:34:27+00:00",
"type": "phpcodesniffer-standard",
"extra": {
"branch-alias": {
Expand Down Expand Up @@ -421,17 +421,17 @@
},
{
"name": "squizlabs/php_codesniffer",
"version": "3.9.1",
"version_normalized": "3.9.1.0",
"version": "3.10.1",
"version_normalized": "3.10.1.0",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
"reference": "267a4405fff1d9c847134db3a3c92f1ab7f77909"
"reference": "8f90f7a53ce271935282967f53d0894f8f1ff877"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/267a4405fff1d9c847134db3a3c92f1ab7f77909",
"reference": "267a4405fff1d9c847134db3a3c92f1ab7f77909",
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/8f90f7a53ce271935282967f53d0894f8f1ff877",
"reference": "8f90f7a53ce271935282967f53d0894f8f1ff877",
"shasum": ""
},
"require": {
Expand All @@ -443,7 +443,7 @@
"require-dev": {
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
},
"time": "2024-03-31T21:03:09+00:00",
"time": "2024-05-22T21:24:41+00:00",
"bin": [
"bin/phpcbf",
"bin/phpcs"
Expand Down
Loading

0 comments on commit 2d0cb38

Please sign in to comment.