当ページのリンクには広告が含まれています。
公式サイトに解説あります。
ちなみにこの記事、完全に自分用のメモ記事です。
綺麗にまとめ直した記事は以下にあります。
いつも「ぱっぱと解決してすごい!」みたいに誤解されているので、「いやいやこんな感じで四苦八苦してます」というアピール記事ですw
事前準備
PHPが入ってるかチェック
PS D:\XXXXX\XXXXX\375memo> php -v
PHP 8.2.4 (cli) (built: Mar 14 2023 17:54:25) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.2.4, Copyright (c) Zend Technologies
おっし。
入ってない場合は、面倒だからXAMPPをインストールする。
Composerが入ってるかチェック
PS D:\htdocs\*****> composer -V
PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php:39
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:118
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php:92
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Validator.php:61
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Validator.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Json/JsonFile.php:203
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:302
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/PlatformRepository.php:31
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:476
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Package/Loader/ValidatingArrayLoader.php:375
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Package/Loader/RootPackageLoader.php:146
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:368
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/FilesystemRepository.php:29
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:476
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/InstalledFilesystemRepository.php:20
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:476
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:447
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:372
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:447
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:372
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:675
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:276
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:226
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:732
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:276
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:226
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FilterIterator::rewind() should either be compatible with FilterIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/FilterIterator.php:30
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php:19
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:476
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:208
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:276
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:226
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php:42
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:208
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:276
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:226
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::getChildren() should either be compatible with RecursiveDirectoryIterator::getChildren(): RecursiveDirectoryIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:85
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:809
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:682
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:227
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::rewind() should either be compatible with FilesystemIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:113
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:809
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:682
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:227
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::current() should either be compatible with FilesystemIterator::current(): SplFileInfo|FilesystemIterator|string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:65
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:809
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:682
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:227
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:55
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:812
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:682
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:227
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:71
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:812
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:682
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:227
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:76
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:812
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:682
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:227
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FilterIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/FilterIterator.php:30
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:812
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:682
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:227
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\DateRangeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php:41
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:838
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:682
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:227
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/PathFilterIterator.php:27
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:846
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:682
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Cache.php:227
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Downloader/FileDownloader.php:85
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:509
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:380
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:777
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:384
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:782
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/ClassLoader.php:344
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:384
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php:39
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:118
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php:92
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Validator.php:61
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Validator.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Json/JsonFile.php:203
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:302
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:398
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:458
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Factory.php:438
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:529
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:187
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer version 2.0.9 2021-01-27 16:09:27
Usage:
command [options] [arguments]
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:290
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:189
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:290
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:189
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:290
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:189
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:290
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:189
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:290
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:189
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application versionDeprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:120
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
--ansi Force ANSI outputDeprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:120
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive questionDeprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:120
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
--profile Display timing and memory usage informationDeprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:120
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
--no-plugins Whether to disable plugins.
-d, --working-dir=WORKING-DIR If specified, use the given directory as working directory.Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/TextDescriptor.php:120
Stack trace:
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Descriptor/Descriptor.php:55
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/DescriptorHelper.php:69
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/ListCommand.php:78
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:245
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:835
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:185
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:310
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:117
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:122
phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:63
C:\ProgramData\ComposerSetup\bin\composer.phar:24
--no-cache Prevent use of the cache
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
about Shows the short information about Composer.
archive Creates an archive of this composer package.
browse Opens the package's repository URL or homepage in your browser.
cc Clears composer's internal package cache.
check-platform-reqs Check that platform requirements are satisfied.
clear-cache Clears composer's internal package cache.
clearcache Clears composer's internal package cache.
config Sets config options.
create-project Creates new project from a package into given directory.
depends Shows which packages cause the given package to be installed.
diagnose Diagnoses the system to identify common errors.
dump-autoload Dumps the autoloader.
dumpautoload Dumps the autoloader.
exec Executes a vendored binary/script.
fund Discover how to help fund the maintenance of your dependencies.
global Allows running commands in the global composer dir ($COMPOSER_HOME).
help Displays help for a command
home Opens the package's repository URL or homepage in your browser.
i Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
info Shows information about packages.
init Creates a basic composer.json file in current directory.
install Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
licenses Shows information about licenses of dependencies.
list Lists commands
outdated Shows a list of installed packages that have updates available, including their latest version.
prohibits Shows which packages prevent the given package from being installed.
remove Removes a package from the require or require-dev.
require Adds required packages to your composer.json and installs them.
run Runs the scripts defined in composer.json.
run-script Runs the scripts defined in composer.json.
search Searches for packages.
self-update Updates composer.phar to the latest version.
selfupdate Updates composer.phar to the latest version.
show Shows information about packages.
status Shows a list of locally modified packages.
suggests Shows package suggestions.
u Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
update Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
upgrade Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
validate Validates a composer.json and composer.lock.
why Shows which packages cause the given package to be installed.
why-not Shows which packages prevent the given package from being installed.
PS D:\htdocs\*****> composer -V
PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:777
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:782
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Composer version 2.0.9 2021-01-27 16:09:27
wwwPHP Deprecated: Return type of Symfony\
でぐぐるか
composer self-update
PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:777
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:782
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Upgrading to version 2.6.5 (stable channel).
Unable to write "C:\ProgramData\ComposerSetup\bin\composer.phar". Access is denied.
Complete this operation with Administrator privileges [Y,n]?
# 日本語訳
# 「C:\ProgramData\ComposerSetup\bin\composer.phar」を書き込めません。 アクセスが拒否されました。
# 管理者権限 [Y,n] を使用してこの操作を完了しますか?
もちろんY
やんけw
Complete this operation with Administrator privileges [Y,n]? Y
Operation failed (file not written). Please run the self-update command as an Administrator.
# 日本語訳
# 管理者権限 [Y,n] を使用してこの操作を完了しますか? Y
# 操作が失敗しました (ファイルが書き込まれません)。 自己更新コマンドを管理者として実行してください。
うーんうーんwww
管理者モードでPowerShell起動させるか。
PowerShell 7.3.9
PS C:\Users\XXXXX> composer self-update
PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:675
Deprecation Notice: Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Finder.php:732
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FilterIterator::rewind() should either be compatible with FilterIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/FilterIterator.php:30
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php:42
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::getChildren() should either be compatible with RecursiveDirectoryIterator::getChildren(): RecursiveDirectoryIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:85
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::rewind() should either be compatible with FilesystemIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:113
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::current() should either be compatible with FilesystemIterator::current(): SplFileInfo|FilesystemIterator|string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:65
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:55
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:71
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:76
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FilterIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/FilterIterator.php:30
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\DateRangeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php:41
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/finder/Iterator/PathFilterIterator.php:27
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:777
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:782
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Upgrading to version 2.6.5 (stable channel).
[Composer\Downloader\FilesystemException]
Filesystem exception:
Composer update failed: "C:\ProgramData\ComposerSetup\bin\composer.phar" could not be written.
rename(C:\ProgramData\ComposerSetup\bin/composer-temp.phar,C:\ProgramData\ComposerSetup\bin\composer.phar): アクセ
スが拒否されました。 (code: 5)
self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--1] [--2] [--set-channel-only] [--] [<version>]
うーんうーんwww
Composer update failedってことはアップデート失敗…could not be written、書き込み失敗。
rename、名前書き換えろって上に、アクセス拒否だとwwww
アクセ スが拒否されました。 (code: 5) composer
でぐぐる
ローカルの C:\ProgramData\ComposerSetup\bin\composer.phar にアクセスし、右クリックします。
composer self-update のエラー #PHP – Qiita
プロパティを選択すると、「セキュリティ」というタブが出てきます。
そのタブの下部にある「詳細設定」をクリックしてください。
詳細設定を押すと、プリンシパルごとにアクセス許可が表示されます。
そのほとんどのアクセス権限がフルコントロールだったのですが、ひとつ違うものになっている箇所があったので編集してフルコントロールにします。
PowerShellで指摘されたC:\ProgramData\ComposerSetup\bin/composer-temp.phar
とC:\ProgramData\ComposerSetup\bin\composer.phar
を確認
確かに1つだけ(ログイン中のアカウント)だけ権限足りないな。
これをフルコントロールに変更ね。
PowerShell 7.3.9
PS C:\Users\XXXXX> composer self-update
PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:777
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:782
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Upgrading to version 2.6.5 (stable channel).
[Composer\Downloader\FilesystemException]
Filesystem exception:
Composer update failed: "C:\ProgramData\ComposerSetup\bin\composer.phar" could not be written.
rename(C:\ProgramData\ComposerSetup\bin/composer-temp.phar,C:\ProgramData\ComposerSetup\bin\composer.phar): アクセ
スが拒否されました。 (code: 5)
self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--1] [--2] [--set-channel-only] [--] [<version>]
駄目だな。
ファイルだけじゃなくてフォルダのアクセス権も変更するか。
PS C:\Users\XXXXX> composer self-update
PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:777
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:782
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Upgrading to version 2.6.5 (stable channel).
[Composer\Downloader\FilesystemException]
Filesystem exception:
Composer update failed: "C:\ProgramData\ComposerSetup\bin\composer.phar" could not be written.
rename(C:\ProgramData\ComposerSetup\bin/composer-temp.phar,C:\ProgramData\ComposerSetup\bin\composer.phar): アクセ
スが拒否されました。 (code: 5)
self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--1] [--2] [--set-channel-only] [--] [<version>]
やっぱり駄目だ。
もう1回Composer削除した方がいいな。
コンパネからアンインストールして、再インストール
PS C:\Users\XXXXX> composer -V
Composer version 2.6.5 2023-10-06 10:11:52
ええやんけ。
CakePHPのインストール
CakePHPのインストールしたい位置まで移動。
PS C:\Users\XXXXX> cd D:
PS D:\> cd XXXXX
PS D:\XXXXX\XXXXX> ls
Directory: D:\XXXXX\XXXXX
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2023/08/20 6:21 XXXXX
d---- 2023/09/12 9:28 XXXXXXXXXX
d---- 2023/08/14 9:28 XXXXX
d---- 2023/06/27 12:08 XXXXXXXXXXXXXXX
php composer.phar create-project --prefer-dist cakephp/app:^3.8 my_app_name
または Composer にパスが通っているのであれば下記のコマンドも使えます。
インストール – 3.10composer self-update && composer create-project --prefer-dist cakephp/app:^3.8 my_app_name
updateは済んでるから、createだけで大丈夫だな。
のちに、↑あほなこと言ってるって気づくんだけどw
createだけじゃ駄目ですw
composer self-update
はプロジェクト内のcomposerファイルに対して行って、venderフォルダ(とその中身)を取得するのに必要だからw
composer create-project --prefer-dist cakephp/app:^3.8 [プロジェクトフォルダ名]
# 例
composer create-project --prefer-dist cakephp/app:^3.8 375memo
PS D:\XXXXX\XXXXX> composer create-project --prefer-dist cakephp/app:^3.8 375memo
Creating a "cakephp/app:3.8" project at "./375memo"
Installing cakephp/app (3.8.0)
Failed to download cakephp/app from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing cakephp/app (3.8.0) into cache
- Installing cakephp/app (3.8.0): Cloning 2cc749dfb7 from cache
Created project in D:\XXXXX\XXXXX\375memo
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- cakephp/cakephp[3.8.0, ..., 3.8.13] require ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.
- Root composer.json requires cakephp/cakephp 3.8.* -> satisfiable by cakephp/cakephp[3.8.0, ..., 3.8.13].
To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-intl` to temporarily ignore these required extensions.
PS D:\htdocs\XXXXX>
失敗しとるやんけwww
PHP の intl 拡張機能がないわけね。zipもないと言ってるな…。
PowerShellでC:\xampp\php\php.ini
を実行しろ、と。
無効だなw
コメントアウト取って有効に変更
;extension=intl
↓
extension=intl
zipも見とくか。
;extension=zip
↓
extension=zip
念のためXAMPP(Apache)再起動しとくか。
作ったプロジェクトフォルダを削除して、CakePHPの再インストール!
PS D:\*****\*****> composer create-project --prefer-dist cakephp/app:^3.8 375memo
Creating a "cakephp/app:3.8" project at "./375memo"
Installing cakephp/app (3.8.0)
- Downloading cakephp/app (3.8.0)
- Installing cakephp/app (3.8.0): Extracting archive
Created project in D:\*****\*****\375memo
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- cakephp/bake[1.9.2, ..., 1.12.0] require wyrihaximus/twig-view ^4.3.7 -> satisfiable by wyrihaximus/twig-view[4.3.7, ..., 4.4.0].
- cakephp/bake[1.9.0, ..., 1.9.1] require wyrihaximus/twig-view ^4.3.4 -> satisfiable by wyrihaximus/twig-view[4.3.4, ..., 4.4.0].
- wyrihaximus/twig-view[4.3.4, ..., 4.4.0] require php ^5.6 || ^7.0 -> your php version (8.2.4) does not satisfy that requirement.
- cakephp/bake 1.10.1 requires cakephp/cakephp ~3.7.0 -> found cakephp/cakephp[3.7.0, ..., 3.7.9] but it conflicts with your root composer.json require (3.8.*).
- Root composer.json requires cakephp/bake ^1.9.0 -> satisfiable by cakephp/bake[1.9.0, ..., 1.12.0].
うーん…w
PHP8が駄目なのか?CakePHP3.10まで上げてみようかな。
作ったプロジェクトフォルダを削除して、CakePHPの再インストールで。
PS D:\XXXXX\XXXXX> composer create-project --prefer-dist cakephp/app:^3.10 375memo
Creating a "cakephp/app:3.10" project at "./375memo"
Installing cakephp/app (3.10.0)
- Downloading cakephp/app (3.10.0)
- Installing cakephp/app (3.10.0): Extracting archive
Created project in D:\XXXXX\XXXXX\375memo
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- cakephp/cakephp[4.2.0, ..., 4.2.12] require laminas/laminas-httphandlerrunner ^1.1 -> satisfiable by laminas/laminas-httphandlerrunner[1.1.0, ..., 1.5.0].
- laminas/laminas-httphandlerrunner[1.1.0, ..., 1.2.0] require php ^7.1 -> your php version (8.2.4) does not satisfy that requirement.
- laminas/laminas-httphandlerrunner[1.3.0, ..., 1.4.0] require php ^7.3 || ~8.0.0 -> your php version (8.2.4) does not satisfy that requirement.
- laminas/laminas-httphandlerrunner 1.5.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.2.4) does not satisfy that requirement.
- Root composer.json requires cakephp/cakephp ~4.2.0 -> satisfiable by cakephp/cakephp[4.2.0, ..., 4.2.12].
おしい!www
まあ…PHPのバージョンが高すぎるんだな。
XAMPPで開発してるものはないし、XAMPPのバージョンを下げるか。
うーん、XAMPPのバージョン落として入れ直したけどphp.ini
にzip
ないなw
ちょっとプロジェクト作ってみるか?
PS D:\*****\*****> composer create-project --prefer-dist cakephp/app:^3.10 375memo
Creating a "cakephp/app:3.10" project at "./375memo"
Installing cakephp/app (3.10.0)
- Installing cakephp/app (3.10.0): Extracting archive
Created project in D:\*****\*****\375memo
Loading composer repositories with package information
Updating dependencies
Lock file operations: 91 installs, 0 updates, 0 removals
- Locking brick/varexporter (0.3.8)
- Locking cakephp/bake (2.5.2)
- Locking cakephp/cakephp (4.2.12)
- Locking cakephp/cakephp-codesniffer (4.2.4)
- Locking cakephp/chronos (2.4.3)
- Locking cakephp/debug_kit (4.4.4)
- Locking cakephp/migrations (3.1.0)
- Locking cakephp/plugin-installer (1.3.1)
- Locking cakephp/twig-view (1.3.0)
- Locking composer/ca-bundle (1.3.7)
- Locking composer/class-map-generator (1.1.0)
- Locking composer/composer (2.6.5)
- Locking composer/metadata-minifier (1.0.0)
- Locking composer/pcre (3.1.1)
- Locking composer/semver (3.4.0)
- Locking composer/spdx-licenses (1.5.7)
- Locking composer/xdebug-handler (3.0.3)
- Locking dealerdirect/phpcodesniffer-composer-installer (v0.7.2)
- Locking doctrine/instantiator (1.5.0)
- Locking jasny/twig-extensions (v1.3.0)
- Locking jdorn/sql-formatter (v1.2.17)
- Locking josegonzalez/dotenv (3.2.0)
- Locking justinrainbow/json-schema (v5.2.13)
- Locking laminas/laminas-diactoros (2.26.0)
- Locking laminas/laminas-httphandlerrunner (1.5.0)
- Locking laminas/laminas-zendframework-bridge (1.7.0)
- Locking league/container (3.4.1)
- Locking m1/env (2.2.0)
- Locking mobiledetect/mobiledetectlib (2.8.45)
- Locking myclabs/deep-copy (1.11.1)
- Locking nikic/php-parser (v4.17.1)
- Locking phar-io/manifest (2.0.3)
- Locking phar-io/version (3.2.1)
- Locking phpstan/phpdoc-parser (0.4.9)
- Locking phpunit/php-code-coverage (9.2.29)
- Locking phpunit/php-file-iterator (3.0.6)
- Locking phpunit/php-invoker (3.1.1)
- Locking phpunit/php-text-template (2.0.4)
- Locking phpunit/php-timer (5.0.3)
- Locking phpunit/phpunit (9.6.13)
- Locking psr/container (1.1.2)
- Locking psr/http-client (1.0.3)
- Locking psr/http-factory (1.0.2)
- Locking psr/http-message (1.1)
- Locking psr/http-server-handler (1.0.2)
- Locking psr/http-server-middleware (1.0.2)
- Locking psr/log (1.1.4)
- Locking psr/simple-cache (1.0.1)
- Locking psy/psysh (v0.11.22)
- Locking react/promise (v3.0.0)
- Locking robmorgan/phinx (0.12.13)
- Locking sebastian/cli-parser (1.0.1)
- Locking sebastian/code-unit (1.0.8)
- Locking sebastian/code-unit-reverse-lookup (2.0.3)
- Locking sebastian/comparator (4.0.8)
- Locking sebastian/complexity (2.0.2)
- Locking sebastian/diff (4.0.5)
- Locking sebastian/environment (5.1.5)
- Locking sebastian/exporter (4.0.5)
- Locking sebastian/global-state (5.0.6)
- Locking sebastian/lines-of-code (1.0.3)
- Locking sebastian/object-enumerator (4.0.4)
- Locking sebastian/object-reflector (2.0.4)
- Locking sebastian/recursion-context (4.0.5)
- Locking sebastian/resource-operations (3.0.3)
- Locking sebastian/type (3.2.1)
- Locking sebastian/version (3.0.2)
- Locking seld/jsonlint (1.10.0)
- Locking seld/phar-utils (1.2.1)
- Locking seld/signal-handler (2.0.2)
- Locking slevomat/coding-standard (6.4.1)
- Locking squizlabs/php_codesniffer (3.5.8)
- Locking symfony/config (v6.0.19)
- Locking symfony/console (v6.0.19)
- Locking symfony/deprecation-contracts (v3.0.2)
- Locking symfony/filesystem (v6.0.19)
- Locking symfony/finder (v6.0.19)
- Locking symfony/polyfill-ctype (v1.28.0)
- Locking symfony/polyfill-intl-grapheme (v1.28.0)
- Locking symfony/polyfill-intl-normalizer (v1.28.0)
- Locking symfony/polyfill-mbstring (v1.28.0)
- Locking symfony/polyfill-php73 (v1.28.0)
- Locking symfony/polyfill-php80 (v1.28.0)
- Locking symfony/polyfill-php81 (v1.28.0)
- Locking symfony/process (v6.0.19)
- Locking symfony/service-contracts (v2.5.2)
- Locking symfony/string (v6.0.19)
- Locking symfony/var-dumper (v6.0.19)
- Locking theseer/tokenizer (1.2.1)
- Locking twig/markdown-extra (v3.7.1)
- Locking twig/twig (v3.7.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 91 installs, 0 updates, 0 removals
- Downloading cakephp/plugin-installer (1.3.1)
- Downloading squizlabs/php_codesniffer (3.5.8)
- Downloading dealerdirect/phpcodesniffer-composer-installer (v0.7.2)
- Downloading symfony/polyfill-mbstring (v1.28.0)
- Downloading symfony/polyfill-ctype (v1.28.0)
- Downloading twig/twig (v3.7.1)
- Downloading twig/markdown-extra (v3.7.1)
- Downloading jasny/twig-extensions (v1.3.0)
- Downloading psr/simple-cache (1.0.1)
- Downloading psr/log (1.1.4)
- Downloading psr/http-message (1.1)
- Downloading psr/http-server-handler (1.0.2)
- Downloading psr/http-server-middleware (1.0.2)
- Downloading psr/http-client (1.0.3)
- Downloading psr/container (1.1.2)
- Downloading league/container (3.4.1)
- Downloading psr/http-factory (1.0.2)
- Downloading laminas/laminas-diactoros (2.26.0)
- Downloading laminas/laminas-zendframework-bridge (1.7.0)
- Downloading laminas/laminas-httphandlerrunner (1.5.0)
- Downloading composer/ca-bundle (1.3.7)
- Downloading cakephp/chronos (2.4.3)
- Downloading cakephp/cakephp (4.2.12)
- Downloading cakephp/twig-view (1.3.0)
- Downloading nikic/php-parser (v4.17.1)
- Downloading brick/varexporter (0.3.8)
- Downloading cakephp/bake (2.5.2)
- Downloading phpstan/phpdoc-parser (0.4.9)
- Downloading slevomat/coding-standard (6.4.1)
- Downloading cakephp/cakephp-codesniffer (4.2.4)
- Downloading jdorn/sql-formatter (v1.2.17)
- Downloading symfony/process (v6.0.19)
- Downloading symfony/polyfill-php81 (v1.28.0)
- Downloading symfony/polyfill-php80 (v1.28.0)
- Downloading symfony/polyfill-php73 (v1.28.0)
- Downloading symfony/finder (v6.0.19)
- Downloading symfony/filesystem (v6.0.19)
- Downloading symfony/polyfill-intl-normalizer (v1.28.0)
- Downloading symfony/polyfill-intl-grapheme (v1.28.0)
- Downloading symfony/string (v6.0.19)
- Downloading symfony/deprecation-contracts (v3.0.2)
- Downloading symfony/service-contracts (v2.5.2)
- Downloading symfony/console (v6.0.19)
- Downloading seld/signal-handler (2.0.2)
- Downloading seld/phar-utils (1.2.1)
- Downloading seld/jsonlint (1.10.0)
- Downloading react/promise (v3.0.0)
- Downloading justinrainbow/json-schema (v5.2.13)
- Downloading composer/pcre (3.1.1)
- Downloading composer/xdebug-handler (3.0.3)
- Downloading composer/spdx-licenses (1.5.7)
- Downloading composer/semver (3.4.0)
- Downloading composer/metadata-minifier (1.0.0)
- Downloading composer/class-map-generator (1.1.0)
- Downloading composer/composer (2.6.5)
- Downloading cakephp/debug_kit (4.4.4)
- Downloading symfony/config (v6.0.19)
- Downloading robmorgan/phinx (0.12.13)
- Downloading cakephp/migrations (3.1.0)
- Downloading m1/env (2.2.0)
- Downloading josegonzalez/dotenv (3.2.0)
- Downloading mobiledetect/mobiledetectlib (2.8.45)
- Downloading sebastian/version (3.0.2)
- Downloading sebastian/type (3.2.1)
- Downloading sebastian/resource-operations (3.0.3)
- Downloading sebastian/recursion-context (4.0.5)
- Downloading sebastian/object-reflector (2.0.4)
- Downloading sebastian/object-enumerator (4.0.4)
- Downloading sebastian/global-state (5.0.6)
- Downloading sebastian/exporter (4.0.5)
- Downloading sebastian/environment (5.1.5)
- Downloading sebastian/diff (4.0.5)
- Downloading sebastian/comparator (4.0.8)
- Downloading sebastian/code-unit (1.0.8)
- Downloading sebastian/cli-parser (1.0.1)
- Downloading phpunit/php-timer (5.0.3)
- Downloading phpunit/php-text-template (2.0.4)
- Downloading phpunit/php-invoker (3.1.1)
- Downloading phpunit/php-file-iterator (3.0.6)
- Downloading theseer/tokenizer (1.2.1)
- Downloading sebastian/lines-of-code (1.0.3)
- Downloading sebastian/complexity (2.0.2)
- Downloading sebastian/code-unit-reverse-lookup (2.0.3)
- Downloading phpunit/php-code-coverage (9.2.29)
- Downloading phar-io/version (3.2.1)
- Downloading phar-io/manifest (2.0.3)
- Downloading myclabs/deep-copy (1.11.1)
- Downloading doctrine/instantiator (1.5.0)
- Downloading phpunit/phpunit (9.6.13)
- Downloading symfony/var-dumper (v6.0.19)
- Downloading psy/psysh (v0.11.22)
cakephp/plugin-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "cakephp/plugin-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]
# 日本語訳
# Cakephp/plugin-installer には、現在allow-plugins設定に含まれていないComposerプラグインが含まれています。 https://getcomposer.org/allow-plugins を参照してください。
# 「cakephp/plugin-installer」がコードを実行することを信頼しており、今すぐ有効にしますか? (「allow-plugins」をcomposer.jsonに書き込みます)
allow-plugins設定…なにやそれ
ドキュメントを確認すると、どうやらComposer のバージョン2.2移行から、allow-plugin 設定で明示的に許可を与えていないプラグインはcomposer install時に警告確認してくる模様。
「Composer plugin which is currently not in your allow-plugins config」警告対処法 – FuwaFuwaShoChan BLOG
ふーん。y
でいいな。
Do you trust "cakephp/plugin-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
- Installing cakephp/plugin-installer (1.3.1): Extracting archive
- Installing squizlabs/php_codesniffer (3.5.8): Extracting archive
dealerdirect/phpcodesniffer-composer-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "dealerdirect/phpcodesniffer-composer-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]
またか。y
で。
Do you trust "dealerdirect/phpcodesniffer-composer-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
- Installing dealerdirect/phpcodesniffer-composer-installer (v0.7.2): Extracting archive
- Installing symfony/polyfill-mbstring (v1.28.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.28.0): Extracting archive
- Installing twig/twig (v3.7.1): Extracting archive
- Installing twig/markdown-extra (v3.7.1): Extracting archive
- Installing jasny/twig-extensions (v1.3.0): Extracting archive
- Installing psr/simple-cache (1.0.1): Extracting archive
- Installing psr/log (1.1.4): Extracting archive
- Installing psr/http-message (1.1): Extracting archive
- Installing psr/http-server-handler (1.0.2): Extracting archive
- Installing psr/http-server-middleware (1.0.2): Extracting archive
- Installing psr/http-client (1.0.3): Extracting archive
- Installing psr/container (1.1.2): Extracting archive
- Installing league/container (3.4.1): Extracting archive
- Installing psr/http-factory (1.0.2): Extracting archive
- Installing laminas/laminas-diactoros (2.26.0): Extracting archive
- Installing laminas/laminas-zendframework-bridge (1.7.0): Extracting archive
- Installing laminas/laminas-httphandlerrunner (1.5.0): Extracting archive
- Installing composer/ca-bundle (1.3.7): Extracting archive
- Installing cakephp/chronos (2.4.3): Extracting archive
- Installing cakephp/cakephp (4.2.12): Extracting archive
- Installing cakephp/twig-view (1.3.0): Extracting archive
- Installing nikic/php-parser (v4.17.1): Extracting archive
- Installing brick/varexporter (0.3.8): Extracting archive
- Installing cakephp/bake (2.5.2): Extracting archive
- Installing phpstan/phpdoc-parser (0.4.9): Extracting archive
- Installing slevomat/coding-standard (6.4.1): Extracting archive
- Installing cakephp/cakephp-codesniffer (4.2.4): Extracting archive
- Installing jdorn/sql-formatter (v1.2.17): Extracting archive
- Installing symfony/process (v6.0.19): Extracting archive
- Installing symfony/polyfill-php81 (v1.28.0): Extracting archive
- Installing symfony/polyfill-php80 (v1.28.0): Extracting archive
- Installing symfony/polyfill-php73 (v1.28.0): Extracting archive
- Installing symfony/finder (v6.0.19): Extracting archive
- Installing symfony/filesystem (v6.0.19): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.28.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.28.0): Extracting archive
- Installing symfony/string (v6.0.19): Extracting archive
- Installing symfony/deprecation-contracts (v3.0.2): Extracting archive
- Installing symfony/service-contracts (v2.5.2): Extracting archive
- Installing symfony/console (v6.0.19): Extracting archive
- Installing seld/signal-handler (2.0.2): Extracting archive
- Installing seld/phar-utils (1.2.1): Extracting archive
- Installing seld/jsonlint (1.10.0): Extracting archive
- Installing react/promise (v3.0.0): Extracting archive
- Installing justinrainbow/json-schema (v5.2.13): Extracting archive
- Installing composer/pcre (3.1.1): Extracting archive
- Installing composer/xdebug-handler (3.0.3): Extracting archive
- Installing composer/spdx-licenses (1.5.7): Extracting archive
- Installing composer/semver (3.4.0): Extracting archive
- Installing composer/metadata-minifier (1.0.0): Extracting archive
- Installing composer/class-map-generator (1.1.0): Extracting archive
- Installing composer/composer (2.6.5): Extracting archive
- Installing cakephp/debug_kit (4.4.4): Extracting archive
- Installing symfony/config (v6.0.19): Extracting archive
- Installing robmorgan/phinx (0.12.13): Extracting archive
- Installing cakephp/migrations (3.1.0): Extracting archive
- Installing m1/env (2.2.0): Extracting archive
- Installing josegonzalez/dotenv (3.2.0): Extracting archive
- Installing mobiledetect/mobiledetectlib (2.8.45): Extracting archive
- Installing sebastian/version (3.0.2): Extracting archive
- Installing sebastian/type (3.2.1): Extracting archive
- Installing sebastian/resource-operations (3.0.3): Extracting archive
- Installing sebastian/recursion-context (4.0.5): Extracting archive
- Installing sebastian/object-reflector (2.0.4): Extracting archive
- Installing sebastian/object-enumerator (4.0.4): Extracting archive
- Installing sebastian/global-state (5.0.6): Extracting archive
- Installing sebastian/exporter (4.0.5): Extracting archive
- Installing sebastian/environment (5.1.5): Extracting archive
- Installing sebastian/diff (4.0.5): Extracting archive
- Installing sebastian/comparator (4.0.8): Extracting archive
- Installing sebastian/code-unit (1.0.8): Extracting archive
- Installing sebastian/cli-parser (1.0.1): Extracting archive
- Installing phpunit/php-timer (5.0.3): Extracting archive
- Installing phpunit/php-text-template (2.0.4): Extracting archive
- Installing phpunit/php-invoker (3.1.1): Extracting archive
- Installing phpunit/php-file-iterator (3.0.6): Extracting archive
- Installing theseer/tokenizer (1.2.1): Extracting archive
- Installing sebastian/lines-of-code (1.0.3): Extracting archive
- Installing sebastian/complexity (2.0.2): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
- Installing phpunit/php-code-coverage (9.2.29): Extracting archive
- Installing phar-io/version (3.2.1): Extracting archive
- Installing phar-io/manifest (2.0.3): Extracting archive
- Installing myclabs/deep-copy (1.11.1): Extracting archive
- Installing doctrine/instantiator (1.5.0): Extracting archive
- Installing phpunit/phpunit (9.6.13): Extracting archive
- Installing symfony/var-dumper (v6.0.19): Extracting archive
- Installing psy/psysh (v0.11.22): Extracting archive
25 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
60 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
PHP CodeSniffer Config installed_paths set to ../../cakephp/cakephp-codesniffer,../../slevomat/coding-standard
No security vulnerability advisories found.
> App\Console\Installer::postInstall
Created `config/app_local.php` file
Created `D:\XXXXX\XXXXX\375memo/logs` directory
Created `D:\XXXXX\XXXXX\375memo/tmp/cache/views` directory
Set Folder Permissions ? (Default to Y) [Y,n]?
パーミッション変更ね?
OKOKw
Set Folder Permissions ? (Default to Y) [Y,n]? Y
Updated Security.salt value in config/app_local.php
PS D:\XXXXX\XXXXX>
良さそう。表示確認。
開発用インストールは、CakePHP を最も速くインストールする方法です。 この例では、CakePHP のコンソールを使って PHP の組み込みウェブサーバーを起動して、 あなたのアプリケーションに http://host:port という形式でアクセスできるように します。app ディレクトリーで下記のコマンドを実行しましょう。
インストール – 3.10
bin/cake server
引数のないデフォルト状態では、http://localhost:8765/
であなたのアプリケーションに アクセスできます。
PS D:\XXXXX\XXXXX> cd .\375memo\
PS D:\XXXXX\XXXXX\375memo> bin/cake server
やったー!表示できた!!
って、4.2.12やないかいwww
CakePHP3.8.Xのインストール
そうね、ちゃんと調べてない私が悪いんだけど、用があるのはのは3.8(3.8.7)なんですよ。
PHP8になるとCakePHP3系は駄目なのか。
3.8の場合、PHP7.4か?
XAMPP取ってくる。
xampp-windows-x64-7.4.33-0-VC15-installer.exe
でいいか。
XAMPPをアンインストールで、再インストール。
CakePHPのプロジェクトファイル配置場所までcd
で移動。
PS D:\XXXXX\XXXXX> composer create-project --prefer-dist cakephp/app:3.8.7 375memo
Creating a "cakephp/app:3.8.7" project at "./375memo"
In CreateProjectCommand.php line 424:
Could not find package cakephp/app with version 3.8.7.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]
ないってw
んなわけあるかw
マイナーバージョンまでに変えてみるか。
PS D:\XXXXX\XXXXX> composer create-project --prefer-dist cakephp/app:3.8.* 375memo
Creating a "cakephp/app:3.8.*" project at "./375memo"
Installing cakephp/app (3.8.0)
- Installing cakephp/app (3.8.0): Extracting archive
Created project in D:\XXXXX\XXXXX\375memo
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- cakephp/cakephp[3.8.0, ..., 3.8.13] require ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.
- Root composer.json requires cakephp/cakephp 3.8.* -> satisfiable by cakephp/cakephp[3.8.0, ..., 3.8.13].
To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-intl` to temporarily ignore these required extensions.
intl 拡張機能有効にするの忘れてたw
プロジェクトディレクトリ削除でもう1回!
PS D:\XXXXX\XXXXX> composer create-project --prefer-dist cakephp/app:3.8.* 375memo
Creating a "cakephp/app:3.8.*" project at "./375memo"
Installing cakephp/app (3.8.0)
- Installing cakephp/app (3.8.0): Extracting archive
Created project in D:\XXXXX\XXXXX\375memo
Loading composer repositories with package information
Updating dependencies
Lock file operations: 88 installs, 0 updates, 0 removals
- Locking ajgl/breakpoint-twig-extension (0.3.5)
- Locking aptoma/twig-markdown (2.0.0)
- Locking asm89/twig-cache-extension (1.4.0)
- Locking aura/intl (3.0.1)
- Locking cakephp/bake (1.12.0)
- Locking cakephp/cakephp (3.8.13)
- Locking cakephp/cakephp-codesniffer (3.3.0)
- Locking cakephp/chronos (1.3.0)
- Locking cakephp/debug_kit (3.23.0)
- Locking cakephp/migrations (2.4.2)
- Locking cakephp/plugin-installer (1.3.1)
- Locking composer/ca-bundle (1.3.7)
- Locking composer/class-map-generator (1.1.0)
- Locking composer/composer (2.6.5)
- Locking composer/metadata-minifier (1.0.0)
- Locking composer/pcre (3.1.1)
- Locking composer/semver (3.4.0)
- Locking composer/spdx-licenses (1.5.7)
- Locking composer/xdebug-handler (3.0.3)
- Locking doctrine/deprecations (1.1.2)
- Locking doctrine/instantiator (1.5.0)
- Locking jasny/twig-extensions (v1.2.0)
- Locking jdorn/sql-formatter (v1.2.17)
- Locking josegonzalez/dotenv (3.2.0)
- Locking justinrainbow/json-schema (v5.2.13)
- Locking m1/env (2.2.0)
- Locking mobiledetect/mobiledetectlib (2.8.45)
- Locking myclabs/deep-copy (1.11.1)
- Locking nikic/php-parser (v4.17.1)
- Locking phar-io/manifest (1.0.1)
- Locking phar-io/version (1.0.1)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.3.0)
- Locking phpdocumentor/type-resolver (1.7.3)
- Locking phpspec/prophecy (v1.10.3)
- Locking phpstan/phpdoc-parser (1.24.2)
- Locking phpunit/php-code-coverage (5.3.2)
- Locking phpunit/php-file-iterator (1.4.5)
- Locking phpunit/php-text-template (1.2.1)
- Locking phpunit/php-timer (1.0.9)
- Locking phpunit/php-token-stream (2.0.2)
- Locking phpunit/phpunit (6.5.14)
- Locking phpunit/phpunit-mock-objects (5.0.10)
- Locking psr/container (1.1.2)
- Locking psr/http-message (1.1)
- Locking psr/log (1.1.4)
- Locking psr/simple-cache (1.0.1)
- Locking psy/psysh (v0.11.22)
- Locking react/promise (v3.0.0)
- Locking robmorgan/phinx (0.11.7)
- Locking sebastian/code-unit-reverse-lookup (1.0.2)
- Locking sebastian/comparator (2.1.3)
- Locking sebastian/diff (2.0.1)
- Locking sebastian/environment (3.1.0)
- Locking sebastian/exporter (3.1.5)
- Locking sebastian/global-state (2.0.0)
- Locking sebastian/object-enumerator (3.0.4)
- Locking sebastian/object-reflector (1.1.2)
- Locking sebastian/recursion-context (3.0.1)
- Locking sebastian/resource-operations (1.0.0)
- Locking sebastian/version (2.0.1)
- Locking seld/jsonlint (1.10.0)
- Locking seld/phar-utils (1.2.1)
- Locking seld/signal-handler (2.0.2)
- Locking squizlabs/php_codesniffer (3.7.2)
- Locking symfony/config (v5.4.26)
- Locking symfony/console (v5.4.28)
- Locking symfony/deprecation-contracts (v2.5.2)
- Locking symfony/filesystem (v5.4.25)
- Locking symfony/finder (v5.4.27)
- Locking symfony/polyfill-ctype (v1.28.0)
- Locking symfony/polyfill-intl-grapheme (v1.28.0)
- Locking symfony/polyfill-intl-normalizer (v1.28.0)
- Locking symfony/polyfill-mbstring (v1.28.0)
- Locking symfony/polyfill-php73 (v1.28.0)
- Locking symfony/polyfill-php80 (v1.28.0)
- Locking symfony/polyfill-php81 (v1.28.0)
- Locking symfony/process (v5.4.28)
- Locking symfony/service-contracts (v2.5.2)
- Locking symfony/string (v5.4.29)
- Locking symfony/var-dumper (v5.4.29)
- Locking symfony/yaml (v5.4.30)
- Locking theseer/tokenizer (1.2.1)
- Locking twig/twig (v1.44.7)
- Locking umpirsky/twig-php-function (v0.1)
- Locking webmozart/assert (1.11.0)
- Locking wyrihaximus/twig-view (4.4.0)
- Locking zendframework/zend-diactoros (1.8.7)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 88 installs, 0 updates, 0 removals
- Downloading aura/intl (3.0.1)
- Downloading twig/twig (v1.44.7)
- Downloading umpirsky/twig-php-function (v0.1)
- Downloading jasny/twig-extensions (v1.2.0)
- Downloading zendframework/zend-diactoros (1.8.7)
- Downloading cakephp/chronos (1.3.0)
- Downloading cakephp/cakephp (3.8.13)
- Downloading asm89/twig-cache-extension (1.4.0)
- Downloading aptoma/twig-markdown (2.0.0)
- Downloading ajgl/breakpoint-twig-extension (0.3.5)
- Downloading wyrihaximus/twig-view (4.4.0)
- Downloading cakephp/bake (1.12.0)
- Downloading squizlabs/php_codesniffer (3.7.2)
- Downloading cakephp/cakephp-codesniffer (3.3.0)
- Downloading symfony/process (v5.4.28)
- Downloading symfony/deprecation-contracts (v2.5.2)
- Downloading symfony/finder (v5.4.27)
- Downloading symfony/filesystem (v5.4.25)
- Downloading symfony/string (v5.4.29)
- Downloading symfony/console (v5.4.28)
- Downloading cakephp/debug_kit (3.23.0)
- Downloading symfony/yaml (v5.4.30)
- Downloading symfony/config (v5.4.26)
- Downloading robmorgan/phinx (0.11.7)
- Downloading cakephp/migrations (2.4.2)
- Downloading webmozart/assert (1.11.0)
- Downloading phpstan/phpdoc-parser (1.24.2)
- Downloading phpdocumentor/reflection-common (2.2.0)
- Downloading doctrine/deprecations (1.1.2)
- Downloading phpdocumentor/type-resolver (1.7.3)
- Downloading phpdocumentor/reflection-docblock (5.3.0)
- Downloading phpunit/php-token-stream (2.0.2)
- Downloading sebastian/version (2.0.1)
- Downloading sebastian/resource-operations (1.0.0)
- Downloading sebastian/recursion-context (3.0.1)
- Downloading sebastian/object-reflector (1.1.2)
- Downloading sebastian/object-enumerator (3.0.4)
- Downloading sebastian/global-state (2.0.0)
- Downloading sebastian/exporter (3.1.5)
- Downloading sebastian/environment (3.1.0)
- Downloading sebastian/diff (2.0.1)
- Downloading sebastian/comparator (2.1.3)
- Downloading phpunit/php-text-template (1.2.1)
- Downloading phpunit/phpunit-mock-objects (5.0.10)
- Downloading phpunit/php-timer (1.0.9)
- Downloading phpunit/php-file-iterator (1.4.5)
- Downloading sebastian/code-unit-reverse-lookup (1.0.2)
- Downloading phpunit/php-code-coverage (5.3.2)
- Downloading phpspec/prophecy (v1.10.3)
- Downloading phar-io/version (1.0.1)
- Downloading phar-io/manifest (1.0.1)
- Downloading phpunit/phpunit (6.5.14)
- Downloading symfony/var-dumper (v5.4.29)
cakephp/plugin-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "cakephp/plugin-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]
# 日本語訳
# Cakephp/plugin-installer には、現在allow-plugins設定に含まれていないComposerプラグインが含まれています。 https://getcomposer.org/allow-plugins を参照してください。
# 「cakephp/plugin-installer」がコードを実行することを信頼しており、今すぐ有効にしますか? (「allow-plugins」をcomposer.jsonに書き込みます) [y,n,d,?]
もち、y
でしょ。
Do you trust "cakephp/plugin-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
- Installing cakephp/plugin-installer (1.3.1): Extracting archive
- Installing aura/intl (3.0.1): Extracting archive
- Installing symfony/polyfill-ctype (v1.28.0): Extracting archive
- Installing twig/twig (v1.44.7): Extracting archive
- Installing umpirsky/twig-php-function (v0.1): Extracting archive
- Installing jasny/twig-extensions (v1.2.0): Extracting archive
- Installing psr/http-message (1.1): Extracting archive
- Installing zendframework/zend-diactoros (1.8.7): Extracting archive
- Installing psr/simple-cache (1.0.1): Extracting archive
- Installing psr/log (1.1.4): Extracting archive
- Installing symfony/polyfill-mbstring (v1.28.0): Extracting archive
- Installing cakephp/chronos (1.3.0): Extracting archive
- Installing cakephp/cakephp (3.8.13): Extracting archive
- Installing asm89/twig-cache-extension (1.4.0): Extracting archive
- Installing aptoma/twig-markdown (2.0.0): Extracting archive
- Installing ajgl/breakpoint-twig-extension (0.3.5): Extracting archive
- Installing wyrihaximus/twig-view (4.4.0): Extracting archive
- Installing cakephp/bake (1.12.0): Extracting archive
- Installing squizlabs/php_codesniffer (3.7.2): Extracting archive
- Installing cakephp/cakephp-codesniffer (3.3.0): Extracting archive
- Installing jdorn/sql-formatter (v1.2.17): Extracting archive
- Installing symfony/polyfill-php80 (v1.28.0): Extracting archive
- Installing symfony/process (v5.4.28): Extracting archive
- Installing symfony/polyfill-php81 (v1.28.0): Extracting archive
- Installing symfony/polyfill-php73 (v1.28.0): Extracting archive
- Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
- Installing symfony/finder (v5.4.27): Extracting archive
- Installing symfony/filesystem (v5.4.25): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.28.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.28.0): Extracting archive
- Installing symfony/string (v5.4.29): Extracting archive
- Installing psr/container (1.1.2): Extracting archive
- Installing symfony/service-contracts (v2.5.2): Extracting archive
- Installing symfony/console (v5.4.28): Extracting archive
- Installing seld/signal-handler (2.0.2): Extracting archive
- Installing seld/phar-utils (1.2.1): Extracting archive
- Installing seld/jsonlint (1.10.0): Extracting archive
- Installing react/promise (v3.0.0): Extracting archive
- Installing justinrainbow/json-schema (v5.2.13): Extracting archive
- Installing composer/pcre (3.1.1): Extracting archive
- Installing composer/xdebug-handler (3.0.3): Extracting archive
- Installing composer/spdx-licenses (1.5.7): Extracting archive
- Installing composer/semver (3.4.0): Extracting archive
- Installing composer/metadata-minifier (1.0.0): Extracting archive
- Installing composer/class-map-generator (1.1.0): Extracting archive
- Installing composer/ca-bundle (1.3.7): Extracting archive
- Installing composer/composer (2.6.5): Extracting archive
- Installing cakephp/debug_kit (3.23.0): Extracting archive
- Installing symfony/yaml (v5.4.30): Extracting archive
- Installing symfony/config (v5.4.26): Extracting archive
- Installing robmorgan/phinx (0.11.7): Extracting archive
- Installing cakephp/migrations (2.4.2): Extracting archive
- Installing m1/env (2.2.0): Extracting archive
- Installing josegonzalez/dotenv (3.2.0): Extracting archive
- Installing mobiledetect/mobiledetectlib (2.8.45): Extracting archive
- Installing webmozart/assert (1.11.0): Extracting archive
- Installing phpstan/phpdoc-parser (1.24.2): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing doctrine/deprecations (1.1.2): Extracting archive
- Installing phpdocumentor/type-resolver (1.7.3): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
- Installing phpunit/php-token-stream (2.0.2): Extracting archive
- Installing sebastian/version (2.0.1): Extracting archive
- Installing sebastian/resource-operations (1.0.0): Extracting archive
- Installing sebastian/recursion-context (3.0.1): Extracting archive
- Installing sebastian/object-reflector (1.1.2): Extracting archive
- Installing sebastian/object-enumerator (3.0.4): Extracting archive
- Installing sebastian/global-state (2.0.0): Extracting archive
- Installing sebastian/exporter (3.1.5): Extracting archive
- Installing sebastian/environment (3.1.0): Extracting archive
- Installing sebastian/diff (2.0.1): Extracting archive
- Installing sebastian/comparator (2.1.3): Extracting archive
- Installing phpunit/php-text-template (1.2.1): Extracting archive
- Installing doctrine/instantiator (1.5.0): Extracting archive
- Installing phpunit/phpunit-mock-objects (5.0.10): Extracting archive
- Installing phpunit/php-timer (1.0.9): Extracting archive
- Installing phpunit/php-file-iterator (1.4.5): Extracting archive
- Installing theseer/tokenizer (1.2.1): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (1.0.2): Extracting archive
- Installing phpunit/php-code-coverage (5.3.2): Extracting archive
- Installing phpspec/prophecy (v1.10.3): Extracting archive
- Installing phar-io/version (1.0.1): Extracting archive
- Installing phar-io/manifest (1.0.1): Extracting archive
- Installing myclabs/deep-copy (1.11.1): Extracting archive
- Installing phpunit/phpunit (6.5.14): Extracting archive
- Installing symfony/var-dumper (v5.4.29): Extracting archive
- Installing nikic/php-parser (v4.17.1): Extracting archive
- Installing psy/psysh (v0.11.22): Extracting archive
23 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
Package aptoma/twig-markdown is abandoned, you should avoid using it. No replacement was suggested.
Package asm89/twig-cache-extension is abandoned, you should avoid using it. Use twig/cache-extension instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
> Cake\Composer\Installer\PluginInstaller::postAutoloadDump
Action required!
The CakePHP plugin installer v1.3+ no longer requires the
"post-autoload-dump" hook. Please update your app's composer.json
file and remove usage of
Cake\Composer\Installer\PluginInstaller::postAutoloadDump
37 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Found 1 security vulnerability advisory affecting 1 package.
Run "composer audit" for a full list of advisories.
> App\Console\Installer::postInstall
Created `config/app.php` file
Created `D:\XXXXX\XXXXX\375memo/tmp/cache/views` directory
Set Folder Permissions ? (Default to Y) [Y,n]?
# 日本語訳
# アクションが必要です!
#
# CakePHP プラグイン インストーラー v1.3 以降では、
# 「post-autoload-dump」フック。 アプリのcomposer.jsonを更新してください。
# ファイルを作成し、使用を削除します
# Cake\Composer\Installer\PluginInstaller::postAutoloadDump
# あなたが使用している 37 のパッケージが資金を募集しています。
# 詳細については、「composer Fund」コマンドを使用してください。
# 1 つのパッケージに影響を与えるセキュリティ脆弱性勧告が 1 件見つかりました。
# アドバイザリの完全なリストを確認するには、「composer Audit」を実行します。
# > アプリ\コンソール\インストーラー::postInstall
# `config/app.php`ファイルを作成しました
# `D:\XXXXX\XXXXX\375memo/tmp/cache/views` ディレクトリを作成しました
# フォルダーのアクセス許可を設定しますか? (デフォルトは Y) [Y,n]?
で、なんだって?www
冗談はさておき。"post-autoload-dump" hook. Please update your app's composer.json
でぐぐる。
どうやらcomposer.jsonの
“post-autoload-dump”: “Cake\Composer\Installer\PluginInstaller::postAutoloadDump”,
cakephp3 インストール時のエラー解決方法 #cakephp3 – Qiita
上記記述がもう不要だから消してと言っているらしい。
ほう。
消した。
次
composer Audit
ってなんだ…?
脆弱性チェックがうんたら…もう詳しく調べるの面倒デフォルトがY
なら、Y
でいいや。
Set Folder Permissions ? (Default to Y) [Y,n]? Y
Updated Security.salt value in config/app.php
いいんじゃないの?
表示確認するか。
よし!今度こそ終わったー!
まとめ
完全に、「Composer古すぎw」「3系インストールの条件確認しておけ」に尽きた。