目次一覧
状態:完了
閲覧数:284
投稿日:2023-12-23
更新日:2023-12-23
エラーメッセージ / エラー原因 / エラー対応
エラーメッセージ / エラー原因 / エラー対応
エラーメッセージ
( ! ) Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in ★★★ headless-chromium-php/vendor/wrench/wrench/lib/Wrench/Protocol/Protocol.php
エラー原因
「Chrome PHP」のバージョンが低いから
現在使用されている「PHP」のバージョンに対応していない「Chrome PHP」を使用しているため。
エラー対応
「Chrome PHP」をバージョンアップ
現在使用されている「PHP」のバージョンに対応している「Chrome PHP」を使用する。
$ composer require chrome-php/chrome
./composer.json has been updated
Running composer update chrome-php/chrome
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading chrome-php/chrome (v0.6.0 => v0.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Downloading chrome-php/chrome (v0.10.0)
- Upgrading chrome-php/chrome (v0.6.0 => v0.10.0): Extracting archive
Generating autoload files
No security vulnerability advisories found
Using version ^0.10.0 for chrome-php/chrome
$ composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 7 updates, 0 removals
- Upgrading apix/log (1.2.1 => 1.2.2)
- Upgrading evenement/evenement (v3.0.1 => v3.0.2)
- Upgrading psr/log (1.1.0 => 1.1.4)
- Upgrading symfony/filesystem (v4.3.4 => v5.4.25)
- Upgrading symfony/polyfill-ctype (v1.12.0 => v1.28.0)
- Locking symfony/polyfill-mbstring (v1.28.0)
- Locking symfony/polyfill-php80 (v1.28.0)
- Upgrading symfony/process (v4.3.4 => v5.4.28)
- Upgrading wrench/wrench (v2.0.8 => v2.0.11)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 7 updates, 0 removals
- Downloading wrench/wrench (v2.0.11)
- Downloading symfony/polyfill-php80 (v1.28.0)
- Downloading symfony/process (v5.4.28)
- Downloading symfony/polyfill-mbstring (v1.28.0)
- Downloading symfony/polyfill-ctype (v1.28.0)
- Downloading symfony/filesystem (v5.4.25)
- Downloading psr/log (1.1.4)
- Downloading evenement/evenement (v3.0.2)
- Downloading apix/log (1.2.2)
- Upgrading wrench/wrench (v2.0.8 => v2.0.11): Extracting archive
- Installing symfony/polyfill-php80 (v1.28.0): Extracting archive
- Upgrading symfony/process (v4.3.4 => v5.4.28): Extracting archive
- Installing symfony/polyfill-mbstring (v1.28.0): Extracting archive
- Upgrading symfony/polyfill-ctype (v1.12.0 => v1.28.0): Extracting archive
- Upgrading symfony/filesystem (v4.3.4 => v5.4.25): Extracting archive
- Upgrading psr/log (1.1.0 => 1.1.4): Extracting archive
- Upgrading evenement/evenement (v3.0.1 => v3.0.2): Extracting archive
- Upgrading apix/log (1.2.1 => 1.2.2): Extracting archive
Generating autoload files
5 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
$ composer show chrome-php/chrome
name : chrome-php/chrome
descrip. : Instrument headless chrome/chromium instances
keywords : browser, chrome, chromium, crawl, headless, pdf, puppeteer, screenshot
versions : * v0.10.0
type : library
license : Fair License (Fair) (OSI approved) https://spdx.org/licenses/Fair.html#licenseText
homepage :
source : [git] https://github.com/chrome-php/headless-chromium-php.git e0566f9da60e0058e61246c9bce403e1407727eb
dist : [zip] https://api.github.com/repos/chrome-php/headless-chromium-php/zipball/e0566f9da60e0058e61246c9bce403e1407727eb e0566f9da60e0058e61246c9bce403e1407727eb
path : /var/www/html/w4c.work/php-demo.w4c.work/demo/screen-capture/headless-chromium-php/vendor/chrome-php/chrome
names : chrome-php/chrome
support
issues : https://github.com/chrome-php/headless-chromium-php/issues
source : https://github.com/chrome-php/headless-chromium-php/tree/v0.10.0
autoload
psr-4
HeadlessChromium\ => src/
requires
apix/log ^1.2
evenement/evenement ^3.0.1
php ^7.1.3 || ^8.0
psr/log ^1.0
symfony/filesystem ^3.3|^4.0|^5.0
symfony/process ^3.3|^4.0|^5.0
wrench/wrench ^2.0
requires (dev)
bamarni/composer-bin-plugin ^1.4.1
phpunit/phpunit ^7.5.20 || ^8.5.13 || ^9.5.0
symfony/var-dumper ^3.3|^4.0|^5.0