msamgan / vscode-larapint

vscode extension for laravel pint
https://marketplace.visualstudio.com/items?itemName=msamgan.laravel-pint-vscode
MIT License
9 stars 2 forks source link

Php version used by extension #23

Open R00118189 opened 1 year ago

R00118189 commented 1 year ago

How can we change the php version used by this extension?

Something went wrong while running Laravel Pint Box Requirements 
Checker ======================== > Using PHP 7.3.11 > PHP is using the following php.ini file: 
WARNING: No configuration file (php.ini) used by PHP! > Checking Box requirements: 
E..... [ERROR] Your system is not ready to run the application. 
Fix the following mandatory requirements: 
========================================= 
* The application requires the version "^8.0" or greater.

When I check the terminal in vscode

php -v   
PHP 8.1.10 (cli) (built: Sep  4 2022 05:02:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.10, Copyright (c) Zend Technologies
with Zend OPcache v8.1.10, Copyright (c), by Zend Technologies

app works in browser as Laravel v9.48.0 (PHP v8.1.10)

msamgan commented 1 year ago

sorry for the delayed reply. what OS you are using ?

R00118189 commented 1 year ago

sorry for the delayed reply. what OS you are using ?

MacOS

msamgan commented 1 year ago

ill look into and will get back to you.