Codeception / Codeception/AspectMock
Does not install with Composer w/o warnings/errors (PHP 8)
- Ngôn ngữ chính
- PHP
- Star
- 784
- Fork
- 132
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
AspectMock 4.1.1 won't install cleanly under PHP 8 with Composer:
```
$ composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires codeception/aspect-mock 4.1.1 -> satisfiable by codeception/aspect-mock[4.1.1].
- codeception/aspect-mock 4.1.1 requires php ^7.4 -> your php version (8.1.2) does not satisfy that requirement.
```
The only way I can get it to install without errors is to use Composer's `--ignore-platform-reqs` option.
Although there are problems with `goaop/parser-reflection` under PHP 8 (see https://github.com/goaop/framework/issues/466), I believe AM itself will work without issue under the newer PHP versions (other than the problem I reported in #201).
I believe changing this `composer.json` line would be sufficient:
```
- "php": "^7.4",
+ "php": ">=7.4",
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Update the PHP requirement in composer.json as described in the issue. Run composer update under PHP 8.1.2 without --ignore-platform-reqs and verify that AspectMock installs without dependency errors or warnings.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- php
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 35/100