MDL-83401 core: Upgrade PHP-DI/Invoker to 2.3.6

This commit is contained in:
Andrew Nicols
2025-01-29 11:58:43 +08:00
parent ede7bcbd7a
commit 7706577f9f
5 changed files with 8 additions and 19 deletions
-15
View File
@@ -1,15 +0,0 @@
# Contributing
First of all, **thank you** for contributing!
Here are a few rules to follow in order to ease code reviews and merging:
- follow [PSR-1](http://www.php-fig.org/psr/1/) and [PSR-2](http://www.php-fig.org/psr/2/)
- run the test suite
- write (or update) unit tests when applicable
- write documentation for new features
- use [commit messages that make sense](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
One may ask you to [squash your commits](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html) too. This is used to "clean" your pull request before merging it (we don't want commits such as `fix tests`, `fix 2`, `fix 3`, etc.).
When creating your pull request on GitHub, please write a description which gives the context and/or explains why you are creating it.
+1
View File
@@ -231,3 +231,4 @@ $invoker->call('WelcomeController::home');
That feature can be used as the base building block for a framework's dispatcher.
Again, any [PSR-11](https://www.php-fig.org/psr/psr-11/) compliant container can be provided.
+5
View File
@@ -23,5 +23,10 @@
"phpunit/phpunit": "^9.0",
"athletic/athletic": "~0.1.8",
"mnapoli/hard-mode": "~0.3.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
+1 -3
View File
@@ -1,3 +1 @@
Please note that this library is required for use of PHP-DI.
Please update it in accordance with PHP-DI and see lib/php-di/readme_moodle.md for more information.
See instructions in lib/php-di/readme_moodle.md
+1 -1
View File
@@ -789,7 +789,7 @@ All rights reserved.</copyright>
<library>
<location>php-di/invoker</location>
<name>PHP DI Invoker</name>
<version>2.3.4</version>
<version>2.3.6</version>
<license>MIT</license>
<repository>https://github.com/php-di/invoker</repository>
</library>