Skip to content

Commit

Permalink
Add PHP 8.2 and make it the default (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
MidnightDesign authored Dec 16, 2022
1 parent 1367368 commit 7d315f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers/php/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::nixpacks::{
use super::{node::NodeProvider, Provider};
use anyhow::Result;

const DEFAULT_PHP_VERSION: &str = "8.1";
const DEFAULT_PHP_VERSION: &str = "8.2";

pub struct PhpProvider;

Expand Down Expand Up @@ -144,6 +144,8 @@ impl PhpProvider {
"8.0".to_string()
} else if v.contains("8.1") {
"8.1".to_string()
} else if v.contains("8.2") {
"8.2".to_string()
} else if v.contains("7.4") {
"7.4".to_string()
} else {
Expand Down

0 comments on commit 7d315f9

Please sign in to comment.