Skip to content

Commit 2817162

Browse files
committed
Include own version in boot up string
1 parent e3a7991 commit 2817162

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/server.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,8 @@ impl Backend {
11881188
self.log(
11891189
MessageType::INFO,
11901190
format!(
1191-
"PHPantom: PHP {}, {} symbols from {}, stubs {}",
1191+
"PHPantom v{}: PHP {}, {} symbols from {}, stubs {}",
1192+
self.version,
11921193
php_version,
11931194
symbol_count,
11941195
source_label,
@@ -1341,7 +1342,8 @@ impl Backend {
13411342
self.log(
13421343
MessageType::INFO,
13431344
format!(
1344-
"PHPantom: PHP {}, {} symbols from {} subprojects, stubs {}",
1345+
"PHPantom v{}: PHP {}, {} symbols from {} subprojects, stubs {}",
1346+
self.version,
13451347
php_version,
13461348
symbol_count,
13471349
subprojects.len(),
@@ -1388,7 +1390,8 @@ impl Backend {
13881390
self.log(
13891391
MessageType::INFO,
13901392
format!(
1391-
"PHPantom: PHP {}, {} symbols from workspace scan, stubs {}",
1393+
"PHPantom v{}: PHP {}, {} symbols from workspace scan, stubs {}",
1394+
self.version,
13921395
php_version,
13931396
symbol_count,
13941397
crate::stubs::STUBS_VERSION

0 commit comments

Comments
 (0)