Skip to content

Commit

Permalink
Merge pull request #127 from palantirnet/php-8
Browse files Browse the repository at this point in the history
Use PHP 8
  • Loading branch information
becw authored Oct 20, 2022
2 parents 0278b55 + 708ae83 commit 4e25446
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
working_directory: ~/drupal-skeleton
docker:
- image: cimg/php:7.4-browsers
- image: cimg/php:8.1-browsers
- image: cimg/mysql:5.7
command: --max_allowed_packet=16M
environment:
Expand Down
2 changes: 1 addition & 1 deletion .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ webserver_type: apache-fpm
#mariadb_version: "10.3"

# TODO: Make sure this PHP version matches the project's hosting environment.
php_version: "7.4"
php_version: "8.1"

# Add any multisite subdomains to this array. Adding "example" will make this environment
# available at "example.ddev.site".
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You should have the development dependencies installed on your Mac before you be

The development dependencies are:

* PHP 7.4+
* PHP 8.1+
* Check your PHP version from the command line using `php --version`
* [XCode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12)
* [Composer](https://getcomposer.org/download/)
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "7.4"
"php": "8.1"
},
"preferred-install": {
"*": "dist"
Expand Down

0 comments on commit 4e25446

Please sign in to comment.