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:
parent
58918942fe
commit
113b720980
2 changed files with 2 additions and 7 deletions
|
|
@ -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?;
|
||||||
|
|
|
||||||
|
|
@ -177,6 +177,6 @@ impl PhpVersion {
|
||||||
|
|
||||||
impl Default for PhpVersion {
|
impl Default for PhpVersion {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
PhpVersion::Php74
|
PhpVersion::Php81
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue