Closed laurentmuller closed 6 months ago
PHAR Version: 3.5.0 PHP Version: 8.2.5
When I deploy my application to local, the FileServer class is used.
FileServer
The following exception is throw:
Error: Creation of dynamic property Deployment\FileServer::$filePermissions is deprecated in phar://deployment.phar/src/Deployment/CliRunner.php:2
Simply deploy to local with the following deploy file properties:
[symphony] remote = file://D:/local/production
No error must be raised.
Maybe we can update the FileServer class by adding the following attribute:
#[AllowDynamicProperties]
PHAR Version: 3.5.0 PHP Version: 8.2.5
Bug Description
When I deploy my application to local, the
FileServer
class is used.The following exception is throw:
Steps To Reproduce
Simply deploy to local with the following deploy file properties:
Expected Behavior
No error must be raised.
Possible Solution
Maybe we can update the
FileServer
class by adding the following attribute:#[AllowDynamicProperties]