Re: PHP code validation

Milian Wolff <[email protected]> Tue, 13 Feb 2024 20:05:35 +0100
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <11092325.p67JugiZZQ@milian-workstation>
On Dienstag, 13. Februar 2024 11:31:20 CET Marc Serra wrote:
> Thank's Kåre,
> 
> I tested your idea and it works!
> 
> I created a file with this three lines for each project:
> 
> #!/bin/bash
> sshfs [email protected]:/path/ ~/dev/path/
> kate ~/dev/path/
> 
> Is this the best way to speed up the process of mount filesystem and open
> kate?
> 
> When I logout or shutdown my laptop, all mounts are unmounted automatically.

Since you are asking for "the best way": The recommended way is definitely to 
_not_ work directly on a remote machine, potentially even directly on the live 
website. Develop (and test) locally, ideally using a VCS and then deploy 
remotely eventually.

Another alternative, though I don't know about the current state of PHP 8.1 
language support: Use KDevelop and the kdev-php plugin. That will work even 
for SFTP projects (it used to in the past at least). It's still a really bad 
idea though.

-- 
Milian Wolff
[email protected]
http://milianw.de
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAmXLvX8ACgkQ8zYW/HGd
OX+1Og/+L9RFlvemMnzXsoQmM/7Kqb/QfyTLZVUTruWWqCk2SK/ugz+QPwhCx7DF
AhErcAxsgxJCFO7SBcHSMxatZ9G0XPIqGC2xmix/5+LXynDHszFtgkpJsB5Me/C6
JGgzDjUcJPiCtPGRA0Pe+9myB97q1drsTphOrNDn6q0Vy7RvX5BdKZxcPzmbHCt3
m7zQNMNEO3WBriRwHowSIOjcCiWxhZ8n3GtaDlpAhWg7OGq6hJr2OeCWwBeOShTJ
RXQEdGdLE7JM0j4TYJ+SkXoJg+KT2QvT0vj+7l0GDD/Q3J+vdeAGkgCLqKxrAaZS
iKQYKiylrQT2ulRRY6YhqiSo7Rn2ctl85DKTkS3GzdA1tV8fuAE2A+whxzN/lKrh
OkcLnS7OWxPRD/8q/iU6HwVmudN4W+GH/p760vwwS5O4xmr0Nx+b5TEE8gPXClI9
J6x4eR333zsvAq2DaKmbgaIsKrV+lgww88UfNASA2UO2A3VKAeP9fQnUy7qBV5yZ
yeZhFXbmeBOfhoMtpt4NauqUcvCYsL+VmWO/+U8rh87nmMK9H8klhfoJMG1Q+wPo
z292nkT5HAQ+vCDE7NtuJNa/kXKaplKn7ZiORNwX39E+Zc3Ce4AFnak6i6MhqTrz
HNti3pNZet0oYT8OECb6hqgooAtM9wBwezZ/JeP2Z4retsAXoZQ=
=kOg6
-----END PGP SIGNATURE-----