Aggiornato Composer
This commit is contained in:
4
vendor/symfony/error-handler/Resources/bin/extract-tentative-return-types.php
vendored
Executable file → Normal file
4
vendor/symfony/error-handler/Resources/bin/extract-tentative-return-types.php
vendored
Executable file → Normal file
@@ -10,6 +10,10 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
if ('cli' !== \PHP_SAPI) {
|
||||
throw new Exception('This script must be run from the command line.');
|
||||
}
|
||||
|
||||
// Run from the root of the php-src repository, this script generates
|
||||
// a table with all the methods that have a tentative return type.
|
||||
//
|
||||
|
||||
4
vendor/symfony/error-handler/Resources/bin/patch-type-declarations
vendored
Executable file → Normal file
4
vendor/symfony/error-handler/Resources/bin/patch-type-declarations
vendored
Executable file → Normal file
@@ -10,6 +10,10 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
if ('cli' !== \PHP_SAPI) {
|
||||
throw new Exception('This script must be run from the command line.');
|
||||
}
|
||||
|
||||
if (\in_array('-h', $argv) || \in_array('--help', $argv)) {
|
||||
echo implode(PHP_EOL, [
|
||||
' Patches type declarations based on "@return" PHPDoc and triggers deprecations for',
|
||||
|
||||
Reference in New Issue
Block a user