Skip to content

Commit

Permalink
Update required PHP version in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pelmered committed May 6, 2023
1 parent bb69520 commit a3d5239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Remove the `--dev` flag if you need it in production.
## Upgrade to 2.x from 1.x

### Breaking changes:
1. Now requires PHP 8.0+ (previously 7.3+)
1. Now requires PHP 8.1+ (previously 7.3+)
2. The provider name has changed from `Fakear` to `FakeCar`. This will cause problems if you are on a case-sensitive filesystem, but it is strongly recommended to change this even if you are not.
3. The methods `transliterate` and `checkDigit` on the `FakeCar` provider class are now no longer publicly available (Visibility changed to private).
4. The public methods `getRandomElementsFromArray` and `getWeighted` on the `FakeCar` provider class has been moved to a helper class. Access them like this: `\Faker\Provider\FakeCarHelper::getWeighted`
Expand Down

0 comments on commit a3d5239

Please sign in to comment.