1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

default to php 8.1

This commit is contained in:
Robin Appelman 2023-02-03 15:57:25 +01:00
commit 113b720980
2 changed files with 2 additions and 7 deletions

View file

@ -204,12 +204,7 @@ async fn main() -> Result<()> {
cloud.destroy(&mut docker).await?; cloud.destroy(&mut docker).await?;
} }
HazeArgs::Fmt { path } => { HazeArgs::Fmt { path } => {
let cloud = Cloud::create( let cloud = Cloud::create(&mut docker, CloudOptions::default(), &config).await?;
&mut docker,
CloudOptions::default().with_php(PhpVersion::Php74),
&config,
)
.await?;
let mut out_buffer = Vec::<u8>::with_capacity(1024); let mut out_buffer = Vec::<u8>::with_capacity(1024);
println!("Waiting for servers to start"); println!("Waiting for servers to start");
cloud.wait_for_start(&mut docker).await?; cloud.wait_for_start(&mut docker).await?;

View file

@ -177,6 +177,6 @@ impl PhpVersion {
impl Default for PhpVersion { impl Default for PhpVersion {
fn default() -> Self { fn default() -> Self {
PhpVersion::Php74 PhpVersion::Php81
} }
} }